Aqara switches QBKG11LM and QBKG12LM lost action hold
What happened?
With some update of zigbee2mqtt my switches QBKG11LM and QBKG12LM lost hold action. Now when I hold the switch, it reports it as single (the same as short press). I am 100% sure the hold action worked in some previous version of z2m.
Looking into zigbee-herdsman-converters it should support theese actions: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/lumi.ts#L1032 https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/lumi.ts#L1109-L1120
right?
my z2m versions:
Zigbee2MQTT version
2.0.0 commit: unknown
Coordinator type
zStack3x0
Coordinator revision
20240315
Coordinator IEEE Address
0x00124b00257c8f10
Frontend version
0.9.4
zigbee-herdsman-converters version
21.12.0
zigbee-herdsman version
3.2.1
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.0.0
Adapter firmware version
20240315
Adapter
SLZB-06
Setup
Add-on on haos, proxmox VM
Debug log
No response
Before updating to 2.0.0 I was running 1.35.x and the problem was present there as well.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
updated z2m, issue still present, hold action still not reported
Zigbee2MQTT version 2.1.3 commit: unknown Coordinator type zStack3x0 Coordinator revision 20240315
got wireless version of the switch WXKG03LM_rev2 and it reports hold action properly
physical hold is reported as single:
info 2025-03-19 19:43:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"action":"single","consumption":24.21842384338379,"device_temperature":26,"energy":24.22,"last_seen":"2025-03-19T19:43:18+01:00","linkquality":18,"operation_mode":"decoupled","power":21.04,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
info 2025-03-19 19:43:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice/action', payload 'single'
@Koenkk do you need other logs to debug the issue?
Could you provide the debug log when triggering a hold action?
See this on how to enable debug logging.
QBKG11LM hold (reported wrong as single):
[2025-03-21 08:11:13] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,126,135,5,1,0,105,0,109,167,194,0,0,8,24,72,10,85,0,33,1,0,126,135,29,148]
[2025-03-21 08:11:13] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,126,135,5,1,0,105,0,109,167,194,0,0,8,24,72,10,85,0,33,1,0,126,135,29,148]
[2025-03-21 08:11:13] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,126,135,5,1,0,105,0,109,167,194,0,0,8,24,72,10,85,0,33,1,0,126,135,29] - 148
[2025-03-21 08:11:13] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":34686,"srcendpoint":5,"dstendpoint":1,"wasbroadcast":0,"linkquality":105,"securityuse":0,"timestamp":12756845,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,72,10,85,0,33,1,0]}}
[2025-03-21 08:11:13] debug: zh:controller: Received payload: clusterID=18, address=34686, groupID=0, endpoint=5, destinationEndpoint=1, wasBroadcast=false, linkQuality=105, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":72,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:11:13] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:11:13] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
[2025-03-21 08:11:13] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"action":"single","consumption":24.24286460876465,"device_temperature":26,"energy":24.24,"last_seen":"2025-03-21T08:11:13+01:00","linkquality":105,"operation_mode":"decoupled","power":22.1,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:11:13] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice/action', payload 'single'
QBKG11LM single (reported properly, just for reference):
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: <-- [254,3,69,196,126,135,0,123]
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --- parseNext [254,3,69,196,126,135,0,123]
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --> parsed 3 - 2 - 5 - 196 - [126,135,0] - 123
[2025-03-21 08:15:46] debug: zh:zstack:znp: <-- AREQ: ZDO - srcRtgInd
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,126,135,5,1,0,138,0,218,249,214,0,0,8,24,77,10,85,0,33,1,0,126,135,29,143]
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,126,135,5,1,0,138,0,218,249,214,0,0,8,24,77,10,85,0,33,1,0,126,135,29,143]
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,126,135,5,1,0,138,0,218,249,214,0,0,8,24,77,10,85,0,33,1,0,126,135,29] - 143
[2025-03-21 08:15:46] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":34686,"srcendpoint":5,"dstendpoint":1,"wasbroadcast":0,"linkquality":138,"securityuse":0,"timestamp":14088666,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,77,10,85,0,33,1,0]}}
[2025-03-21 08:15:46] debug: zh:controller: Received payload: clusterID=18, address=34686, groupID=0, endpoint=5, destinationEndpoint=1, wasBroadcast=false, linkQuality=138, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":77,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:15:46] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:15:46] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
[2025-03-21 08:15:46] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"action":"single","consumption":24.24407196044922,"device_temperature":26,"energy":24.24,"last_seen":"2025-03-21T08:15:46+01:00","linkquality":138,"operation_mode":"decoupled","power":22.1,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:15:46] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice/action', payload 'single'
QBKG12LM hold left (reported wrong as single left)
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,4,199,5,1,0,116,0,183,80,215,0,0,8,24,24,10,85,0,33,1,0,4,199,29,225]
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,4,199,5,1,0,116,0,183,80,215,0,0,8,24,24,10,85,0,33,1,0,4,199,29,225]
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,4,199,5,1,0,116,0,183,80,215,0,0,8,24,24,10,85,0,33,1,0,4,199,29] - 225
[2025-03-21 08:19:58] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":50948,"srcendpoint":5,"dstendpoint":1,"wasbroadcast":0,"linkquality":116,"securityuse":0,"timestamp":14110903,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,24,10,85,0,33,1,0]}}
[2025-03-21 08:19:58] debug: zh:controller: Received payload: clusterID=18, address=50948, groupID=0, endpoint=5, destinationEndpoint=1, wasBroadcast=false, linkQuality=116, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":24,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:19:58] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
[2025-03-21 08:19:58] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"action":"single_left","consumption":179.6724395751953,"device_temperature":27,"energy":179.67,"last_seen":"2025-03-21T08:19:58+01:00","linkquality":116,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":1.56,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:19:58] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)/action', payload 'single_left'
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: <-- [254,30,68,129,0,0,12,0,4,199,3,1,0,105,0,81,159,215,0,0,10,24,25,10,85,0,57,20,174,99,65,4,199,29,77]
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --- parseNext [254,30,68,129,0,0,12,0,4,199,3,1,0,105,0,81,159,215,0,0,10,24,25,10,85,0,57,20,174,99,65,4,199,29,77]
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --> parsed 30 - 2 - 4 - 129 - [0,0,12,0,4,199,3,1,0,105,0,81,159,215,0,0,10,24,25,10,85,0,57,20,174,99,65,4,199,29] - 77
[2025-03-21 08:19:58] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":12,"srcaddr":50948,"srcendpoint":3,"dstendpoint":1,"wasbroadcast":0,"linkquality":105,"securityuse":0,"timestamp":14131025,"transseqnumber":0,"len":10,"data":{"type":"Buffer","data":[24,25,10,85,0,57,20,174,99,65]}}
[2025-03-21 08:19:58] debug: zh:controller: Received payload: clusterID=12, address=50948, groupID=0, endpoint=3, destinationEndpoint=1, wasBroadcast=false, linkQuality=105, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":25,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":57,"attrData":14.229999542236328}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:19:58] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:19:58] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":14.229999542236328}' from endpoint 3 with groupID 0
[2025-03-21 08:19:58] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"consumption":179.6724395751953,"device_temperature":27,"energy":179.67,"last_seen":"2025-03-21T08:19:58+01:00","linkquality":105,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":14.23,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
QBKG12LM hold right (reported wrong as single right)
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: <-- [254,30,68,129,0,0,12,0,4,199,3,1,0,153,0,150,84,94,0,0,10,24,28,10,85,0,57,184,30,197,63,4,199,29,249]
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --- parseNext [254,30,68,129,0,0,12,0,4,199,3,1,0,153,0,150,84,94,0,0,10,24,28,10,85,0,57,184,30,197,63,4,199,29,249]
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --> parsed 30 - 2 - 4 - 129 - [0,0,12,0,4,199,3,1,0,153,0,150,84,94,0,0,10,24,28,10,85,0,57,184,30,197,63,4,199,29] - 249
[2025-03-21 08:22:03] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":12,"srcaddr":50948,"srcendpoint":3,"dstendpoint":1,"wasbroadcast":0,"linkquality":153,"securityuse":0,"timestamp":6182038,"transseqnumber":0,"len":10,"data":{"type":"Buffer","data":[24,28,10,85,0,57,184,30,197,63]}}
[2025-03-21 08:22:03] debug: zh:controller: Received payload: clusterID=12, address=50948, groupID=0, endpoint=3, destinationEndpoint=1, wasBroadcast=false, linkQuality=153, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":28,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":57,"attrData":1.5399999618530273}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:22:03] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":1.5399999618530273}' from endpoint 3 with groupID 0
[2025-03-21 08:22:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"consumption":179.6724395751953,"device_temperature":27,"energy":179.67,"last_seen":"2025-03-21T08:22:03+01:00","linkquality":153,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":1.54,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,4,199,6,1,0,149,0,232,92,94,0,0,8,24,29,10,85,0,33,1,0,4,199,29,220]
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,4,199,6,1,0,149,0,232,92,94,0,0,8,24,29,10,85,0,33,1,0,4,199,29,220]
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,4,199,6,1,0,149,0,232,92,94,0,0,8,24,29,10,85,0,33,1,0,4,199,29] - 220
[2025-03-21 08:22:03] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":50948,"srcendpoint":6,"dstendpoint":1,"wasbroadcast":0,"linkquality":149,"securityuse":0,"timestamp":6184168,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,29,10,85,0,33,1,0]}}
[2025-03-21 08:22:03] debug: zh:controller: Received payload: clusterID=18, address=50948, groupID=0, endpoint=6, destinationEndpoint=1, wasBroadcast=false, linkQuality=149, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":29,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:22:03] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:22:03] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 6 with groupID 0
[2025-03-21 08:22:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"action":"single_right","consumption":179.6724395751953,"device_temperature":27,"energy":179.67,"last_seen":"2025-03-21T08:22:03+01:00","linkquality":149,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":1.54,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:22:03] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)/action', payload 'single_right'
QBKG12LM single left (reported properly, just for reference)
[2025-03-21 08:23:08] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,4,199,5,1,0,134,0,239,168,156,0,0,8,24,36,10,85,0,33,1,0,4,199,29,196]
[2025-03-21 08:23:08] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,4,199,5,1,0,134,0,239,168,156,0,0,8,24,36,10,85,0,33,1,0,4,199,29,196]
[2025-03-21 08:23:08] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,4,199,5,1,0,134,0,239,168,156,0,0,8,24,36,10,85,0,33,1,0,4,199,29] - 196
[2025-03-21 08:23:08] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":50948,"srcendpoint":5,"dstendpoint":1,"wasbroadcast":0,"linkquality":134,"securityuse":0,"timestamp":10266863,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,36,10,85,0,33,1,0]}}
[2025-03-21 08:23:08] debug: zh:controller: Received payload: clusterID=18, address=50948, groupID=0, endpoint=5, destinationEndpoint=1, wasBroadcast=false, linkQuality=134, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":36,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:23:08] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:23:08] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
[2025-03-21 08:23:08] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"action":"single_left","consumption":179.67320251464844,"device_temperature":26,"energy":179.67,"last_seen":"2025-03-21T08:23:08+01:00","linkquality":134,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":23.04,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:23:08] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)/action', payload 'single_left'
[2025-03-21 08:23:09] debug: zh:zstack:unpi:parser: <-- [254,30,68,129,0,0,12,0,4,199,3,1,0,131,0,44,221,157,0,0,10,24,37,10,85,0,57,195,245,136,64,4,199,29,136]
[2025-03-21 08:23:09] debug: zh:zstack:unpi:parser: --- parseNext [254,30,68,129,0,0,12,0,4,199,3,1,0,131,0,44,221,157,0,0,10,24,37,10,85,0,57,195,245,136,64,4,199,29,136]
[2025-03-21 08:23:09] debug: zh:zstack:unpi:parser: --> parsed 30 - 2 - 4 - 129 - [0,0,12,0,4,199,3,1,0,131,0,44,221,157,0,0,10,24,37,10,85,0,57,195,245,136,64,4,199,29] - 136
[2025-03-21 08:23:09] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":12,"srcaddr":50948,"srcendpoint":3,"dstendpoint":1,"wasbroadcast":0,"linkquality":131,"securityuse":0,"timestamp":10345772,"transseqnumber":0,"len":10,"data":{"type":"Buffer","data":[24,37,10,85,0,57,195,245,136,64]}}
[2025-03-21 08:23:09] debug: zh:controller: Received payload: clusterID=12, address=50948, groupID=0, endpoint=3, destinationEndpoint=1, wasBroadcast=false, linkQuality=131, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":37,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":57,"attrData":4.28000020980835}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:23:09] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:23:09] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":4.28000020980835}' from endpoint 3 with groupID 0
[2025-03-21 08:23:09] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"consumption":179.67320251464844,"device_temperature":26,"energy":179.67,"last_seen":"2025-03-21T08:23:09+01:00","linkquality":131,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":4.28,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
QBKG12LM single right (reported properly, just for reference)
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,4,199,6,1,0,156,0,81,77,159,0,0,8,24,38,10,85,0,33,1,0,4,199,29,135]
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,4,199,6,1,0,156,0,81,77,159,0,0,8,24,38,10,85,0,33,1,0,4,199,29,135]
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,4,199,6,1,0,156,0,81,77,159,0,0,8,24,38,10,85,0,33,1,0,4,199,29] - 135
[2025-03-21 08:23:11] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":50948,"srcendpoint":6,"dstendpoint":1,"wasbroadcast":0,"linkquality":156,"securityuse":0,"timestamp":10440017,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,38,10,85,0,33,1,0]}}
[2025-03-21 08:23:11] debug: zh:controller: Received payload: clusterID=18, address=50948, groupID=0, endpoint=6, destinationEndpoint=1, wasBroadcast=false, linkQuality=156, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":38,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:23:11] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 6 with groupID 0
[2025-03-21 08:23:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"action":"single_right","consumption":179.67320251464844,"device_temperature":26,"energy":179.67,"last_seen":"2025-03-21T08:23:11+01:00","linkquality":156,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":4.28,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:23:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)/action', payload 'single_right'
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: <-- [254,30,68,129,0,0,12,0,4,199,3,1,0,127,0,151,1,160,0,0,10,24,39,10,85,0,57,236,81,33,66,4,199,29,12]
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --- parseNext [254,30,68,129,0,0,12,0,4,199,3,1,0,127,0,151,1,160,0,0,10,24,39,10,85,0,57,236,81,33,66,4,199,29,12]
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --> parsed 30 - 2 - 4 - 129 - [0,0,12,0,4,199,3,1,0,127,0,151,1,160,0,0,10,24,39,10,85,0,57,236,81,33,66,4,199,29] - 12
[2025-03-21 08:23:11] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":12,"srcaddr":50948,"srcendpoint":3,"dstendpoint":1,"wasbroadcast":0,"linkquality":127,"securityuse":0,"timestamp":10486167,"transseqnumber":0,"len":10,"data":{"type":"Buffer","data":[24,39,10,85,0,57,236,81,33,66]}}
[2025-03-21 08:23:11] debug: zh:controller: Received payload: clusterID=12, address=50948, groupID=0, endpoint=3, destinationEndpoint=1, wasBroadcast=false, linkQuality=127, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":39,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":57,"attrData":40.33000183105469}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:23:11] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:23:11] debug: z2m: Received Zigbee message from 'VYP obývák vlevo (řídící)', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":40.33000183105469}' from endpoint 3 with groupID 0
[2025-03-21 08:23:11] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP obývák vlevo (řídící)', payload '{"consumption":179.67320251464844,"device_temperature":26,"energy":179.67,"last_seen":"2025-03-21T08:23:11+01:00","linkquality":127,"operation_mode_left":"decoupled","operation_mode_right":"decoupled","power":40.33,"power_outage_count":53756,"state_left":"ON","state_right":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
QBKG11LM when hold much longer seems to report unknown key 65520
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: <-- [254,3,69,196,126,135,0,123]
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --- parseNext [254,3,69,196,126,135,0,123]
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --> parsed 3 - 2 - 5 - 196 - [126,135,0] - 123
[2025-03-21 08:31:01] debug: zh:zstack:znp: <-- AREQ: ZDO - srcRtgInd
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: <-- [254,28,68,129,0,0,18,0,126,135,5,1,0,102,0,40,33,128,0,0,8,24,84,10,85,0,33,1,0,126,135,29,6]
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --- parseNext [254,28,68,129,0,0,18,0,126,135,5,1,0,102,0,40,33,128,0,0,8,24,84,10,85,0,33,1,0,126,135,29,6]
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --> parsed 28 - 2 - 4 - 129 - [0,0,18,0,126,135,5,1,0,102,0,40,33,128,0,0,8,24,84,10,85,0,33,1,0,126,135,29] - 6
[2025-03-21 08:31:01] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":18,"srcaddr":34686,"srcendpoint":5,"dstendpoint":1,"wasbroadcast":0,"linkquality":102,"securityuse":0,"timestamp":8397096,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,84,10,85,0,33,1,0]}}
[2025-03-21 08:31:01] debug: zh:controller: Received payload: clusterID=18, address=34686, groupID=0, endpoint=5, destinationEndpoint=1, wasBroadcast=false, linkQuality=102, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":84,"commandIdentifier":10},"payload":[{"attrId":85,"dataType":33,"attrData":1}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:31:01] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:31:01] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
[2025-03-21 08:31:01] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"action":"single","consumption":24.249073028564453,"device_temperature":26,"energy":24.25,"last_seen":"2025-03-21T08:31:01+01:00","linkquality":102,"operation_mode":"decoupled","power":22.1,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:31:01] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice/action', payload 'single'
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: <-- [254,38,68,129,0,0,0,0,126,135,1,1,0,83,0,25,88,130,0,0,18,28,95,17,85,10,240,255,65,9,170,16,5,65,135,1,1,16,0,126,135,29,95]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext [254,38,68,129,0,0,0,0,126,135,1,1,0,83,0,25,88,130,0,0,18,28,95,17,85,10,240,255,65,9,170,16,5,65,135,1,1,16,0,126,135,29,95]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --> parsed 38 - 2 - 4 - 129 - [0,0,0,0,126,135,1,1,0,83,0,25,88,130,0,0,18,28,95,17,85,10,240,255,65,9,170,16,5,65,135,1,1,16,0,126,135,29] - 95
[2025-03-21 08:31:04] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":0,"srcaddr":34686,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":83,"securityuse":0,"timestamp":8542233,"transseqnumber":0,"len":18,"data":{"type":"Buffer","data":[28,95,17,85,10,240,255,65,9,170,16,5,65,135,1,1,16,0]}}
[2025-03-21 08:31:04] debug: zh:controller: Received payload: clusterID=0, address=34686, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=83, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"manufacturerCode":4447,"transactionSequenceNumber":85,"commandIdentifier":10},"payload":[{"attrId":65520,"dataType":65,"attrData":{"type":"Buffer","data":[170,16,5,65,135,1,1,16,0]}}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:31:04] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genBasic', data '{"65520":{"data":[170,16,5,65,135,1,1,16,0],"type":"Buffer"}}' from endpoint 1 with groupID 0
[2025-03-21 08:31:04] debug: zhc:lumi: QBKG11LM: unknown key 65520 with value �A�
[2025-03-21 08:31:04] debug: zhc:lumi: QBKG11LM: Processed data into payload {}
[2025-03-21 08:31:04] debug: zh:controller:endpoint: ZCL command 0x00158d0002c238d3/1 genBasic.write({"65520":{"value":[170,16,5,65,71,1,1,16,1],"type":65}}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"manufacturerCode":4447,"writeUndiv":false})
[2025-03-21 08:31:04] debug: zh:zstack: sendZclFrameToEndpointInternal 0x00158d0002c238d3:34686/1 (0,0,1)
[2025-03-21 08:31:04] debug: zh:zstack:znp: --> SREQ: AF - dataRequest - {"dstaddr":34686,"destendpoint":1,"srcendpoint":1,"clusterid":0,"transid":146,"options":0,"radius":30,"len":18,"data":{"type":"Buffer","data":[20,95,17,214,2,240,255,65,9,170,16,5,65,71,1,1,16,1]}}
[2025-03-21 08:31:04] debug: zh:zstack:unpi:writer: --> frame [254,28,36,1,126,135,1,1,0,0,146,0,30,18,20,95,17,214,2,240,255,65,9,170,16,5,65,71,1,1,16,1,63]
[2025-03-21 08:31:04] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"consumption":24.249073028564453,"device_temperature":26,"energy":24.25,"last_seen":"2025-03-21T08:31:04+01:00","linkquality":83,"operation_mode":"decoupled","power":22.1,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2025-03-21 08:31:04] debug: zh:zstack:znp: <-- SRSP: AF - dataRequest - {"status":0}
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,146,84]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,146,84]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,146] - 84
[2025-03-21 08:31:04] debug: zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":1,"transid":146}
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext []
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: <-- [254,26,68,129,0,0,0,0,126,135,1,1,0,91,0,145,98,130,0,0,6,28,95,17,214,4,0,126,135,29,110]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext [254,26,68,129,0,0,0,0,126,135,1,1,0,91,0,145,98,130,0,0,6,28,95,17,214,4,0,126,135,29,110]
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --> parsed 26 - 2 - 4 - 129 - [0,0,0,0,126,135,1,1,0,91,0,145,98,130,0,0,6,28,95,17,214,4,0,126,135,29] - 110
[2025-03-21 08:31:04] debug: zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":0,"srcaddr":34686,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":91,"securityuse":0,"timestamp":8544913,"transseqnumber":0,"len":6,"data":{"type":"Buffer","data":[28,95,17,214,4,0]}}
[2025-03-21 08:31:04] debug: zh:controller: Received payload: clusterID=0, address=34686, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=91, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":true,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"manufacturerCode":4447,"transactionSequenceNumber":214,"commandIdentifier":4},"payload":[{"status":0}],"command":{"ID":4,"name":"writeRsp","parameters":[{"name":"status","type":32},{"name":"attrId","type":33,"conditions":[{"type":"statusNotEquals","value":0}]}]}}
[2025-03-21 08:31:04] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/VYP ložnice', payload '{"consumption":24.249073028564453,"device_temperature":26,"energy":24.25,"last_seen":"2025-03-21T08:31:04+01:00","linkquality":91,"operation_mode":"decoupled","power":22.1,"power_outage_count":24038,"state":"ON","update":{"installed_version":95,"latest_version":95,"state":"idle"}}'
[2025-03-21 08:31:04] debug: zh:zstack:unpi:parser: --- parseNext []
edit: added whole log, clipboard stopped at non-printable chars:
Thanks for the logs! The Zigbee message send by the device seems to be exactly the same for hold and single, so we cannot distinguish it.
QBKG11LM hold (reported wrong as single):
[2025-03-21 08:11:13] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0QBKG11LM single (reported properly, just for reference):
[2025-03-21 08:15:46] debug: z2m: Received Zigbee message from 'VYP ložnice', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 5 with groupID 0
I am 100% sure the hold action worked in some previous version of z2m.
Could you figure out which version and provide the debug logging for hold and click?
Thanks for the logs! The Zigbee message send by the device seems to be exactly the same for hold and single, so we cannot distinguish it.
So then it must have been changed by firmware update rather than z2m update. I installed at least one or two firmwares updates during the time I am using the switches.
What means that "unknown key 65520" message? May that be the release action? I saw in source code but never seen it actully be reported by the switch.
I'm not sure, you have to check if that message is only reported on long press.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days