Comments on: ESP8266 DHT11/DHT22 Temperature and Humidity Web Server with Arduino IDE https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 14 Apr 2025 08:53:07 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mohammad https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1026561 Sun, 13 Apr 2025 14:56:59 +0000 http://randomnerdtutorials.com/?p=21652#comment-1026561 In reply to josephcwshih.

I found it.
plz install ESPAsyncWebServer Version 2.1
lastet Version Have some Problem.

]]>
By: Mohammad https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1026552 Sun, 13 Apr 2025 14:35:22 +0000 http://randomnerdtutorials.com/?p=21652#comment-1026552 In reply to josephcwshih.

I have same issue.

Can anyone provide any suggestions?

]]>
By: josephcwshih https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1024204 Sun, 06 Apr 2025 16:25:47 +0000 http://randomnerdtutorials.com/?p=21652#comment-1024204 In reply to Olly.

Try to findout the IP address of Website?
BR,

]]>
By: josephcwshih https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1024201 Sun, 06 Apr 2025 16:23:31 +0000 http://randomnerdtutorials.com/?p=21652#comment-1024201 I followed this tutorial and successfully completed the project. I am very grateful to this website.

The only unresolved issue is that when the browser auto-updates, the temperature and humidity numbers appear as gibberish. However, manual updates display correctly.

Can anyone provide any suggestions?

]]>
By: Mike Manoo https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1002742 Sat, 25 Jan 2025 15:40:28 +0000 http://randomnerdtutorials.com/?p=21652#comment-1002742 Thanks very much for tutorial.
I am a newbie but I noticed in the code there are these lines in setup() function.

server.on(“/temperature”, HTTP_GET, [](AsyncWebServerRequest *request){
request->send_P(200, “text/plain”, String(t).c_str());
});
server.on(“/humidity”, HTTP_GET, [](AsyncWebServerRequest *request){
request->send_P(200, “text/plain”, String(h).c_str());
});

Should these two “send_P” calls be replaced with “send”? I was under impression that send_P is for PROGMEM variables.

]]>
By: Olly https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-1000896 Sat, 18 Jan 2025 14:27:38 +0000 http://randomnerdtutorials.com/?p=21652#comment-1000896 Yes! The esp got a valid IP Address and the temperature and humidity are showing on the serial monitor

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-998555 Thu, 09 Jan 2025 14:24:15 +0000 http://randomnerdtutorials.com/?p=21652#comment-998555 In reply to Olly.

Hi.
Can you provide more details about the issue?
Regards,
Sara

]]>
By: Olly https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-998520 Thu, 09 Jan 2025 09:22:14 +0000 http://randomnerdtutorials.com/?p=21652#comment-998520 ( )

]]>
By: Olly https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-998519 Thu, 09 Jan 2025 09:19:17 +0000 http://randomnerdtutorials.com/?p=21652#comment-998519 Again, I don’t know how you came about the below line in the code;

Do i need to replace it or leave it as it is? If change required, how do i get what to replace with. Thanks once again.

]]>
By: Stefano https://randomnerdtutorials.com/esp8266-dht11dht22-temperature-and-humidity-web-server-with-arduino-ide/#comment-998518 Thu, 09 Jan 2025 09:11:52 +0000 http://randomnerdtutorials.com/?p=21652#comment-998518 Hi, first check via serial monitor if the esp got a valid ip address, ping it.

]]>