[GH-ISSUE #158] Support Async TCP and Async Webserver #122

Closed
opened 2026-02-28 01:23:33 +03:00 by kerem · 9 comments
Owner

Originally created by @kaeferfreund on GitHub (Apr 24, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/158

Hi,

since I have switched to async tcp and web server by me-no-dev, things have gotten a lot faster. But sadly the WiFi Manager doesn't work anymore, bec its based on the "normal" WebServer Library.

Would appreciate if we could port the WiFi Manager to async

Originally created by @kaeferfreund on GitHub (Apr 24, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/158 Hi, since I have switched to async tcp and web server by me-no-dev, things have gotten a lot faster. But sadly the WiFi Manager doesn't work anymore, bec its based on the "normal" WebServer Library. Would appreciate if we could port the WiFi Manager to async
kerem 2026-02-28 01:23:33 +03:00
Author
Owner

@alanswx commented on GitHub (Jul 2, 2016):

Here is a first version of this - it needs some work still:
https://github.com/alanswx/ESPAsyncWiFiManager
Also it should have a non-modal mode.

<!-- gh-comment-id:230126864 --> @alanswx commented on GitHub (Jul 2, 2016): Here is a first version of this - it needs some work still: https://github.com/alanswx/ESPAsyncWiFiManager Also it should have a non-modal mode.
Author
Owner

@btomer commented on GitHub (Nov 6, 2016):

If anyone is still interested in this, I wrote a WiFiManager fork that supports ESPAsyncWebServer and behaves exactly the same as the current version of WiFiManager (from master):
https://github.com/btomer/WiFiManager

<!-- gh-comment-id:258720019 --> @btomer commented on GitHub (Nov 6, 2016): If anyone is still interested in this, I wrote a WiFiManager fork that supports ESPAsyncWebServer and behaves exactly the same as the current version of WiFiManager (from master): [https://github.com/btomer/WiFiManager](https://github.com/btomer/WiFiManager)
Author
Owner

@kentaylor commented on GitHub (Nov 8, 2016):

I'm interested, partly because I don't like rebooting after WiFi manager completes . A WiFiManager that blocks until completion is a good design for some scenarios and I understand it will not with the ESPAsyncWebServer, is that correct? I see that you have a compiler directive to choose which web server version to use. Why was that design decision made rather than only having the ESPAsyncWebServer? Would you be willing to add your changes to this version of WiFiManager? It is quite a bit different from the Tzapu version now and while I can figure out what you've done and copy, you would be able do it more easily.

<!-- gh-comment-id:259030447 --> @kentaylor commented on GitHub (Nov 8, 2016): I'm interested, partly because I don't like [rebooting](https://github.com/kentaylor/WiFiManager/blob/master/examples/ConfigOnSwitch/ConfigOnSwitch.ino#L88) after WiFi manager completes . A WiFiManager that blocks until completion is a good design for some scenarios and I understand it will not with the ESPAsyncWebServer, is that correct? I see that you have a compiler directive to choose which web server version to use. Why was that design decision made rather than only having the ESPAsyncWebServer? Would you be willing to add your changes to [this version](https://github.com/tzapu/WiFiManager/) of WiFiManager? It is quite a bit different from the Tzapu version now and while I can figure out what you've done and copy, you would be able do it more easily.
Author
Owner

@tzapu commented on GitHub (Nov 8, 2016):

@kaeferfreund adding async web server to wifimanager, while there s no async webserver in the core would mean people would need to add another library, which would raise the entry barrier.
The way that @btomer did it though, could certainly sort that.

nice work @btomer , thanks. i m sure people will find it usefull. maybe i should compile all these links/branches in a list

@kentaylor i wrote a POC some time ago that lets you use a webserver with WiFiManager without reseting. I m sure it can be adapted to your sketches, see here https://gist.github.com/tzapu/ecc0759829d30d5a6152

<!-- gh-comment-id:259084923 --> @tzapu commented on GitHub (Nov 8, 2016): @kaeferfreund adding async web server to wifimanager, while there s no async webserver in the core would mean people would need to add another library, which would raise the entry barrier. The way that @btomer did it though, could certainly sort that. nice work @btomer , thanks. i m sure people will find it usefull. maybe i should compile all these links/branches in a list @kentaylor i wrote a POC some time ago that lets you use a webserver with WiFiManager without reseting. I m sure it can be adapted to your sketches, see here https://gist.github.com/tzapu/ecc0759829d30d5a6152
Author
Owner

@rjsachse commented on GitHub (Jun 7, 2018):

Would be good to implement @btomer way with a simple define

<!-- gh-comment-id:395320627 --> @rjsachse commented on GitHub (Jun 7, 2018): Would be good to implement @btomer way with a simple define
Author
Owner

@dronecz commented on GitHub (Jul 24, 2020):

@tablatronix Is there any chance that async web server will be included in WiFiManager? I´m trying to change actual code to work with define as @btomer did, but so far no luck. Thx

<!-- gh-comment-id:663706848 --> @dronecz commented on GitHub (Jul 24, 2020): @tablatronix Is there any chance that async web server will be included in WiFiManager? I´m trying to change actual code to work with define as @btomer did, but so far no luck. Thx
Author
Owner

@tablatronix commented on GitHub (Jul 24, 2020):

It should be easy to do in development alpha.m version

<!-- gh-comment-id:663775578 --> @tablatronix commented on GitHub (Jul 24, 2020): It should be easy to do in development alpha.m version
Author
Owner

@nferch commented on GitHub (Dec 30, 2020):

rebased and updated @btomer 's patch against master branch a while back at https://github.com/nferch/WiFiManager/tree/asyncwebserver

<!-- gh-comment-id:752325688 --> @nferch commented on GitHub (Dec 30, 2020): rebased and updated @btomer 's patch against master branch a while back at https://github.com/nferch/WiFiManager/tree/asyncwebserver
Author
Owner

@tablatronix commented on GitHub (Dec 30, 2020):

FYI this is in async branch based off development, do not maintain forks
#1121

<!-- gh-comment-id:752326377 --> @tablatronix commented on GitHub (Dec 30, 2020): FYI this is in async branch based off development, do not maintain forks #1121
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#122
No description provided.