Comments on: Input Data on HTML Form ESP32/ESP8266 Web Server using Arduino IDE https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 27 Jul 2025 04:41:49 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Jonathan https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1075207 Sun, 27 Jul 2025 04:41:49 +0000 https://randomnerdtutorials.com/?p=88796#comment-1075207 In reply to beta-L-user.

I just got the same error. I was able to fix by moving the html string out of program memory. Remove PROGMEM from this line:

const char index_html[] PROGMEM = R”rawliteral(

]]>
By: beta-L-user https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1060297 Mon, 23 Jun 2025 11:13:20 +0000 https://randomnerdtutorials.com/?p=88796#comment-1060297 In reply to John Arneaud.

No!
The code crashes using the latest versions applying to ESP8266s. The code works for ESP32!
Please read my post sent may, 6th and 7th. You see the dump from the serial port, followed by a new start of the ESP8266. I tried different onces (NodeMCU 0.9 and 1.0, Wemos D1, Wemos D1 mini, D1 mini pro) and all of them do not work with the latest versions.

]]>
By: John Arneaud https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1056268 Tue, 10 Jun 2025 05:30:23 +0000 https://randomnerdtutorials.com/?p=88796#comment-1056268 OK, so I can do this if I dump the data in the file and then extract it, e.g if Integer=2 and float =23.4 then I can multiply and it works OK. BUT, this seems a bit roundabout. I’m guessing that HTML works with text only. Is that the case?

]]>
By: John Arneaud https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1056206 Tue, 10 Jun 2025 02:10:45 +0000 https://randomnerdtutorials.com/?p=88796#comment-1056206 RE: https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/
You say that there are three variable types entered but I think that they are treated as character strings. In the Arduino code, it should be possible to say multiply the floating point by the integer but the Arduino code can’t do this because they are identified as strings.
Is it possible to read data into Floating and Integer formats and if so an example please. No rush for this but I think that your example does not show Integer/Float inputs.
I have found your tutorial useful but I haven’t really seen operations on integer/floating point variable read from a web page.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1035495 Thu, 08 May 2025 10:03:55 +0000 https://randomnerdtutorials.com/?p=88796#comment-1035495 In reply to beta-L-user.

Hi.
I’m sorry, but I don’t know how to fix the issue.
We recently updated all our web server projects, and they were all working.

At the moment, I don’t know why this doesn’t work for the ESP8266. Maybe some library updates broke something, or there is something wrong now with the code that I can’t identify.

Try to temporarily run the codes with older versions of the libraries.
Or use the deprecated versions that were working.

Regards,
Sara

]]>
By: beta-L-user https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1035003 Wed, 07 May 2025 15:18:23 +0000 https://randomnerdtutorials.com/?p=88796#comment-1035003 In reply to Sara Santos.

the code works until I try to reach the webpage:
(Arduino IDE 2.3.6; also tried with 1.8.19)
17:09:32.641 -> 3fffee60: 3fff0b8c 3fff0834 3fff095c 40206e64
17:09:32.641 -> 3fffee70: 3fff00a0 3fff0094 0000000d 3ffef3a8
17:09:32.641 -> 3fffee80: 3ffef810 3ffef3a8 3fff0b8c 3ffef648
17:09:32.641 -> 3fffee90: 3fff0834 3ffef64c 3ffef64d 4021c94d
17:09:32.641 -> 3fffeea0: 3ffed240 00000006 00000000 3fffdab0
17:09:32.641 -> 3fffeeb0: 00000018 00000000 3ffe9910 00000030
17:09:32.673 -> 3fffeec0: 3ffe0000 3fff00ba 3fff00b2 3ffef3a8
17:09:32.673 -> 3fffeed0: 3ffef810 3fff0baa 3fff0b8c 402218ad
17:09:32.673 -> 3fffeee0: 00000014 3ffef3a8 00000000 402195a5
17:09:32.673 -> 3fffeef0: 00000000 00000211 3ffe85f0 4010072a
17:09:32.673 -> 3fffef00: 4023ddfc 3fff08f4 3ffefc4c 3fff0604
17:09:32.673 -> 3fffef10: 3ffef3a8 00000008 3fff0b8c 40218c65
17:09:32.673 -> 3fffef20: 3fffdc80 3ffefc4c 3fff08f4 40218a78
17:09:32.705 -> 3fffef30: 40240fb1 3ffefc4c 3fff08f4 40240fc3
17:09:32.705 -> 3fffef40: 3fff0b9c 3fff0b8c 00000000 3fffdcb0
17:09:32.705 -> 3fffef50: 4023da2b 00000000 3fff08f4 40242293
17:09:32.705 -> 3fffef60: 40000f49 3fffdab0 ffffff01 40000f49
17:09:32.705 -> 3fffef70: 40000e19 000511cb bff00000 0000bfff
17:09:32.705 -> 3fffef80: 00000005 aa55aa55 000000ed 4010527d
17:09:32.705 -> 3fffef90: 40105283 bff00000 0000bfff 00464e49
17:09:32.737 -> 3fffefa0: 4010000d bff00000 000511cb 401000ab
17:09:32.737 -> 3fffefb0: 402329b0 3fffef4c 40232969 3fffff18
17:09:32.737 -> 3fffefc0: 3fffffd0 00000000 00000000 feefeffe
17:09:32.737 -> 3fffefd0: feefeffe feefeffe feefeffe feefeffe
17:09:32.737 -> 3fffefe0: feefeffe feefeffe feefeffe feefeffe

…. lots of same feefefe ….. (and at the end different information)

17:09:33.889 -> 3fffffa0: 3fffdad0 00000000 3ffef0a4 3ffef0d0
17:09:33.922 -> <<<stack<<<
17:09:33.922 ->
17:09:33.922 -> ————— CUT HERE FOR EXCEPTION DECODER —————
17:09:33.922 ->
17:09:33.922 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
17:09:33.922 ->
17:09:33.922 -> load 0x4010f000, len 3424, room 16
17:09:33.922 -> tail 0
17:09:33.922 -> chksum 0x2e
17:09:33.922 -> load 0x3fff20b8, len 40, room 8
17:09:33.968 -> tail 0
17:09:33.968 -> chksum 0x2b
17:09:33.968 -> csum 0x2b
17:09:33.968 -> v000511d0
17:09:33.968 -> ~ld

]]>
By: beta-L-user https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1034612 Tue, 06 May 2025 10:14:28 +0000 https://randomnerdtutorials.com/?p=88796#comment-1034612 In reply to Sara Santos.

Sorry. Forgot to say that die other / older versions do not exist during tests.

]]>
By: beta-L-user https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1034608 Tue, 06 May 2025 10:01:58 +0000 https://randomnerdtutorials.com/?p=88796#comment-1034608 In reply to Sara Santos.

I’m running the code on a D1 mini pro (esp8266) which works reliably.

The used other libraries are ASync TCP 3.4., ESP Async TCP 2.0.0, all from ESP32Async.

Your code works up to ESP Async Webserver version 3.0.6. Later version lead to exceptions. The webserver itself seems not to work, LittleFS does not have any data and sometimes the loop tells me the absence of the none-existance of the files, but more often an exception occurs and the code restarts. Within the browser(s) I don’t get any connection to the D1 mini pro.

Using ESP Async Webserver version 3.0.6. with the above mentioned other library-version the code works well.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1034589 Tue, 06 May 2025 08:18:00 +0000 https://randomnerdtutorials.com/?p=88796#comment-1034589 In reply to beta-L-user.

Hi.
We recently updated all our web server tutorials.
Are you using the EspAsyncWebServer libraries by ESP32Async?
Did you delete the other versions of the libraries?
Regards,
Sara

]]>
By: beta-L-user https://randomnerdtutorials.com/esp32-esp8266-input-data-html-form/#comment-1034550 Tue, 06 May 2025 04:58:08 +0000 https://randomnerdtutorials.com/?p=88796#comment-1034550 I was trying to follow the steps of introduction to an asynchronous webserver some months ago and really appreciated the simplicity of the code. Trying to follow the steps again and building code for my own demands, I failed even running both of your scripts.

Trying to reproduce what worked for a while, I downgraded the Async libraries. In fact “ESP Asnc Webserver” does not work with versions higher than 3.0.6. Current version is 3.7.7.

Is it possible to update the scripts for the current library? The code gets compiled, but I get a lot of exception erros whicht lead to restarts and I don’t get the html-pages running.

best regards
beta-L-user

]]>