Aeon recessed door sensor gen 5 device type

I made a minor change to the code and I then disabled the “do it once” condition…

Line 180

if (state.batteryReportingEnabled != true)

To force it to keep enabling the parameter just change ‘true’ to ‘false’ for a few waking up cycles (pressing the only button for just over 6 seconds will wake it up) then set it back to ‘true’. I need to change that code so there is a better way to ensure the parameter is set properly but for now this should help you.

Also, in case it matters, please ensure your sensor paired in secure mode. Check the Raw Description of your device… it should look like this:

zw:Ss type:0701 mfr:0086 prod:0102 model:0059 ver:1.13 zwv:3.92 lib:03 cc:5E,86,72,98 ccOut:5A,82 sec:30,80,84,70,85,59,71,7A,73 role:06 ff:8C00 ui:8C00

When you awake the device, you should see the battery reading in the log right after it says it is awake.

DTH is here:

https://github.com/alexruffell/SmartThings/blob/master/aeon-recessed-door-sensor-gen-5.groovy