Need Lua Code equivalent to WifiManger library
Posted: Tue Jan 12, 2016 3:33 pm
I found this https://github.com/tzapu/WiFiManager which is quite impressive, in terms of what it does.
I exactly need this feature, but runnable on LUA firmware. Could someone please help me to write this LUA code?
1. Connect to Wifi AP using the already saved AP details in STATION mode.
2. If connection fails switch to SOFT_AP mode and display a list of available Wifi Access points as output of a webserver, hosted on the ESP AP Gateway.
3. When user chooses one of the AP from the displayed Dropdown list, make another server call, which would store the AP details in file and connect to the selected Wifi. Saved file will be used when next time ESP8266 starts up.
4. When running on STANDALONE mode, host a web server to control the 2 GPIO pins.
Do you think viewtopic.php?f=19&t=5466 is same as what I am asking?
I exactly need this feature, but runnable on LUA firmware. Could someone please help me to write this LUA code?
1. Connect to Wifi AP using the already saved AP details in STATION mode.
2. If connection fails switch to SOFT_AP mode and display a list of available Wifi Access points as output of a webserver, hosted on the ESP AP Gateway.
3. When user chooses one of the AP from the displayed Dropdown list, make another server call, which would store the AP details in file and connect to the selected Wifi. Saved file will be used when next time ESP8266 starts up.
4. When running on STANDALONE mode, host a web server to control the 2 GPIO pins.
Do you think viewtopic.php?f=19&t=5466 is same as what I am asking?