Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

homebridge-raspberry-pi-sensehat

grandpuy3.5kApache-2.01.9.1TypeScript support: included

A Homebridge plugin for Raspberry Pi SenseHAT

homebridge-plugin, raspberry-pi, sensehat, home-automation, smart-home, sensor, temperature, humidity, pressure

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

Installation

npm install -g homebridge-raspberry-pi-sensehat

Configuration

Parameters:

keydefaultrequireddescription
platform'Raspberry-Pi-Sensehat'yesname of the platform
name'SenseHat'yesaccessory name
raspberryName'Raspberry'noraspberry name
sensehatName'SenseHat'nosenseHat name
showRaspberryTemperaturetruenoshow temperature of raspberry pi
showSensehatLighttruenoallow setting of sensehat light
showSensehatSensortruenoshow sensehat sensor data (temperature, humitidy, pressure)
scriptPathplugin home/scriptnopath to script folder
(e.g. /var/lib/homebridge/node_modules/homebridge-raspberry-pi-sensehat/script)
pythonName'python'noname 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"
     }
 ]