Comments (4)
Hi,
You could simply achieve that by using WifiMulti as in the setup part of the example, and having WiFiManager after it, if it's not connected. You would then have the preset multiple AP's and fallback if that didn't work.
Since it's and already made and distributed with the core library, it wouldn t make much sense to duplicate it's functionality.
Cheers
/edit: actually it seems the library is async so what i wrote above won't work. I ll give it some thought.
from wifimanager.
Thanks - really good support and feedback from you so far!
To duplicate the code was not my intention, but to replace it in your examples and use it as default way to connect as it does not care if there is one or multiple predefined connections.
from wifimanager.
Unfortunately there are some pretty big differences on how the two methods work
The default way of connecting is included by default in all sketches, WiFiMulti would need an additional library to be included. WiFiMulti is actually using the default wifi connect in the background anyway.
The normal way of connecting tries to connect and if it can't it releases control back to you (so i can switch to AP mode and start a webserver, etc), WIFiMulti is made to scan continuously for one of the known networks until it manages to connect.
from wifimanager.
i will close this for now, will ponder at it more in the future
from wifimanager.
Related Issues (20)
- Wemos d1 mini : not connecting after web portal config HOT 2
- ESP32 crashes when clicking on "Config WiFi" or "Setup" in webportal HOT 2
- Connect to strongest network signal where duplicate AP's exist.
- Question - how to disable captive portal redirection in version 0.16.0?
- 192.168.4.1 : blank page HOT 3
- WiFi connection stuck in an infinite retry HOT 6
- WiFi settings are not saved if ESP32 is restarted in SaveConfigCallback HOT 26
- Add support for simultaneo use whit ESPAsyncWebServer.h HOT 4
- Add better detection for wrong password failures HOT 1
- Esp8266 and deep sleep mode
- ESP32 Automatic Network Mode Switching with Arduino Sketch Troubleshooting HOT 7
- Avoid compiler warning. Wrong specifier used for printf statement. HOT 3
- error Exception (3) on ESP8266 with version 2.0.17 and not 2.0.16 HOT 5
- Custom page addition matching current layout and format
- If anyone wants to change the name (SSID) of the Access Point (AP) that appears (with the IP address 192.168.4.1) HOT 12
- Wifimanager and ESP Mail Client HOT 4
- Possibility to change pass for SoftAP from webui.
- Feature configurable? WiFi AP started when local WiFi is down HOT 2
- How to save and restore Ip adress from webportal ?
- Dedicated Parameter Page HOT 1
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 wifimanager.