Hi guys.
I have a NodeMcu board with a DHT22 connected, publising the values to HA via MQTT. It all works fine, except the values coming from the DHT22 are VERY jittery, with a variation +/- 2degC. I am trying to do some automation around temperature control, and its provigin difficult with the jitter.
It seems that its potentailly a known DHT22 issue, but any suggestions on how to cope with it in code would be greatly appreciated!
+/- 2° C is pretty heavy. I’m using different sensors with a variation of +/- 0.13° C and implemented a bound check to decide if I send an updated value or not: