Closed Sparkxxx closed 6 years ago
thanks.
the answer to 1 is yes kind of. The ESP has really limited resources, it can only handle 5 connections. I suspect that it leaves open connections from the previous refresh, which are held open for the max timeout as the page was refreshed. Each time you load my manager page, it puts out a request for data as a post. I'm not sure there is any way around it except to not do that! :)
2) This is an interesting point. How would you propose to re configure it? You would essentially be locked out. In some of my own deployments, I use GPIO 0 as a switch, if you hold it down for 10 seconds you get a factory reset. this would be one way, but I can't build this into the ESPmanager.
what are your thoughts?
Thanks.
Sorry for the delay
3) Is is fairly modular. the includes are in the espmanager.h
4) This tasker is meant to be behind the scenes. you can just spawn your own. check the header for taster it has some cool stuff, including a process dump.
Hi Sticilface,
Nice work with the application, it looks promissing. I have tested it and I have found some issues with the web server.
If you make fast refreshes the http server crashes (timed out) but the app on the esp continues to run with a heap of 19064 in my case (serilal debug). Do you know anything about this behavior?
I couldn't find a way to disable the web interface (I would like to do this especially that the authentification is not implemented yet). Could you help with disabling the web interface after config is done?
Thank you.