From 0ef29ca6482b9e8aaf8d7cc9a667f61935648f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20=C3=81rkosi=20R=C3=B3bert?= Date: Mon, 28 Nov 2022 10:06:10 +0100 Subject: [PATCH] Update dht.rst --- components/sensor/dht.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/sensor/dht.rst b/components/sensor/dht.rst index b89b00ce2..6c54c47d5 100644 --- a/components/sensor/dht.rst +++ b/components/sensor/dht.rst @@ -69,11 +69,13 @@ Configuration variables: .. note:: + The default ``accuracy_decimals`` value of the *humidity* levels is ``0``, as the DHT11 for which this was + originally written does not have a higher resolution. All other DHT sensors have a higher resolution, it's worth + to configure them with ``accuracy_decimals: 1``. + If you're seeing lots of invalid temperature/humidity warnings in the logs, try manually setting the DHT model with the ``model:`` configuration variable. Other problems could be wrong pull-up resistor values on the DATA pin or too long cables. - - Also, the default ``accuracy_decimals`` value of the humidity levels is set to 0, as the DHT11 for which this was originally written does not have a higher resolution. All other DHT sensors have a higher resolution, and thus should be configured with ``accuracy_decimals: 1``. See Also --------