[Release] Xiaomi / Aqara / Opple Drivers with Presence!

No problem.
I also have a request for you to cooperate somehow with @BPTWorld user to repair Event Watchdog.
I changed all my Aqara devices to your driver and now I have a problem with Event Watchdog. It was quite nice to have a tile on my dashboard with few last events like “Garage door was open at 9:23” etc. Now it doesn’t work properly. Please check if you can do anything or maybe try to write your own “Event Watchdog” which will be compatible with your driver.

Hi,

First of all thank you Marcus for developing these drivers. I bought lots of Aqara no neutral QBKG21LM switches that I thought would work in HE.

I installed your driver and I can’t get HE to switch on/off. Should there be a command for on/off? I created a dashboard to test them and they did not work in the dashboard either.

Can anyone advise a newbie on next steps please?

Welcome to the community!
@markus is aware of your issue and is working on it. I hope you find all of the answers that you need. The 21LM is supported and a child device should have been created for this. Can you confirm whether or not it was created?

Hi April,
I can confirm that no child device was created.

Thanks for the help. Please let me know if you need any further information

What platform version? Knowing that would probably make @markus’ debugging the issue easier.

Hey @markus thanks very much for developing these drivers.
I recently moved from SmartThings to Hubitat and these drivers very much appreciated.

I have an Aquara QBKG11LM light switch and it appears to be working well however there are a bunch of warnings and requests to report this to the dev generated in the logs.
I’m using a C7 hub and the firmware is 2.2.4.158
The driver version I’m using is the one from the release branch v1.0.1.1123

When I paired the switch I got the log below

sys:12021-01-07 23:24:48.439 infoZigbee Discovery Stopped
dev:362021-01-07 23:24:41.564 warnKnown model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]
dev:362021-01-07 23:23:56.477 warnKnown model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 07 01 00 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 07 01 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
dev:372021-01-07 23:23:56.472 infoSwitch turned OFF
dev:362021-01-07 23:23:56.426 infoPower Cluster 0006 catchall - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 07 01 00 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 07 01 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00]]
sys:12021-01-07 23:23:55.939 infoCreated Zigbee Device Zigbee - Aqara Wall Switch
dev:362021-01-07 23:23:55.875 warnCluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060A00001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00 | parseMap:[raw:A4AB0100060A00001000, dni:A4AB, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0, valueParsed:false]
dev:362021-01-07 23:23:55.858 infoOn/Off Button press - description:read attr - raw: A4AB0100060A00001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 0A, attrId: 0000, encoding: 10, command: 01, value: 00 | parseMap:[raw:A4AB0100060A00001000, dni:A4AB, endpoint:01, cluster:0006, size:0A, attrId:0000, encoding:10, command:01, value:00, clusterInt:6, attrInt:0, valueParsed:false]
dev:362021-01-07 23:23:55.811 infosetAsConnected(button=1)
dev:372021-01-07 23:23:55.795 infoSwitch Initialized as OFF
dev:372021-01-07 23:23:55.045 infoInstalled...
dev:362021-01-07 23:23:54.956 infoMaking device with type 1 virtual switch and id 36-1
dev:362021-01-07 23:23:54.823 infoNo VALID lastCheckin event available! This should be resolved by itself within 1 or 2 hours and is perfectly NORMAL as long as the same device don't get this multiple times per day...
dev:362021-01-07 23:23:54.695 infoRecovery feature ENABLED
dev:362021-01-07 23:23:54.444 errorjava.lang.NumberFormatException: null on line 510 (parse)
dev:362021-01-07 23:23:54.392 infogetDriverVersion() = v1.0.1.1123
dev:362021-01-07 23:23:54.375 infoOn/Off Button press - description:read attr - raw: A4AB010006160000100000F02300FFFF02, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02300FFFF02 | parseMap:[raw:A4AB010006160000100000F02300FFFF02, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:02FFFF00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]
dev:362021-01-07 23:23:54.370 infoinstalled()
sys:12021-01-07 23:23:49.985 infoInitializing Zigbee Device 00158D00041B05D3, A4AB
sys:12021-01-07 23:23:48.474 infoZigbee Discovery Running

