Package Exports
- homebridge-raspberry-pi-sensehat
- homebridge-raspberry-pi-sensehat/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-raspberry-pi-sensehat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
 
homebridge-raspberry-pi-sensehat
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.
Installation
Prerequisites
- Homebridge
- Python
- Raspberry Pi SenseHAT module (https://www.raspberrypi.com/products/sense-hat/)
- SenseHAT software (sudo apt install sense-hat)
Installation
npm install -g homebridge-raspberry-pi-sensehatConfiguration
Parameters:
| 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 | 
Configuration example:
"platforms": [
     {
      "platform": "Raspberry-Pi-Sensehat",
      "name": "SenseHat",
      "raspberryName": "Raspberry",
      "sensehatName": "SenseHat",
      "showRaspberryTemperature": true,
      "showSensehatLight": true,
      "showSensehatSensor": true,
      "scriptPath": "",
      "pythonName": "python"
     }
 ]