ESP Update - DHT22 showing minus readings

I have just updated my ESP 32 boards (HASS) and two of my DHT22’s have now dropped to minus numbers (Only 2 out of four)


Have anybody experienced this or know the fix?

Fixed:

Re-installed the existing config and this seems to have resolved the issue.

Also make sure you have specified it is a DHT22 using model: or it may happen again - this is a known issue.

1 Like

Is this in the sensor yaml file?

Currently I have;

sensor:
  - platform: dht
    pin: GPIO27
    temperature:
      name: "Garage Temperature"
    humidity:
      name: "Garage Humidity"
    update_interval: 60s```

As per: DHT Temperature+Humidity Sensor — ESPHome

  • model (Optional, int): Manually specify the DHT model, can be one of AUTO_DETECT, DHT11, DHT22, DHT22_TYPE2, AM2302, RHT03, SI7021 and helps with some connection issues. Defaults to AUTO_DETECT. Auto detection doesn’t work for the SI7021 chip.
3 Likes

Ah brilliant thank you.

I had used the template above but not really looked at the optional one as much so thanks for pointing that out!