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
Are the devices "qmi.powerstrip.v1" and "yeelink.light.lamp1" supported #873
Comments
Show me the logs. |
Here is the log for the light: Full logs |
Try rebind they in MiHome APP. |
I have double checked the ip address and subnet and they are all correct. I powered off and on the device also. The latest error is similar to before: 2022-11-11 12:43:54.182 WARNING (MainThread) [homeassistant.helpers.entity] Update of light.yeelight_lamp1_32fd_light is taking over 10 seconds 2022-11-11 12:44:00.284 ERROR (MainThread) [custom_components.xiaomi_miot.light] Bed 4 Desk lamp(yeelink.light.lamp1): Got MiioException while fetching the state: Unable to recover failed command, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.mode': {'siid': 2, 'piid': 4}, 'adjust_brightness-3-1': {'siid': 3, 'piid': 1}, 'light_extension.ct_delta': {'siid': 3, 'piid': 2}, 'light_extension.ct_adjust_alexa': {'siid': 3, 'piid': 3}}, max_properties: 9/7 |
miiocli -d device --ip xxx.xxx.xxx.xxx --token xxxxxxxxxx info Use this shell command to test the device. |
This is the result. It seems it detected the device, but it is still greyed out in HA. INFO:miio.cli:Debug mode active |
Same for the device "qmi.powerstrip.v1". The device was detected but still greyed out in HA. INFO:miio.cli:Debug mode active |
Hey, I have some success on "yeelink.light.lamp1" :) I added the following lines to miio2miot_specs.py and it worked!
Now, I have an active device on HA and all functions worked. |
And I added the following lines in miio2miot_specs.py to make the device "qmi.powerstrip.v1" working!
I will do a PR for the two devices. |
I have many xiaomi devices and able to integrate to HA successfully with this plugin except for "qmi.powerstrip.v1" and "yeelink.light.lamp1". They are both listed as supported devices, but I could not get them working.
I have configured the yaml with my xiaomi cloud's username and password.
They all seem to integrate successfully but not available with the device greyed out.
Any help is much appreciated.
The text was updated successfully, but these errors were encountered: