homebridge-apcaccess

1.0.3 • Public • Published

homebridge-apcaccess

An apcaccess wrapper for Homebridge. Supports precisely one UPS. If you're on battery power, the Contact Sensor is open.

This accessory:

  • Is essentially a worse version of homespun/homebridge-accessory-apcupsd which I was too dumb to get working.
  • Publishes a BatteryService to show charging state / battery levels.
  • Publishes ContactSensor two subscribable events: Contact State and Low Battery, for your push alerting pleasure.
  • Optionally publishes a TemperatureSensor if you have a fancy UPS which reports this.

Configuration

The plugin will run with these default values, they can be changed in the accessories: [] section of homebridge config:

{
    "name": "APC UPS",
    "host": "127.0.0.1",
    "port": 3551,
    "manufacturer": "American Power Conversion'",
    "model": "APCAccess UPS",
    "serial": "unknown",
    "interval": 1,
    "temperatureSensor": false,
    "errorLogsOnly": false
}

interval is in seconds.

Package Sidebar

Install

npm i homebridge-apcaccess

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

14.8 kB

Total Files

8

Last publish

Collaborators

  • cr3ative