Xiaomi wired wall switch not fully working after update to 0.1.4/0.1.5
Hi,
I'm having problems trying to control QBKG03LM after update. If I press the switch manually the status changes in Home Assistant as it should, it works fine. But if I try to toggle the switch in HA zigbee2mqtt gives me the following warning:
zigbee2mqtt:warn 2018-9-19 16:14:10 Cannot handle MQTT message with topic 'zigbee2mqtt/0x00158d00024598bd/left/set' and message 'ON'
It was working fine before. I also updated HA to 0.78.0, don't know if this update broke something.
All my other devices (sensors) are working fine.
Full log: https://pastebin.com/fbEbSmqQ
This is (high likely) due to https://github.com/Koenkk/zigbee2mqtt/commit/c22f8b36ba05e55749c4ee8dacf7a377b00f277c, will look into it, thanks for reporting.
Can you check if this has been fixed in https://github.com/Koenkk/zigbee2mqtt/tree/issue_387
Thank you for looking at this.
Tested and it looks like it's missing one parameter, which switch should be turned on:
zigbee2mqtt:info 2018-9-20 18:27:26 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - null
zigbee2mqtt:info 2018-9-20 18:27:26 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - null
zigbee2mqtt:error 2018-9-20 18:27:56 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - null failed with error Error: Timed out after 30000 ms
zigbee2mqtt:error 2018-9-20 18:27:56 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - null failed with error Error: Timed out after 30000 ms
Should be fixed now, can you update and try again?
Fixed! Thank you Koen!
zigbee2mqtt:info 2018-9-21 09:57:49 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - 2
Fixed in 0.1.6!
@Koenkk this fix not include in dev branch, please merge it