Skip to content

davidjbradshaw/homebridge-apcaccess

 
 

Repository files navigation

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

Whack something like this in your accessories: [] section of homebridge config:

{
    "name": "UPS",
    "accessory": "APCAccess",
    "host": "192.168.86.34",
    "port": 3551,
    "manufacturer": "Fujitsu APC",
    "model": "FJT750i",
    "serial": "AS1305696928",
    "interval": 1,
    "temperatureSensor": false,
    "errorLogsOnly": false
}

All pretty self explanatory; interval is in seconds.

About

what if apcaccess, but in homebridge??

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%