Skip to content

cmsj/homebridge-linux-temperature

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 4 commits ahead of GreyPeter:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

homebridge-linux-temperature

A homebridge temperature sensor for Linux temperatures. Based on the fork by Peter Harry at https://github.com/GreyPeter/homebridge-pi-lm75 Based on origial code by Mark Webb-Johnson mark@webb-johnson.net. See original code here: https://github.com/markwj/homebridge-pi

Installation

  1. Install Homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-linux-temperature
  3. Update your Homebridge config.json using the sample below.

Configuration

{
  "accessory": "LinuxTemperature",
  "name": "Sensor Temperature",
  "sensor_path": "/sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input",
  "divisor": 1000
}

Fields:

  • accessory must be "LinuxTemperature" (required).
  • name is the name of the published accessory (required).
  • sensor_path is the path to a file (typically in /sys or /proc that contains just the temperature value (required).
  • divisor is the amount to divide the temperature value by (e.g. typically Linux provides milli-degrees, so a divisor of 1000 gives degrees)

About

Homebridge Plugin for Linux temperature sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%