-->
Page 2 of 2

Re: Wifi connection and Wifi AP at same time

PostPosted: Wed May 03, 2017 7:42 am
by faramon
I do whole day researching google for that example and at least I found it...

https://github.com/pedrominatel/esp8266-nodemcu-websetup

With this solution we have possibility to connect to wifi network and save the ssid and pass. If we try to connect to another wifi then script get in AP mode if connection could not be established and AP serve the webpage from local network to connect with browser or smartphone and adjust and pick new wifi that will be stored in lc file.

Now is time to try to put code in my lua scripts...

Faramon

Re: Wifi connection and Wifi AP at same time

PostPosted: Wed May 03, 2017 8:57 am
by marcelstoer
We have a module specifically designed for that: https://nodemcu.readthedocs.io/en/lates ... ser-setup/ No need to do all of that with Lua yourself (or 3rd party script).

Re: Wifi connection and Wifi AP at same time

PostPosted: Wed May 03, 2017 10:17 am
by faramon
O, I did not know that, thanx.

I try to implement it in my scripts.

Thanx,
Faramon