ebaauw
(Erik Baauw)
July 31, 2023, 6:29pm
1
Product name
Door Sensor
Summary
Please expose the door sensor battery stare over bridge http api.
Features
Add a doorsensorBatteryCritical atttribute to the lastKnownState of the response of the /list endpoint, similar to keypadBatteryCritical.
Reason
This allows bridge http api clients to warn their users that the battery of the door sensor needs replacing.
Examples
In my Homebridge plugin, I would expose the door sensor as a separate accessory, to report the battery status. Similar to what I do for the keypad.
Agree!
I’ve developed an app/drivers to integrate Nuki stuff to the Hubitat Elevation hub and theses improvements would be great!
doorsensorBatteryCritical can actually be retrieved using the web api /smartlock/xxx endpoint
David_Saez
(David Saez)
August 23, 2023, 10:04am
4
doorsensorBatteryCritical should also be present in bridge http api callbacks
1 Like
ebaauw
(Erik Baauw)
November 25, 2023, 7:27pm
5
Upgraded to the Smart Lock 4 with external door sensor. The /list endpoint shows doorsensorState and doorsensorStateName, but no doorsensorBatteryCritical. It does show keypadBatteryCritical, even though I don’t have a keypad.