local devices not working after v0.4.8
See original GitHub issueI had two devices that I had set to miot_local: true
that were working in v0.4.7 but stopped working after upgrading to v0.4.8 and later
The devices were able to respond to action using local, but did not have correct state. However, that was fine for me since I only needed it to open or close with automation. However, after v0.4.8, the open and close action of the cover stopped working, too.
2021-12-14 14:58:49 DEBUG (MainThread) [custom_components.xiaomi_miot.cover] Blinds Curtain: Got new state: {'curtain.fault.error': '-704083036 Device operation timeout', 'curtain.motor_control.error': '-704030013 Property is not readable', 'curtain.status': 1, 'curtain.mode': 0, 'curtain.current_position': 0, 'curtain.target_position': 0, 'curtain.motor_reverse': 0, 'state_updater': 'cloud'}
2021-12-14 14:58:56 ERROR (MainThread) [custom_components.xiaomi_miot.cover] Blinds Curtain: Got MiioException while fetching the state: Unable to parse message payload, mapping: {'curtain.fault': {'siid': 2, 'piid': 1}, 'curtain.motor_control': {'siid': 2, 'piid': 2}, 'curtain.status': {'siid': 2, 'piid': 4}, 'curtain.mode': {'siid': 2, 'piid': 5}, 'curtain.current_position': {'siid': 2, 'piid': 6}, 'curtain.target_position': {'siid': 2, 'piid': 7}, 'curtain.motor_reverse': {'siid': 2, 'piid': 8}}, max_properties: 10
2021-12-14 14:59:00 ERROR (MainThread) [custom_components.xiaomi_miot.cover] MI Smart·Electric Airer Airer: Got MiioException while fetching the state: {'code': -9999, 'message': 'user ack timeout'}, mapping: {'airer.fault': {'siid': 2, 'piid': 1}, 'airer.motor_control': {'siid': 2, 'piid': 2}, 'airer.on': {'siid': 2, 'piid': 3}, 'airer.current_position': {'siid': 2, 'piid': 7}, 'airer.dryer': {'siid': 2, 'piid': 8}, 'airer.uv': {'siid': 2, 'piid': 11}, 'airer-2.dryer': {'siid': 2, 'piid': 12}, 'airer.status': {'siid': 2, 'piid': 13}, 'light.on': {'siid': 3, 'piid': 1}}, max_properties: 10
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
@al-one thanks for a clue ! masquerade did the trick smooth 😃
@heyjared Maybe you can try to rebind this blinds in Mihome APP.