I have the strange pb.
My esp8266 was working fine with my DHT22 and then failed every time.
I loaded an example sketch in a other ESP8266 and I have the same pb.... until I shut down -> up the DHT22 when the ESP8266 is working.
To check more, I added this at the setup before
digitalWrite(0, LOW); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(0, HIGH);
And it works. But I don't know why I need to do this "pull up". PS : I already tried with or without the 10K resistor, same pb. PS2 : I already tried with 3.3v or 5V for DHT22. Same pb.
Any idea ?