-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aqara QBKG25LM (3gang, no neutral) does not trigger event #5106
Comments
Hi everyone, Some additional information: When a physical button is pressed, nothing appears in the log or screen. Regards, |
Are you able to sniff the traffic when clicking the QBKG25LM? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html |
I'd like to do that. Is it possible with the Conbee 2 and if yes, is there a guide/reocmmended tool? |
AFAIK that is not possible |
Came here to say that I'm experiencing the same problem, using CC2531. Same as in @talan-z case, there is nothing showing up in the herdsman debug output. I have attempted to sniff the Zigbee traffic but whsniff was not able to find my dongle, most likely because it's using coordinator rather than sniffer firmware. I don't have a download/programmer cable but will try to obtain it now and post some updates later. One more thing, which bothers me but I'm not sure if it's actually the problem. Below map includes QBKG25LM with just one way link, while QBKG22LM (LivingRoom_Switch) seems to have connection in both directions. Is that normal? |
Thanks, Skrobul. I unfortunately do not have a CC2531 and cannot support. But if there's anything I can do to support, happy to help! |
@talan-z don't worry, I got this - my cable arrived an hour ago. Unfortunately, I don't have good news, or at least this is how it looks like. @Koenkk I got my sniffer dongle hooked up and pressed each button on QBKG25LM twice, thus turning it ON->OFF starting from left to right. I have attached the Wireshark packet capture, but unless I'm missing something there is no packets exchanged. edit: just in case it's needed, here is capture of pairing of the same device Is there anything else I can try? |
@skrobul can you change the definition to below and see if that fixes the issue? {
zigbeeModel: ['lumi.switch.l3acn3'],
model: 'QBKG25LM',
vendor: 'Xiaomi',
description: 'Aqara D1 3 gang smart wall switch (no neutral wire)',
fromZigbee: [fz.on_off, fz.QBKG25LM_click, fz.xiaomi_operation_mode_opple],
toZigbee: [tz.on_off, tz.xiaomi_switch_operation_mode, tz.xiaomi_switch_power_outage_memory, tz.xiaomi_switch_do_not_disturb],
meta: {multiEndpoint: true, configureKey: 1},
endpoint: (device) => {
return {'left': 1, 'center': 2, 'right': 3};
},
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right'), e.action([
'left_single', 'left_double', 'left_triple', 'left_hold', 'left_release',
'center_single', 'center_double', 'center_triple', 'center_hold', 'center_release',
'right_single', 'right_double', 'right_triple', 'right_hold', 'right_release',
])],
onEvent: xiaomi.prevent_reset,
configure: async (device, coordinatorEndpoint) => {
await bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
await bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
await bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
await configureReporting.onOff(device.getEndpoint(1));
await configureReporting.onOff(device.getEndpoint(2));
await configureReporting.onOff(device.getEndpoint(3));
},
}, See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify devices.js |
@Koenkk wow, it works! Thank you very much! |
@Koenkk: It's working for me too! However, only 2 out of 3 switches. I tried to repair the switch, but still doesn't work. Thank you! |
Fix is in the devbranch now Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Hi there, sorry to reopen this issue but I'm facing the same problem. I'm on zigbee2mqtt_edge and I can't see any event. I've tried adding the external_converters but it crashes the addon with the following error :
I managed to decouple the buttons but now I'm trying to get them to do something now. As you said that this fix should be in the Dev branch, I believe adding this external converter is unnecessary and I'm pretty sure the issue is my understanding to either listen to these events correctly or me reading some documentation. EDIT: After more research, I can see that the external converter is implemented and unnecessary to be added. I can see events only if I'm not using the decoupled mode. Also seems to be related to the same issue as the 26LM version : Koenkk/zigbee-herdsman-converters#1986 Any hint would be gladly appreciated. Many thanks |
i am having exactly the same issue now. it was working fine and buttons in decoupled mode generated events, but recently everything stopped working. i have tried repairing the device, removing it from z2m and pairing it back, powering it off - it does not matter. as soon as i switch it to decoupled mode, button do not fire any events in zigbee2mqtt :( Can someone confirm if they are still having this issue? From what i remember - there recently was an OTA update for that device, maybe this is what caused the issue? P.S. i am on a october version of jethome.ru firmware using modkam stickV3 as the coordinator |
Hello everyone,
I hope to get some help with the following issue:
What happened
I purchased some Aqara 3gang wall switches (no neutral). Model QBKG25LM. I can set the lights through mqtt, however, any button presses do not trigger an event in mqtt. The log screen (debug is turned on) is empty.
However what works is to set the lights on and off through mqtt.
It also seems that the devices is properly recogznied and configured
database.db:
{"id":26,"type":"EndDevice","ieeeAddr":"0x04cf8cdf3c7cd53b","nwkAddr":8158,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.switch.l3acn3","epList":[1,2,3,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,2,3,4,5,6,9],"outClusterList":[10,25],"clusters":{"genBasic":{"attributes":{"modelId":"lumi.switch.l3acn3","manufacturerName":"LUMI","powerSource":1,"zclVersion":3,"appVersion":27,"stackVersion":2,"hwVersion":1,"dateCode":"06-19-2020"}}},"binds":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{}}},"binds":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{}}},"binds":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"meta":{}}},"appVersion":27,"stackVersion":2,"hwVersion":1,"dateCode":"06-19-2020","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1606498461542}
What did you expect to happen
zigbee2mqtt should capture any physical button presses and display it in mqtt
How to reproduce it (minimal and precise)
Updated 3gang switch to latest firmware with the aqara app (this is the only wall switch that has an update).
Add it to zigbee2mqtt. Press switch button.
Debug info
Zigbee2MQTT version: 1.16.1
Adapter hardware: Conbee II
Adapter firmware version: 38.88
The text was updated successfully, but these errors were encountered: