homebridge-linux-cyberpower-ups
v1.0.8
Published
A homebridge battery service for CyberPower UPS.
Maintainers
Readme
Installation
- Install Homebridge using:
npm install -g homebridge - Install this plugin using:
npm install -g homebridge-linux-temp-ed - Update your Homebridge
config.jsonusing the sample below.
Configuration
{
"accessory": "LinuxTemperature",
"name": "Sensor Temperature",
"sensor_path": "/sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input",
"divisor": 1000
}Fields:
accessorymust be "LinuxTemperature" (required).nameis the name of the published accessory (required).sensor_pathis the path to a file (typically in/sysor/procthat contains just the temperature value (required).divisoris the amount to divide the temperature value by (e.g. typically Linux provides milli-degrees, so a divisor of 1000 gives degrees)
