Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi Smart Plug (chuangmi.plug.212a01) need siid #84

Closed
a1ekseev opened this issue May 14, 2021 · 2 comments
Closed

Xiaomi Smart Plug (chuangmi.plug.212a01) need siid #84

a1ekseev opened this issue May 14, 2021 · 2 comments
Labels
bug Something isn't working device: switch fixed bug fixed

Comments

@a1ekseev
Copy link

After plugging the socket into HASS, errors are logged:

[custom_components.xiaomi_miot] Got MiioException while fetching the state for Power Plug Switch: {'code': -32602, 'message': 'need siid'}

It works through the cloud, I wanted it to work locally...

siid's can be found here - rytilahti/python-miio#844

@al-one
Copy link
Owner

al-one commented May 22, 2021

Maybe you can try to add custom attributes:

# customize.yaml
switch.your_entity_id:
  chunk_properties: 7

⚙️ Configuration > 🖌 Customize > 🔍 Select Entity > Add Other Attribute

@al-one
Copy link
Owner

al-one commented May 22, 2021

The device can query 10 attributes at a time in LAN. This component defaults to 12, and the device has 14 properties. Therefore, you need to add a custom attribute chunk_properties to be used normally.
And upgrade to 87f75b2

@al-one al-one added fixed bug fixed bug Something isn't working labels May 22, 2021
@al-one al-one closed this as completed May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device: switch fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants