Comments on: ESP32 DHT11/DHT22 Web Server – Temperature and Humidity using Arduino IDE https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 15 Mar 2025 11:47:33 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-1003193 Mon, 27 Jan 2025 18:49:29 +0000 http://randomnerdtutorials.com/?p=39319#comment-1003193 In reply to Alex V.

Hi.
Please see the solution for this issue here: https://rntlab.com/question/solvedassert-failed-tcp_alloc-idf-components-lwip-lwip-src-core-tcp-c1851-required-to-lock-tcpip-core-functionality/
Regards,
Sara

]]>
By: Alex V https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-993990 Tue, 24 Dec 2024 03:23:25 +0000 http://randomnerdtutorials.com/?p=39319#comment-993990 Hi,
I got these messages when verbose output enabled for compile. And can not find the reason for these, Hope you can offer some help. Thank you.
Alex

In file included from C:\Users\pilot\AppData\Local\Temp.arduinoIDE-unsaved20241123-6504-1i5l106.xzefh\sketch_dec23b\sketch_dec23b.ino:8:
c:\Users\pilot\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:350:10: note: declared here
350 | void send_P(int code, const String& contentType, PGM_P content, AwsTemplateProcessor callback = nullptr) {
| ^~~~~~
C:\Users\pilot\AppData\Local\Temp.arduinoIDE-unsaved20241123-6504-1i5l106.xzefh\sketch_dec23b\sketch_dec23b.ino: In lambda function:
C:\Users\pilot\AppData\Local\Temp.arduinoIDE-unsaved20241123-6504-1i5l106.xzefh\sketch_dec23b\sketch_dec23b.ino:153:20: warning: ‘void AsyncWebServerRequest::send_P(int, const String&, const char*, AwsTemplateProcessor)’ is deprecated: Replaced by send(int code, const String& contentType, const char* content = asyncsrv::empty, AwsTemplateProcessor callback = nullptr) [-Wdeprecated-declarations]
c:\Users\pilot\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:350:10: note: declared here
350 | void send_P(int code, const String& contentType, PGM_P content, AwsTemplateProcessor callback = nullptr) {
| ^~~~~~
C:\Users\pilot\AppData\Local\Temp.arduinoIDE-unsaved20241123-6504-1i5l106.xzefh\sketch_dec23b\sketch_dec23b.ino: In lambda function:
C:\Users\pilot\AppData\Local\Temp.arduinoIDE-unsaved20241123-6504-1i5l106.xzefh\sketch_dec23b\sketch_dec23b.ino:156:20: warning: ‘void AsyncWebServerRequest::send_P(int, const String&, const char*, AwsTemplateProcessor)’ is deprecated: Replaced by send(int code, const String& contentType, const char* content = asyncsrv::empty, AwsTemplateProcessor callback = nullptr) [-Wdeprecated-declarations]
c:\Users\pilot\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:350:10: note: declared here
350 | void send_P(int code, const String& contentType, PGM_P content, AwsTemplateProcessor callback = nullptr) {
| ^~~~~~
Compiling libraries…
Compiling library “WiFi”

]]>
By: Alex V. https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-992821 Thu, 19 Dec 2024 19:04:45 +0000 http://randomnerdtutorials.com/?p=39319#comment-992821 In reply to Sara Santos.

Sara, yes it works now. Thank You!

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-992722 Thu, 19 Dec 2024 10:52:05 +0000 http://randomnerdtutorials.com/?p=39319#comment-992722 In reply to Alex V.

Hi.
This is an issue with the latest version of the ESP32 board.
Please downgrade your installation to version 3.0.7.
Tools > Boards > Boards Manager> ESP32, and downgrade to version 3.0.7.
Regards,
Sara

]]>
By: Alex V https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-992629 Thu, 19 Dec 2024 04:32:54 +0000 http://randomnerdtutorials.com/?p=39319#comment-992629 Hi, I’m new to programming. And do enjoy your tutorials and blog. No problems so. Well I was able to resolve them my self. But this evening I got this message and unable to find solution so far. Can you please offer some suggestions. Thank you.
Alex
Rebooting…
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4916
load:0x40078000,len:16436
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3524
entry 0x400805b8
Connecting to WiFi..
192.168.1.109

assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)

Backtrace: 0x40082475:0x3ffb2000 0x4008c291:0x3ffb2020 0x4009253e:0x3ffb2040 0x4 00f2267:0x3ffb2170 0x400f23dd:0x3ffb2190 0x400db1f8:0x3ffb21b0 0x400da536:0x3ffb 2200 0x400d2b6a:0x3ffb2220 0x400df277:0x3ffb2270 0x4008cfda:0x3ffb2290

ELF file SHA256: 5eef91071

Rebooting…
ets Jul 29 2019 12:21:46

]]>
By: januel https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-988273 Mon, 02 Dec 2024 14:31:29 +0000 http://randomnerdtutorials.com/?p=39319#comment-988273 bonjour
merci du conseil, j’ai changer de navigateur et tout est rentrer dans l’ordre
Cordial,
michel

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-988208 Mon, 02 Dec 2024 10:12:40 +0000 http://randomnerdtutorials.com/?p=39319#comment-988208 In reply to januel.

Hi.
I think it’s an issue with the Safari web browser. Some update that prevents accessing the web server
You need to use other browser. Try with Google Chrome.
I’m sorry for he issue.
Regards,
Sara

]]>
By: januel https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-988182 Mon, 02 Dec 2024 06:59:20 +0000 http://randomnerdtutorials.com/?p=39319#comment-988182 bonjour
j’ai réaliser votre montage ,il a super bien marcher puis au bout d’une semaine esp toujours connecter au wifi la réponse de safari ne peut pas ouvrir la page (impossible d’analyser la réponse ) lorsqu’il raccorder au moniteur j’ai les températures que se passe t’il je ne comprend pas tout marcher super bien ?
merci pour la réponse a venir

]]>
By: Frase https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-945296 Sun, 04 Aug 2024 21:11:48 +0000 http://randomnerdtutorials.com/?p=39319#comment-945296 insightful i will try it but can i connect multiple sensors on it.

]]>
By: David Hughes https://randomnerdtutorials.com/esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/#comment-886507 Sat, 27 Jan 2024 17:24:16 +0000 http://randomnerdtutorials.com/?p=39319#comment-886507 I have always been a great enthusiast for your site and projects.

I have to confess that when it comes to the webserver side of things I am at a bit of a loss and could really do with a bit of help to progress and get my project off the ground.

I have successfully run both the ESP32 Control outputs and ESP32 DHT11/22 Webserver projects independently. For my project I need to be able to combine these and have sensor readings displayed and also the ability control outputs. So combining the two. I also want to add some additional sensors to the web page. Do you have any examples of how to do this?

I have tried merging elements of the codes and adding new sensor data but have failed dismally 🙁 mainly because I don’t really understand what I am doing. I am fine with non html stuff and have created many projects previously, but never with html etc.

Can you help me out?

David

]]>