-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comms: WiFi Configuration #22
Comments
Design thinking ..... (independent of looking at what others have done)
Config options
More thoughts
|
First attempts with Juerd's library
|
Made the WiFi portal time out - it only does this if it has enough information to attempt a connect, in which case after (configurable) 2 minutes it will reset and try wifi again. Tested a bit - e.g. turn off WiFi - watch portal come on - turn WiFi back on, see portal timeout and reconnect to WiFi. Note - its dumb, there is no data etc being collected while WiFi is down. |
How to get the WiFi configured - ?
I've seen several libraries ...
https://github.com/Juerd/ESP-WiFiSettings - looks ok - WiFi portal if can't connect to previous can collect other variables (e.g. MQTT) - also see OTA example here
https://github.com/tabahi/ESP-Wifi-Config - not as sophisticated as Juerd's uses local memory rather than SPIFF
https://github.com/snakeye/WifiConfig - simple, builds UI with javascript but note it MIGHT require net connectivity to fetch those dependencies ?
Either may do what is needed in terms of a captive portal, but that may not be the right solution for field deployment
Note some examples at https://github.com/snakeye/WifiConfig/blob/master/src/WiFiConfig.cpp of WiFi parms to EEPROM
The text was updated successfully, but these errors were encountered: