mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-12 14:08:59 +00:00
911 B
911 B
layout, title, description, date, sidebar, comments, sharing, footer
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | DHT support | Instructions how to integrate DHTxx sensors within Home Assistant. | 2015-08-30 19:15 | false | false | true | true |

To use your DHTxx sensor in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
platform: dht
sensor: DHT22
pin: 23
monitored_conditions:
- temperature
- humidity
The name of the pin to which the sensor is connected has different names on different platforms. 'P8_11' for Beaglebone, '23' for Raspberry Pi.
As this requires access to the GPIO, you will need to run Home Assistant as root.