Closed grgmll closed 4 years ago
Sure, I'm very happy to accept PRs but might get around to this!
Hi @oigroigm, I had a look at this and I already do report Battery Level and Charging State:
So - I'm not sure which Homekit characteristic you'd like to see added here. Do let me know!
These values are reported here:
https://github.com/cr3ative/homebridge-apcaccess/blob/master/index.js#L42
Okay, I had a poke around and I've found that Service.BatteryService
displays better in Home.app, so I've pushed 0.1.0
which does this:
For "mains power", that's the contact switch; if the switch is open, we're using battery, if it's closed, we're on mains power.
Fixed!
Is it possible to add the following information in the Homekit App status? Battery Level Charging State Mains power
Thanks