DHT Sensor
homebridge-temperature-sensor-dht · v1.0.4
Adds a DHT11 or DHT22 temperature and humidity sensor on a Raspberry Pi GPIO.
What it says it supports
Devices it names
- DHT11
- DHT22
- Raspberry Pi
Shows up in Apple Home as from its README
Sensor readings in its code
What people report
DHT22-style sensors on Raspberry Pi work; DS18B20 will not be supported.
- Works1
- Partly works1
- Won’t be supported1
| Device | Status | What they said | Source |
|---|---|---|---|
| DHT22 sensor | Works | Works with temperature and humidity offsets (humidity adjustment added v1.0.4)Saved copyLike this plugin, as it's just about the simplest DHT22 plugin I've found. I like that you have a temperature offset, what about a humidity offset? I have a couple of DHT22s that consistently read 7-8% higher than a calibrated hygrometer nearby, would be nice to be able to account for this. Excerpt saved from GitHub on 2026-10-22. | Issue #5 · 2022-07 |
| DHT sensor on Raspberry Pi Zero W 1 | Partly works | Frequent 'failed to read sensor' errors; old Pi CPU suspectedSaved copyDescribe Your Problem: In the statuslog I get the error: failed to read sensor. But wenn I wait a bit the device/accessoire shows values. Logs: [03/01/2023, 23:49:171 (HB Supervisori Started Homebridge v1.6.0 with PID: 1392 [03/01/2023, 23:49:29] Loaded config.json with 1 accessories and 1 platforms. [03/01/2023, 23:49:30 ] Loaded 0 cached accessories from cachedAccessories. [03/01/2023, 23:49:30] [03/01/2023, 23:49:30] Loaded plugin: [email protected] [03/01/2023, 23:49:30] Registering accessory 'homebridge-temperature-sensor-dht.TemperatureA ccessoryDHT [03/01/2023, … Excerpt saved from GitHub on 2026-10-22. | Issue #8 · 2023-01 |
| DS18B20 temperature sensor | Won’t be supported | Maintainer declined; different sensor type, suggests another pluginSaved copyAfter more research, i will not add support for that, since the plugin name contains `dht` in it and that sensor is a different type of temperature sensor, i would suggest to try a plugin designed for that sensor. I found this plugin on NPM: https://www.npmjs.com/package/homebridge-ds18b20 @svenbla Excerpt saved from GitHub on 2026-10-22. | Issue #3 · 2022-07 |
Gathered from the plugin’s GitHub issues, pull requests, discussions, wiki and docs, and from r/homebridge. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local
Raspberry Pi GPIO
You’ll need
- Raspberry Pi
- DHT sensor
Compatibility
| Verified by Homebridge | Yes |
|---|---|
| Homebridge versions | >=1.3.5 |
| Homebridge 2.0 | No |
| Node.js | >=14.18.1 |
| Settings in Homebridge UI | Yes |
| Matter | No |
| Platform name | TemperatureAccessoryDHT |
| License | Apache-2.0 |
Community signals
| Downloads a week | 5 |
|---|---|
| Downloads a month | 16 |
| GitHub stars | 4 |
| Open issues | 1 |
| Closed issues | 3 |
| Last code push | 2022-09-03 |
| Latest version | 1.0.4 (2022-09-03) |
| First published | 2022-07-05 |
| Releases | 5 |
In ReReHome
Whatever this plugin publishes reaches Apple Home as a normal HomeKit accessory behind your Homebridge bridge, so ReReHome shows and controls it like any other.
Bridges get their own settings page listing the accessories behind them.
HomeKit services in its code
Found by scanning the published npm package. A plugin can register a service only for some devices.
- HumiditySensor
- TemperatureSensor