zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Xiaomi wired wall switch not fully working after update to 0.1.4/0.1.5

Open Robertops opened this issue 8 years ago • 7 comments

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

Robertops avatar Sep 19 '18 19:09 Robertops

This is (high likely) due to https://github.com/Koenkk/zigbee2mqtt/commit/c22f8b36ba05e55749c4ee8dacf7a377b00f277c, will look into it, thanks for reporting.

Koenkk avatar Sep 20 '18 07:09 Koenkk

Can you check if this has been fixed in https://github.com/Koenkk/zigbee2mqtt/tree/issue_387

Koenkk avatar Sep 20 '18 14:09 Koenkk

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

Robertops avatar Sep 20 '18 21:09 Robertops

Should be fixed now, can you update and try again?

Koenkk avatar Sep 21 '18 09:09 Koenkk

Fixed! Thank you Koen!

zigbee2mqtt:info 2018-9-21 09:57:49 Zigbee publish to '0x00158d00024598bd', genOnOff - on - {} - 2

Robertops avatar Sep 21 '18 13:09 Robertops

Fixed in 0.1.6!

Koenkk avatar Sep 23 '18 09:09 Koenkk

@Koenkk this fix not include in dev branch, please merge it

dzungpv avatar Sep 24 '18 03:09 dzungpv