homespun / homebridge-accessory-apcupsd

An apcusbd accessory plugin for Homebridge: https://github.com/nfarina/homebridge
MIT License
6 stars 4 forks source link

Documentation? #6

Open jlg89 opened 3 years ago

jlg89 commented 3 years ago

Sweet plugin! Got it installed & working, the plugin is pulling UPS data over the LAN from my IPFire router, which is connected to the UPS via USB. In HomeKit, I see the UPS, with two accessories. One is a contact switch, which is "closed" when the UPS is on mains power, "open" when on battery. That one's pretty straightforward. But then there's a "security system" accessory that indicates home/away/night/off...but it's not obvious what that one does. Can you please explain, or point me to a doc somewhere?

aebgit commented 3 years ago

I'm also interested in learning about this "security system switch". What is it for?

BR Andreas

PEA71 commented 3 years ago

+1 Also interested! Thx

robbeh1 commented 3 years ago

I wondered this too - from a super quick look at the code, it will move to an alarm state if the battery needs replacing - hope that helps :)