Homebridge DHT11/22 plugin for Raspberry Pi
DHT11/22 plugin for Homebridge running on a Raspberry Pi GPIO pin. Provides temperature and relative humidity.
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.
config.json
and add the sensor(s).{
...
"accessories": [
{
"accessory": "dht-rpi",
"name": "My DHT"
}
],
...
}
type
type of device, either "DHT11"
(default) or "DHT22"
pin
GPIO pin number, default 4