DHT22 Invalid readings! Please check your wiring (pull-up resistor, pin number)

I have a problem with DHT22. from the very beginning after a while of work it becomes unavailable. I have installed a resistor, I have already replaced it twice. I changed the GPIO input and gave a new 3.3V power supply. Nothing helps.

Please help :cry:

First read this. Don’t post screen shots of yaml or logs. Post the text, in full, enclosed in formatted text tags (see note 11)

Your problem may be that GPIO01 is not a recommended pin for input, either on ESP8266 or ESP32. These are good references for older boards:

Maybe try a different pin.

Bare sensor or module?
What Esp board?
Resistor value?
How long is your wiring?
…

Dht22 AM2302B
Sonoff Basic r2
4.7K 1% SMD 0805 Rezystor PANASONIC
Long 30cm

Bare sensor or module?
Module typically has 100nf capacitor and 5k resistor already onboard.

Also, you can try:
model: AM2302

Próbowałem Model: AM2302. Nic nie zmieniło.

That has 5k pullup already inside, try without external pullup.
And use that specific model on your yaml:
model: AM2302

The same :frowning:

Read post#2