homebridge-sensehat
A Homebridge plugin for a Sense HAT equipped Raspberry Pi
The real work is performed by two small Python programs: leds.py is used for controlling the Sense HAT's LEDs and sensors.py for reading the temperature, humidity and air pressure sensors.
Installation
- Install Homebridge using
npm install -g homebridge
. - Install this plugin
npm install -g homebridge-sensehat
. - Update your configuration file. See below for an example.
Notes
- script_path (with trailing /) should point to the directory where the two python scripts are located.
- The user under which homebridge runs (often homebridge) needs to be able to use the Sense HAT API, the easiest way to do this is to make the user a member of the groups video, i2c (and others, to be documented).
Configuration
Example configuration (polling intervals default to indicated seconds):
"accessories":
See also
License
MIT