mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update dht.markdown (#17959)
This commit is contained in:
parent
15af7957a4
commit
65d71a4b52
@ -30,7 +30,7 @@ Add the following to your `configuration.yaml` file:
|
||||
sensor:
|
||||
platform: dht
|
||||
sensor: DHT22
|
||||
pin: D23
|
||||
pin: 23
|
||||
monitored_conditions:
|
||||
- temperature
|
||||
- humidity
|
||||
@ -71,7 +71,7 @@ humidity_offset:
|
||||
type: [integer, float]
|
||||
{% endconfiguration %}
|
||||
|
||||
The name of the pin to which the sensor is connected has different names on different platforms. 'P8_11' for Beaglebone, 'D23' for Raspberry Pi.
|
||||
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.
|
||||
|
||||
### Example
|
||||
|
||||
@ -81,7 +81,7 @@ An example for a Raspberry Pi 3 with a DHT22 sensor connected to GPIO4 (pin 7):
|
||||
sensor:
|
||||
- platform: dht
|
||||
sensor: DHT22
|
||||
pin: D4
|
||||
pin: 4
|
||||
temperature_offset: 2.1
|
||||
humidity_offset: -3.2
|
||||
monitored_conditions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user