A Homebridge plugin for Raspberry Pi SenseHAT
This plugin allows you to control the SenseHAT light and read out the build-in SenseHAT sensors (temperature, humidity and air pressure). Furthermore, it displays the temperature of the Raspberry Pi on which the SenseHAT is mounted.
- Homebridge
- Python
- Raspberry Pi SenseHAT module (https://www.raspberrypi.com/products/sense-hat/)
- SenseHAT software (
sudo apt install sense-hat
)
npm install -g homebridge-raspberry-pi-sensehat
key | default | required | description |
---|---|---|---|
platform | 'Raspberry-Pi-Sensehat' | yes | name of the platform |
name | 'SenseHat' | yes | accessory name |
raspberryName | 'Raspberry' | no | raspberry name |
sensehatName | 'SenseHat' | no | senseHat name |
showRaspberryTemperature | true | no | show temperature of raspberry pi |
showSensehatLight | true | no | allow setting of sensehat light |
showSensehatSensor | true | no | show sensehat sensor data (temperature, humitidy, pressure) |
scriptPath | plugin home/script | no | path to script folder (e.g. /var/lib/homebridge/node_modules/homebridge-raspberry-pi-sensehat/script) |
pythonName | 'python' | no | name of python command |
"platforms": [
{
"platform": "Raspberry-Pi-Sensehat",
"name": "SenseHat",
"raspberryName": "Raspberry",
"sensehatName": "SenseHat",
"showRaspberryTemperature": true,
"showSensehatLight": true,
"showSensehatSensor": true,
"scriptPath": "",
"pythonName": "python"
}
]