Homebridge Temperature Accessory DHT
I recommend to use the accessory as a Child Bridge for the best performance.
You have to add a DHT sensor to the GPIO of the RPi
Supported | Model | Code in config |
---|---|---|
DHT11 | 11 | |
DHT22 | 22 | |
DHT12 | 11 | |
DHT21 | 22 | |
Other | - |
Config
You can add multiple dht sensors by having multiple accessories.
{
"accessories": [
{
"accessory": "TemperatureAccessoryDHT",
"name": "DHT Sensor",
"humidityAdjustment": 0, // e.g. -2 or 2
"adjustment": 0, // e.g. -2 or 2
"model": 22,
"pin": 2
}
]
}