JSPM

homebridge-raspberry-pi-sensehat

1.9.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25102F
  • License Apache-2.0

A Homebridge plugin for Raspberry Pi SenseHAT

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

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