RaresAil / homebridge-temperature-sensor-dht

A Temperature accessory for RPi using DHT 11 or 22
Apache License 2.0
4 stars 1 forks source link

Homebridge Temperature Accessory DHT

verified-by-homebridge Discord

Snyk Vulnerabilities for npm package npm

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