grym
September 23, 2024, 6:23pm
1
have som issue whit esp32 s2, and dht22
on cold start i do get wrong readings
typical a few degrees c och low rf
efter reset och uppdate it gives the right readings
standard
platform: dht
pin: GPIO1
temperature:
name: “Temp rf”
humidity:
name: “rf”
update_interval: 10s
have tryed it on several esp32, and diffrent batches om dht22
any help of what this be?
Karosm
(Karosm)
September 23, 2024, 7:52pm
2
Gpio1 is not “normal” pin, it’s uart TX pin, debug output at boot. Try with Gpio4 for example.
zoogara
(Daryl)
September 23, 2024, 8:56pm
3
Also try adding the model to the config. Sometimes auto detection is a bit flaky.
model: DHT22 # or DHT22_TYPE2
grym
September 24, 2024, 4:05am
4
thanks, autodetect was the problem, model it all ok
did change pin to, but it wasent that, but i should not be using that anyway