Esp8266 + DHT21


#1

Hi,
My HA shows wierd spikes in temp graph. I’m using esp8266 12E + am2301 which is DTH21. I did setup DTH.conf in Arduino IDE acordingly and still the same problem. Any help?

Thank You


#2

Hi could you post how your graph looks like?


#3


#4

Humidity looks good and even. Maybe faulty sensor?


#5

not so high spike in my point of view, with DHT21 I did a routine to average the measurement on another weather station that I did


#6

Could you show how to do that routine?


#7

I store the last 20 values receceived with a timestamp and each time a new value received is above or below the average of the last 20 ± a threshold I don’t publish it


#8

but maybe just try a new sensor and it will be ok…


#9

Ok. Thank you so much!