As the title says... Chat on...
User avatar
By Prithwiraj Bose
#38620 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?
User avatar
By Gustavo Nobrega
#77779 Hi!

I wrote one here: https://github.com/gfnord/lua_wifimanager

Please, could you test it and give me some feedback?

Thanks!

Prithwiraj Bose wrote: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 http://www.esp8266.com/viewtopic.php?f=19&t=5466 is same as what I am asking?
User avatar
By marcelstoer
#77858
Gustavo Nobrega wrote:https://github.com/gfnord/lua_wifimanager


What extra feature does this one offer that the firmware module "enduser setup" doesn't already have: https://nodemcu.readthedocs.io/en/lates ... ser-setup/ ?