Replies: 2 comments 8 replies
-
Your device sRAM is running on fumes: Please post the Memory section from the Information webpage right after a reboot. |
Beta Was this translation helpful? Give feedback.
-
Any free heap under 20k will lead to instability on ESP32. With any firmware binary. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure when a problem can be entered as "formal" issue, so let's first start a discussion.
I have a functioning set of pages on my plate, and even have done a custum 'extra' by reporting an extra sensor value (the temperature sensor on the Lanbon8 plate (mine has it). Every minute the plate sends an extra mqtt message to the broker with the present value. That all works, and stays working after a long period (12 hours and counting).
My problem arises when i try to start the File Editor in the web config system. After i hit the button on the form, the console shows:
�[1000D�[0KPrompt > �[1000D�[9C[08:45:30.680][ 3060/ 4912 37][44940/45172 1] HTTP: Sending 200 /edit.htm to client connected from: 192.168.0.149 �[1000D�[0KPrompt > �[1000D�[9C[08:45:30.871][ 1332/ 3056 56][44940/45172 1] HTTP: Sending 200 /static/script.js to client connected from: 192.168.0.149 �[1000D�[0KPrompt > �[1000D�[9C[08:45:47.205][ 1396/ 5272 73][44940/45172 1] MQTT: Disconnected �[1000D�[0KPrompt > �[1000D�[9C[08:45:47.218][ 1396/ 5272 73][44940/45172 1] MSGR: File not found: L:/mqtt_off.cmd �[1000D�[0KPrompt > �[1000D�[9C[08:46:02.231][ 1396/ 5272 73][44940/45172 1] MQTT: Transport error �[1000D�[0KPrompt > �[1000D�[9C[08:46:02.240][ 1396/ 5272 73][44940/45172 1] MQTT: Disconnected
So right after the plate sends (or tries to) the /static/script.js file, the connection with the mqtt broker is gone, and the connection with the web config pages/forms is also gone, right after an empty File Editor page (after waiting for 10 seconds) is presented (empty as in: the page is there, but no files are presented).
My suspicion is that the script.js file is somehow broken. I tried (via ftp) to upload the old File Editor (the standard Arduino one, from version 6.3.0; as edit2.htm), and that edit page is working.
(Other parts/forms of the web config are also working.)
I'm using v0.7.0-rc7_74d0f5b for building in PlatformIO, not sure if that is the latest, because i started with this version two week ago...
Beta Was this translation helpful? Give feedback.
All reactions