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

Are the devices "qmi.powerstrip.v1" and "yeelink.light.lamp1" supported #873

Closed
uswong opened this issue Nov 11, 2022 · 9 comments · Fixed by #875
Closed

Are the devices "qmi.powerstrip.v1" and "yeelink.light.lamp1" supported #873

uswong opened this issue Nov 11, 2022 · 9 comments · Fixed by #875

Comments

@uswong
Copy link
Contributor

uswong commented Nov 11, 2022

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.
image

Any help is much appreciated.

@al-one
Copy link
Owner

al-one commented Nov 11, 2022

Show me the logs.

@uswong
Copy link
Contributor Author

uswong commented Nov 11, 2022

Here is the log for the light:

Full logs
2022-11-11 11:15:08.424 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
2022-11-11 11:15:54.679 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
2022-11-11 11:16:32.366 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
2022-11-11 11:16:48.630 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
2022-11-11 11:17:34.731 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
2022-11-11 11:43:43.984 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
2022-11-11 11:44:00.237 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
2022-11-11 11:44:30.096 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
2022-11-11 11:45:00.097 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
2022-11-11 11:45:30.130 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
2022-11-11 11:46:00.246 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
2022-11-11 11:46:30.148 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
2022-11-11 11:47:00.247 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
2022-11-11 11:47:30.129 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
2022-11-11 11:48:00.238 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
2022-11-11 11:48:30.140 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
2022-11-11 11:49:00.249 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
2022-11-11 11:49:30.139 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
2022-11-11 11:50:00.259 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
2022-11-11 11:50:30.149 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
2022-11-11 11:51:00.251 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
2022-11-11 11:51:30.150 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
2022-11-11 11:52:00.263 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
2022-11-11 11:52:30.155 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
2022-11-11 11:53:00.241 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
2022-11-11 11:53:30.155 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
2022-11-11 11:54:00.242 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
2022-11-11 11:54:30.176 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
2022-11-11 11:55:00.241 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
2022-11-11 11:55:30.156 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
2022-11-11 11:56:00.253 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
2022-11-11 11:56:30.167 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
2022-11-11 11:57:00.263 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
2022-11-11 11:57:30.168 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
2022-11-11 11:58:00.264 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
2022-11-11 11:58:30.159 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
2022-11-11 11:59:00.254 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
2022-11-11 11:59:30.178 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
2022-11-11 12:00:00.266 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
2022-11-11 12:00:30.213 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
2022-11-11 12:01:00.267 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
2022-11-11 12:01:30.166 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
2022-11-11 12:02:00.257 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
2022-11-11 12:02:30.167 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
2022-11-11 12:03:00.257 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
2022-11-11 12:03:30.178 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
2022-11-11 12:04:00.269 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
2022-11-11 12:04:30.168 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
2022-11-11 12:05:00.269 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
2022-11-11 12:05:30.189 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
2022-11-11 12:06:00.261 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
2022-11-11 12:06:30.174 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
2022-11-11 12:07: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
2022-11-11 12:07:30.195 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
2022-11-11 12:08:00.262 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
2022-11-11 12:08:30.171 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
2022-11-11 12:09:00.260 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
2022-11-11 12:09:30.181 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
2022-11-11 12:10:00.251 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
2022-11-11 12:10:30.216 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
2022-11-11 12:11:00.304 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
2022-11-11 12:11:30.174 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
2022-11-11 12:12:00.277 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
2022-11-11 12:12:30.188 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
2022-11-11 12:13:00.255 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
2022-11-11 12:13:30.186 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
2022-11-11 12:14:00.285 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
2022-11-11 12:14:30.195 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
2022-11-11 12:15:00.255 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
2022-11-11 12:15:30.199 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
2022-11-11 12:16:00.268 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
2022-11-11 12:16:30.199 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
2022-11-11 12:17:00.270 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
2022-11-11 12:17:30.191 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
2022-11-11 12:18:00.268 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
2022-11-11 12:18:30.177 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
2022-11-11 12:19:00.281 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
2022-11-11 12:19:30.205 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

@al-one
Copy link
Owner

al-one commented Nov 11, 2022

Try rebind they in MiHome APP.

@uswong
Copy link
Contributor Author

uswong commented Nov 11, 2022

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

@al-one
Copy link
Owner

al-one commented Nov 11, 2022

miiocli -d device --ip xxx.xxx.xxx.xxx --token xxxxxxxxxx info

Use this shell command to test the device.

@uswong
Copy link
Contributor Author

uswong commented Nov 11, 2022

