DHT22 sensor not showing

Thanks for the confirmation!

For the time being, using the older libraries will have to be the quick fix, until we can sort out what the issue with the new libraries might be.

In the end though, old libraries, new libraries, the temperature and humidity is being published correctly now :slight_smile:

Thank you for your help! Yeah for this it’s not that big a problem. Hope we can find the cause so others won’t have the same problem.

Thanks for pointing that, Added some results below:

And pushed a PR:

1 Like

So we hope they fix it in a newer version or OMG just keeps an older version?

I would just keep it with an older version, doesn’t seem to have a big value add to bump it

Hi DigiH, sorry for the extremely late response.
I had used the library esp32DHT (this version: https://raw.githubusercontent.com/bertmelis/esp32DHT/4f57bf3ef14fb606305bb55317d31d3df3322b32/src/esp32DHT.cpp) and had to change line 151 from if (pulse > 120) { to if (pulse > 100) { to get the fake DHT22s to work. In the mean time I see that library changed a lot so I don’t know if now it would have worked without changes.

1 Like