homebridge-raspberry-pi-sensehat
TypeScript icon, indicating that this package has built-in type declarations

1.7.4 • Public • Published

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

Installation

npm install -g homebridge-raspberry-pi-sensehat

Configuration

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"
     }
 ]

Package Sidebar

Install

npm i homebridge-raspberry-pi-sensehat

Weekly Downloads

83

Version

1.7.4

License

Apache-2.0

Unpacked Size

50.6 kB

Total Files

25

Last publish

Collaborators

  • grandpuy