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

I think if you want anyone to give any useful feedback on these logs you should do a screenshot of the logs and post it.
To try and decipher what you have posted would be a nightmare.

1 Like

New try. Maybe it is now more readable :smiley:

Aqara waal switch (Hubitat/zigbee-aqara-wall-switch-expanded.groovy at release · markus-li/Hubitat · GitHub) line 573 should be "if(isD1NeutralSwitch() == true || isOldNeutralSwitch() == true) {", otherwise on/off events are sent to buttons 5,6,7,8,9, while reported is just 5 buttons..

1 Like

Xiaomi Smart Home Mijia Honeywell Smoke Detector:

Great! But…

I’ve noticed that the log is now flooded with “Parse START” messages; The lastClear state is set 10 to 20 times a minute! I fear that the battery will be fast drained...

Any suggestions?


Before:

After connecting the device and installing the driver I can access my new device. :+1:

The first “Test” command works, after a while the battery status (100%) is shown, and even my push on the little button of my device raised an smoke=“testing…” event in Hubitat.

Maybe this was answered already (didn't want to read through 600+ messages), but I just set up an Aqara Water Leak Sensor and install was a snap with the driver. The leak sensor correctly shows wet/dry conditions using the wet finger test. However, my problem is that the sensor doesn't appear to be classified as a water sensor and will not trigger my HSM rule to shut off main water valve when tripped. Is this a known issue? Do I need to create a special rule for just this water leak sensor?

No idea. However, I do know that the drivers referenced in this thread may no longer be maintained. AFAIK, the only Aqara/Mijia driver currently being maintained is @chirpy's.

Available in this thread:

2 Likes

Thanks! I'll try switching to these drivers instead!

1 Like

@aaiyar FYI ... a quick swap out to the chirpy driver instantly worked .. the Aqara water leak sensor is properly reporting into HSM. Thanks!!

3 Likes

Hey Markus,

Thanks for all the work you've put into these drivers, much appreciated!
I've ordered a no neutral D1 wall switch and installed it, unfortunately the drivers don't seem to work for it.
especially I'm not able to see the status of the physical part of the switch or command it to toggle on or off.

I've already tried to mess around with the driver code myself but have unfortunately needed to come to the conclusion that I know absolutely nothing about coding and trying to google educate myself isn't going anywhere:)

Data displayed for the device is as follows:

  • endpointId: 01
  • buttonCombos: 0
  • application: 1A
  • softwareBuild:
  • driver: v1.0.1.1123
  • inClusters: 0000,0003,0001,0002,0019,000A
  • outClusters: 0000,000A,0019
  • model: lumi.switch.b1lacn02
  • physicalButtons: 1
  • manufacturer: LUMI

I've turned on debug logging and copied the outputs after toggling the wall switch on and off below, hope this helps:

dev:1992021-05-14 22:35:55.256 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 648 (parse)

dev:1992021-05-14 22:35:55.251 infoOn/Off Button press - description:read attr - raw: 11F2040006100000100000001001, dni: 11F2, endpoint: 04, cluster: 0006, size: 10, attrId: 0000, encoding: 10, command: 0A, value: 0000001001 | parseMap:[raw:11F2040006100000100000001001, dni:11F2, endpoint:04, cluster:0006, size:10, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:01, encoding:10, attrId:0000, consumedBytes:4, attrInt:0]], valueParsed:false]

dev:1992021-05-14 22:35:54.989 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 646 (parse)

dev:1992021-05-14 22:35:54.980 infoOn/Off Button press - description:read attr - raw: 11F2020006160000100100F02300F21103, dni: 11F2, endpoint: 02, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0100F02300F21103 | parseMap:[raw:11F2020006160000100100F02300F21103, dni:11F2, endpoint:02, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, additionalAttrs:[[value:0311F200, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:true]

dev:1992021-05-14 22:35:45.219 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 648 (parse)

dev:1992021-05-14 22:35:45.213 infoOn/Off Button press - description:read attr - raw: 11F2040006100000100000001001, dni: 11F2, endpoint: 04, cluster: 0006, size: 10, attrId: 0000, encoding: 10, command: 0A, value: 0000001001 | parseMap:[raw:11F2040006100000100000001001, dni:11F2, endpoint:04, cluster:0006, size:10, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:01, encoding:10, attrId:0000, consumedBytes:4, attrInt:0]], valueParsed:false]

dev:1992021-05-14 22:35:44.960 errorjava.lang.NullPointerException: Cannot invoke method parse() on null object on line 648 (parse)

dev:1992021-05-14 22:35:44.948 infoOn/Off Button press - description:read attr - raw: 11F2020006160000100000F02300F21103, dni: 11F2, endpoint: 02, cluster: 0006, size: 16, attrId: 0000, encoding: 10, command: 0A, value: 0000F02300F21103 | parseMap:[raw:11F2020006160000100000F02300F21103, dni:11F2, endpoint:02, cluster:0006, size:16, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, additionalAttrs:[[value:0311F200, encoding:23, attrId:F000, consumedBytes:7, attrInt:61440]], valueParsed:false]

Markus is no longer on this forum. However, there are new drivers here:

3 Likes

Thanks for the reply! That driver unfortunately does not seem to work with this wired switch

Download the Hubitat app