From 54a440e12d5c637f918beeb67d6604e822839987 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 30 Aug 2015 21:33:50 +0200 Subject: [PATCH] add dht page --- source/components/sensor.dht.markdown | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 source/components/sensor.dht.markdown diff --git a/source/components/sensor.dht.markdown b/source/components/sensor.dht.markdown new file mode 100644 index 00000000000..0c4fded0563 --- /dev/null +++ b/source/components/sensor.dht.markdown @@ -0,0 +1,32 @@ +--- +layout: page +title: "DHT support" +description: "Instructions how to integrate DHTxx sensors within Home Assistant." +date: 2015-08-30 19:15 +sidebar: false +comments: false +sharing: true +footer: true +--- + +The dht sensor platform allows you to get the current temperature and humidity from a DHT11, DHT22, or AM2302 device. + +To use your DHTxx sensor in your installation, add the following to your `configuration.yaml` file: + +```yaml +# 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 a different names on different platfroms. 'P8_11' for Beaglebone, '23' for Raspberry Pi. + +

+As this requires access to the GPIO, you will need to run Home Assistant as root. +

+