Comments (3)
Some more thoughts about the issue
The real reason behind that issue is that the ESP_WiFiManager has to run its own WebServer on port 80 to handle the Config Portal.
If you create another WebServer instance on port 80, you must be careful
- Either to delete the previous ESP_WiFiManager's WebServer instance, when Config Portal done, before creating another one (your instance) to avoid conflict and/or memory issue because the ESP8266 WebServer library possibly permits only one instance on one port 80.
Ken Taylor's version provides a workaround by issuing a reset() to restart the board and clear the created instance after exiting the Config Portal. If you'd like, you can use this workaround (Per Ken Taylor: This is a bit crude. For some unknown reason webserver can only be started once per boot up, so resetting the device allows to go back into config mode again when it reboots.
)
- The example is just an example only for that narrow / intended use case. If you modify the example, you have to consider all the unintended possibilities.
from esp_wifimanager.
Yeah I ended up just using the double reset case slightly modified so I could use double flash which was even a bit more crude. Anyway thanks for your stuff.
from esp_wifimanager.
Hi @Wakewatcher
Thanks for using the library and this bug report.
Could you post your code or minimized version of it along with the instructions how to duplicate the issue.
from esp_wifimanager.
Related Issues (20)
- [E][WiFiGeneric.cpp:137] wifiLowLevelInit(): esp_wifi_init 4353 HOT 1
- It does not store the SSID and Password in WROOM02 ESP8266 HOT 8
- Default SSID and password HOT 1
- esp_wifimanager.cpp is not compiled HOT 1
- Ratio or ceckbox HOT 1
- Wifi settings not updated HOT 1
- Timezone list in config portal missing? HOT 1
- dhcps: send_nak>>udp_sendto result 0 at random times HOT 2
- Dont' build using PlatformIO HOT 3
- Avoiding reboot when WiFi is lost. HOT 1
- Cors header not sent when saving wifi details, even when cors is enabled HOT 4
- Cant enter wifi details - clicking configuration button does not load and crashes - FSWebServer example code - esp32 HOT 1
- ESP_wifiManager.WiFi_SSID() and ESP_wifiManager.WiFi_Pass(); never returns a value and if set by other programs never get cleared HOT 1
- ADC2 problems with LAN activated HOT 1
- Starting configuration portal takes very long HOT 1
- Captive Portal Not opening Automatically on Windows/ Mac HOT 1
- Launch the "ConfigPortal" when pressing the reset button HOT 2
- WiFI doesn't show up on ConfigOnDoubleReset_Multi code HOT 1
- Populate portal wifi with saved credentials
- ESP32 wont connect to WiFi HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp_wifimanager.