zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

all WXKG01LM switch malfunctions after update

Open ChankyTheConqueror opened this issue 5 years ago • 1 comments

Bug Report

What happened

i updated to the latest zigbee2mqtt and all my WXKG01LM behave unexpectedly.

When pressing the switch once, "hold" instead of "single click" is send

Zigbee2MQTT:debug 2021-09-09 21:34:35: Received Zigbee message from 'zBedSwitchParents1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0 zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,5,69,196,209,245,1,45,52,184] +5ms zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 5 - 2 - 5 - 196 - [209,245,1,45,52] - 184 +0ms zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":62929,"relaycount":1,"relaylist":[13357]} +5ms zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +1ms Zigbee2MQTT:info 2021-09-09 21:34:35: MQTT publish: topic 'zigbee2mqtt/zBedSwitchParents1', payload '{"battery":100,"last_seen":1631216075180,"linkquality":48,"voltage":3042}' Zigbee2MQTT:info 2021-09-09 21:34:37: MQTT publish: topic 'zigbee2mqtt/zBedSwitchParents1', payload '{"action":"hold","battery":100,"last_seen":1631216075180,"linkquality":48,"voltage":3042}'

What did you expect to happen

I expect "single click" is send since the zigbee message comes instantly

I have set hold_timeout to 2000ms and from the log you can see that the hold payload is send exactly after 2000ms automatically. The question here why do we timeout even though a message was received instantly.

How to reproduce it (minimal and precise)

press the switch once

Debug Info

Zigbee2MQTT version 1.21.1-dev commit: cadcdc35 Coordinator type zStack3x0 Coordinator revision 20210120

Any help will be highly appreciated.

Thanks and best regards!

ChankyTheConqueror avatar Sep 09 '21 19:09 ChankyTheConqueror

my issue is related to https://github.com/Koenkk/zigbee2mqtt/issues/8663 i updated my kernel to 5.10.63 and now everything is working again.

ChankyTheConqueror avatar Sep 09 '21 20:09 ChankyTheConqueror