cotestatnt / esp-fs-webserver

ESP32/ESP8266 webserver, WiFi manager and web editor Arduino library
MIT License
117 stars 28 forks source link

Extended configuration mode and bug-fix #37

Closed BogyS closed 9 months ago

BogyS commented 9 months ago

Hello,

I started adapting the library for a project that has the following requirements:

I also modified:

Kind regards, Bogdan

cotestatnt commented 9 months ago

Hi, thank you for your valuable contribution! If you feel like it, also take a look at this variant of the library that uses ESPAsyncWebServer as base webserver. From the tests I have carried out on some of my projects I have noticed that the performance of the library in question is better than the one included with the core.

https://github.com/cotestatnt/async-esp-fs-webserver

BogyS commented 9 months ago

Hi, thank you for your valuable contribution! If you feel like it, also take a look at this variant of the library that uses ESPAsyncWebServer as base webserver. From the tests I have carried out on some of my projects I have noticed that the performance of the library in question is better than the one included with the core.

https://github.com/cotestatnt/async-esp-fs-webserver

Thanks for the suggestion, I've seen that library, but I think this one is more suitable for my project. The device I work on measures the energy to monitor a pump over time. The web server part is only used for initial configuration and some troubleshooting - in the local network. I think, it will never be the case to have more clients connected simultaneously. However, the project includes several libraries and need ota, so I have to reduce the size as much as possible - even on Esp32

I still have some changes that I would like to make, maybe you can help me :) Please let me know how you prefer to communicate for these.

Thank you, Bogdan

cotestatnt commented 9 months ago

Good morning @BogyS For next changes it's the same for me: you can open an issue or if you already have some working code, make a pull request as you have already done.

As for your project, keep in mind that you can use a partition scheme that reserves more space for the firmware (for example, I recently developed a project with a firmware of almost 1.6Mbytes and I selected "Huge app").

For firmware updates, consider that you can also do it from the browser without adding other libraries. In the "async" library for example, I integrated this functionality directly into the /setup page. As soon as I have some time I'll do it in this library too

image