homebridge-linux-temperature-fwp
v1.0.4
Published
A homebridge temperature sensor for FWP Linux sensors
Downloads
16
Maintainers
Readme
homebridge-linux-temperature-fwp
A homebridge temperature sensor for Firewalla Purple Linux temperatures. Based on the fork by Chris Jones at https://github.com/cmsj/homebridge-linux-temperature Based on the fork by Peter Harry at https://github.com/GreyPeter/homebridge-pi-lm75 Based on origial code by Mark Webb-Johnson [email protected]. See original code here: https://github.com/markwj/homebridge-pi
Installation
- Install Homebridge using:
npm install -g homebridge - Install this plugin using:
npm install -g homebridge-linux-temperature-fwp - Update your Homebridge
config.jsonusing the sample below.
Configuration
{
"accessory": "LinuxTemperature",
"name": "Core 0 Temperature",
"sensor_path": "/sys/class/thermal/thermal_zone0/temp",
"divisor": 1000
},
{
"accessory": "LinuxTemperature",
"name": "Core 1 Temperature",
"sensor_path": "/sys/class/thermal/thermal_zone1/temp",
"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)
