Open nostahl opened 6 years ago
is it possible to share error message from serial connection.
I don't have it handy atm. but it was with MicroPython version 1.9.3 and then used ampy to upload the files to the esp8266
I had a quick look at the code. Do you have a lot of ssids visible when this happens?
yes there are a lot in this area.
Then the datastructure with the wifi scan results and the html content list built from that will be rather big, maybe that is the problem (on very low RAM devices).
other wifi managers work with the same list of results.
what can be done to do this with your version?
same problem here on nodemcu (ESP12E). There are 6-9 available ssids around me. I tried to remove mqtt reference from my code to save memory but result is the same.
Traceback (most recent call last):
File "main.py", line 61, in
maybe we could emit the html piece by piece instead of assembling the whole body.
just tried this on MicroPython 1.9.3 on esp8266 nodemcu board and it lets you connect but when you try to access 192.168.4.1 it runs out of memory.. loads on esp32 ok though.