Afterwards I press the off and on buttons in the bug and got some more logs

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:53:41.600 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:52:41.597 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:51:41.596 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:50:41.578 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:49:41.599 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:48:41.608 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:48:08.930 [info](http://192.168.1.5/device/edit/36)Sending temperature event (Temperature: 26.0 °C)

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:48:08.917 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100005E01FF422B64100103281A98390AD7D9419539AC48AA4105210A009A2010082121110727000000000000000009210004, dni: A4AB, endpoint: 01, cluster: 0000, size: 5E, attrId: FF01, encoding: 42, command: 0A, value: 2B64100103281A98390AD7D9419539AC48AA4105210A009A2010082121110727000000000000000009210004 | parseMap:[raw:A4AB0100005E01FF422B64100103281A98390AD7D9419539AC48AA4105210A009A2010082121110727000000000000000009210004, dni:A4AB, endpoint:01, cluster:0000, size:5E, attrId:FF01, encoding:41, command:0A, value:[raw:[openClose:01, deviceTemperature:1A, power:41D9D70A, consumption:41AA48AC, RSSI_dB:000A, unknown7:10, unknown3:1121, unknown2:0000000000000000, unknown4:0400], openClose:true, deviceTemperature:26, power:27.23, consumption:21.285484, RSSI_dB:10, unknown7:16, unknown3:4385, unknown2:0, unknown4:1024], clusterInt:0, attrInt:65281]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:47:41.601 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:42.906 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:42.901 [info](http://192.168.1.5/device/edit/36)WATT - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:41.608 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.591 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.587 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.576 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB010006160000100100F0234B000007, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F0234B000007 | parseMap:[raw:A4AB010006160000100100F0234B000007, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:0700004B, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.571 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB010006160000100100F0234B000007, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F0234B000007 | parseMap:[raw:A4AB010006160000100100F0234B000007, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:0700004B, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.543 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0100 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]

[dev:37](http://192.168.1.5/logs#dev37)2021-01-07 23:46:39.527 [info](http://192.168.1.5/device/edit/37)Switch turned ON

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:39.518 [info](http://192.168.1.5/device/edit/36)Power Cluster 0006 catchall - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0100 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0100, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[01, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.696 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB010006160000100000F02349000007, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02349000007 | parseMap:[raw:A4AB010006160000100000F02349000007, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:07000049, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.690 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB010006160000100000F02349000007, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02349000007 | parseMap:[raw:A4AB010006160000100000F02349000007, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:07000049, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.670 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060800001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 00 | parseMap:[raw:A4AB0100060800001000, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.662 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB02000C0E55003900000000, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 00000000 | parseMap:[raw:A4AB02000C0E55003900000000, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:00000000, clusterInt:12, attrInt:85, valueParsed:0.0]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.658 [info](http://192.168.1.5/device/edit/36)WATT - description:read attr - raw: A4AB02000C0E55003900000000, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 00000000 | parseMap:[raw:A4AB02000C0E55003900000000, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:00000000, clusterInt:12, attrInt:85, valueParsed:0.0]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.652 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB0100060800001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 00 | parseMap:[raw:A4AB0100060800001000, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.636 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

[dev:37](http://192.168.1.5/logs#dev37)2021-01-07 23:46:16.609 [info](http://192.168.1.5/device/edit/37)Switch turned OFF

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.605 [info](http://192.168.1.5/device/edit/36)Power Cluster 0006 catchall - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.586 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

[dev:37](http://192.168.1.5/logs#dev37)2021-01-07 23:46:16.577 [info](http://192.168.1.5/device/edit/37)Switch turned OFF

[dev:36](http://192.168.1.5/logs#dev36)2021-01-07 23:46:16.563 [info](http://192.168.1.5/device/edit/36)Power Cluster 0006 catchall - description:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000 | parseMap:[raw:catchall: 0104 0006 01 01 0040 00 A4AB 00 00 0000 0B 01 0000, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[00, 00]]

Is this enough information to get these switches fully supported in the driver?

Thank you very much

I don’t have permissions to edit my last post yet so apologies for the double post but I can report one thing that doesn’t work correctly for the QBKG11LM

When I press the physical button on the switch the light turns off, but the current state displayed in the Virtual (child) device is not updated. Similarly with turning the lights on by physically pressing the button.

The logs below are when for turning on the light, turning it off and trying a double tap all using the physical button.

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:41.684 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000 | parseMap:[raw:catchall: 0104 000A 01 01 0040 00 A4AB 00 00 0000 00 00 0000, profileId:0104, clusterId:000A, clusterInt:10, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A4AB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[00, 00]]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:14.381 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:14.356 [info](http://192.168.1.5/device/edit/36)WATT - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:12.171 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:12.168 [info](http://192.168.1.5/device/edit/36)Button 5 was pushed

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:12.164 [info](http://192.168.1.5/device/edit/36)Multistate - endpoint: 5, taps: 1, physicalButton: 5, physicalButtons: 1, button: 5

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:12.151 [info](http://192.168.1.5/device/edit/36)Multistate - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:11.628 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:11.624 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:11.595 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB010006160000100100F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F02300ABA403 | parseMap:[raw:A4AB010006160000100100F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:11.590 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB010006160000100100F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F02300ABA403 | parseMap:[raw:A4AB010006160000100100F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.902 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.897 [info](http://192.168.1.5/device/edit/36)Button 5 was pushed

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.893 [info](http://192.168.1.5/device/edit/36)Multistate - endpoint: 5, taps: 1, physicalButton: 5, physicalButtons: 1, button: 5

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.889 [info](http://192.168.1.5/device/edit/36)Multistate - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.642 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060800001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 00 | parseMap:[raw:A4AB0100060800001000, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.638 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB0100060800001000, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 00 | parseMap:[raw:A4AB0100060800001000, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.362 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB02000C0E55003900000000, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 00000000 | parseMap:[raw:A4AB02000C0E55003900000000, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:00000000, clusterInt:12, attrInt:85, valueParsed:0.0]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.358 [info](http://192.168.1.5/device/edit/36)WATT - description:read attr - raw: A4AB02000C0E55003900000000, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 00000000 | parseMap:[raw:A4AB02000C0E55003900000000, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:00000000, clusterInt:12, attrInt:85, valueParsed:0.0]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.341 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB010006160000100000F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02300ABA403 | parseMap:[raw:A4AB010006160000100000F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:08.335 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB010006160000100000F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02300ABA403 | parseMap:[raw:A4AB010006160000100000F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:04.544 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:04.533 [info](http://192.168.1.5/device/edit/36)WATT - description:read attr - raw: A4AB02000C0E5500390AD7D941, dni: A4AB, endpoint: 02, cluster: 000C, size: 0E, attrId: 0055, encoding: 39, command: 0A, value: 0AD7D941 | parseMap:[raw:A4AB02000C0E5500390AD7D941, dni:A4AB, endpoint:02, cluster:000C, size:0E, attrId:0055, encoding:39, command:0A, value:41D9D70A, clusterInt:12, attrInt:85, valueParsed:27.23]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:02.224 [warn](http://192.168.1.5/device/edit/36)Known model: lumi.ctrl_ln1.aq1 - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:02.220 [info](http://192.168.1.5/device/edit/36)Button 5 was pushed

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:02.216 [info](http://192.168.1.5/device/edit/36)Multistate - endpoint: 5, taps: 1, physicalButton: 5, physicalButtons: 1, button: 5

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:02.212 [info](http://192.168.1.5/device/edit/36)Multistate - description:read attr - raw: A4AB0500120A5500210100, dni: A4AB, endpoint: 05, cluster: 0012, size: 0A, attrId: 0055, encoding: 21, command: 0A, value: 0100 | parseMap:[raw:A4AB0500120A5500210100, dni:A4AB, endpoint:05, cluster:0012, size:0A, attrId:0055, encoding:21, command:0A, value:0001, clusterInt:18, attrInt:85, valueParsed:1]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:01.680 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB010006160000100100F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F02300ABA403 | parseMap:[raw:A4AB010006160000100100F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:01.676 [warn](http://192.168.1.5/device/edit/36)Cluster 0x0006 NOT YET IMPLEMENTED for this model (lumi.ctrl_ln1.aq1) - PLEASE REPORT THIS LOG TO THE DEV - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:01.672 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB010006160000100100F02300ABA403, dni: A4AB, endpoint: 01, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F02300ABA403 | parseMap:[raw:A4AB010006160000100100F02300ABA403, dni:A4AB, endpoint:01, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:03A4AB00, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

[dev:36](http://192.168.1.5/logs#dev36)2021-01-08 01:01:01.667 [info](http://192.168.1.5/device/edit/36)On/Off Button press - description:read attr - raw: A4AB0100060800001001, dni: A4AB, endpoint: 01, cluster: 0006, size: 08, attrId: 0000, encoding: 10, command: 0A, value: 01 | parseMap:[raw:A4AB0100060800001001, dni:A4AB, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]

Hi just checked.

It’s HE 2.2.4.158

Thanks

Hi don’t want to seem impatient but will the 21LM be looked at?

Or should I consider looking at using the mi connector app instead?

I would love to get the oh la labs driver working

I have the QBKG22LM (two gang) and 25LM (three gang) working almost perfectly with @markus’s drivers; on the 22LM there’s a bug with both child devices being actuated and on the 25LM the temperature sensor isn’t read (but that last one’s not terribly important).

Is the 21LM the one-gang switch? Sadly when we were testing I didn’t (and don’t) have any 21LM switches, but I wonder if I might be able to bodge something together.

1 Like

Yes it’s the one gang switch. I bought 10 of them for my house without doing proper research :disappointed_relieved:

Try this nonsense I’ve tinkered into the driver. Replace your current Aqara Wall Switch Driver code with it.

Completely untested.

Ironically my order of new '22LM and '25LM switches literally arrived 30 minutes ago and I was so close to ordering a '21LM for testing - and then thought “no, two is twice as better than one!”.

Also, can anyone fathom to me why the WXKG12LM drops triple and quadruple press support from the WXKG11LM in favour of press-and-hold (fair enough) and… SHAKE?

They added an accelerometer to a button which you stick to the wall for shake support? :crazy_face:

Okay, I keep some on my desk too, but shake? I triple click more often than I’d pick up and shake. I suppose it could perhaps be useful for earthquake detection. :rofl:

2 Likes

Just installed on your driver and turns on/off from hubitat. Thank you so much :slight_smile:

1 Like

Andydvsn thank you again! I am now trying to add WXKG07LM (2 gang wireless). I see over on another forum that you got this working? Can I ask what driver you are using for this?

I tried the Oh lalabs one but I’m having the same issue with no child device created

Haha, that was a total shot in the dark! Fantastic it worked though, at least it should tide you over until it’s added properly.

The wireless one works with the other driver, the one for button devices. It doesn’t create child devices at all as there’s nothing which is remote controlled on the device; it just sends in button press actions to Hubitat.

1 Like

Ah ok, I’ve got the wireless one working now with a simple automation rule. Thanks so much for your help

1 Like

@markus is it likely that the QBKG11LM will get supported in the near future or should I be looking somewhere else?

1 Like

Hi @markus, I would ask about this XiaOmi device too: LLKZMK11LM. Thank you a lot!

For reasons stated in the thread linked below, I suspect it is increasingly difficult for @markus to support existing drivers or create new ones.

That being said, have you tried this driver?

Hi @aaiyar, I appreciate your sugestion, but that is exactly what I am already using right now. It works but it keeps losing connection. I suppose the markus driver would better with keeping connection alive.