homebridge-dht-rpi
v0.2.2
Published
Homebridge DHT11/22 plugin for Raspberry Pi
Maintainers
Readme
homebridge-dht-rpi
DHT11/22 plugin for Homebridge running on a Raspberry Pi GPIO pin. Provides temperature and relative humidity.
Requirements
Uses the node-dht-sensor library to communicate w/sensors, it uses the BCM2835 library to communicate, and that must be installed before installing the NPM module.
Installation
- Install BCM2835 library
- Install this plugin using: npm install -g homebridge-dht-rpi
- Edit
config.jsonand add the sensor(s). - Run Homebridge
Config.json Example
{
...
"accessories": [
{
"accessory": "dht-rpi",
"name": "My DHT"
}
],
...
}Optional Parameters
typetype of device, either"DHT11"(default) or"DHT22"pinGPIO pin number, default4