This is the result. It seems it detected the device, but it is still greyed out in HA.

INFO:miio.cli:Debug mode active
DEBUG:miio.click_common:Unknown model, trying autodetection. None None
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x03\xe9\x83\x82\x00\x00\x8a\x04' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('03e98382')
ts = 1970-01-01 09:48:52
offset1 = 0
offset2 = 16
length = 16
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
DEBUG:miio.miioprotocol:Discovered 03e98382 with ts: 1970-01-01 09:48:52, token: b'ffffffffffffffffffffffffffffffff'
DEBUG:miio.miioprotocol:192.168.0.43:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
DEBUG:miio.miioprotocol:192.168.0.43:54321 (ts: 1970-01-01 09:48:52, id: 1) << {'id': 1, 'result': {'life': 35332, 'uid': 1778812037, 'model': 'yeelink.light.lamp1', 'token': '764406b6395cf1753bb09d47b868795b', 'fw_ver': '2.0.4_0066', 'miio_ver': '0.0.6', 'hw_ver': 'esp8266', 'mmfree': 15072, 'mac': '78:11:DC:0C:32:FD', 'wifi_fw_ver': 'f5a8a5b-dirty', 'ap': {'ssid': 'snowy', 'bssid': '38:D5:47:1D:6D:00', 'rssi': -49, 'primary': 9}, 'netif': {'localIp': '192.168.0.43', 'mask': '255.255.255.0', 'gw': '192.168.0.1'}}}
DEBUG:miio.device:Detected model yeelink.light.lamp1
Model: yeelink.light.lamp1
Hardware version: esp8266
Firmware version: 2.0.4_0066

@uswong
Copy link
Contributor Author

uswong commented Nov 11, 2022

Same for the device "qmi.powerstrip.v1". The device was detected but still greyed out in HA.

image

INFO:miio.cli:Debug mode active
DEBUG:miio.click_common:Unknown model, trying autodetection. None None
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x04\xb8\\x88\x00\x00\x00/' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('04b85c88')
ts = 1970-01-01 00:00:47
offset1 = 0
offset2 = 16
length = 16
checksum = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' (total 16)
DEBUG:miio.miioprotocol:Discovered 04b85c88 with ts: 1970-01-01 00:00:47, token: b'00000000000000000000000000000000'
DEBUG:miio.miioprotocol:192.168.0.26:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
DEBUG:miio.miioprotocol:192.168.0.26:54321 (ts: 1970-01-01 00:00:47, id: 1) << {'result': {'life': 47, 'cfg_time': 0, 'token': 'cfdc1248c59d0c6d5d2d88960e7615ff', 'mac': '78:11:DC:C5:28:C0', 'fw_ver': '3.4.2_82', 'ot_ver': '1.2.9', 'hw_ver': 'RTL8711AF', 'uid': 1778812037, 'model': 'qmi.powerstrip.v1', 'ap': {'rssi': -63, 'ssid': 'snowy', 'bssid': '10:D7:B0:8D:B5:7B'}, 'netif': {'localIp': '192.168.0.26', 'mask': '255.255.255.0', 'gw': '192.168.0.1'}, 'mmfree': 25424, 'ot': 'otu', 'otu_stat': [251, 223, 5, 0, 5, 25], 'ott_stat': [0, 0, 0, 0]}, 'id': 1}
DEBUG:miio.device:Detected model qmi.powerstrip.v1
Model: qmi.powerstrip.v1
Hardware version: RTL8711AF
Firmware version: 3.4.2_82

@uswong
Copy link
Contributor Author

uswong commented Nov 12, 2022

Hey, I have some success on "yeelink.light.lamp1" :)

I added the following lines to miio2miot_specs.py and it worked!

'yeelink.light.lamp1': {
    'miio_specs': {
        'prop.2.1': {'prop': 'power', 'setter': True, 'format': 'onoff'},
        'prop.2.2': {'prop': 'bright', 'setter': True},
        'prop.2.3': {'prop': 'ct', 'setter': 'set_ct_abx', 'set_template': '{{ [value,"smooth",500] }}'},
        'prop.2.4': {'prop': 'color_mode'},
    },
},

Now, I have an active device on HA and all functions worked.

image

image

@uswong
Copy link
Contributor Author

uswong commented Nov 12, 2022

And I added the following lines in miio2miot_specs.py to make the device "qmi.powerstrip.v1" working!

'qmi.powerstrip.v1': {
    'miio_specs': {
        'prop.2.1': {'prop': 'power', 'setter': True, 'format': 'onoff'},
    },

I will do a PR for the two devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants