-->
Page 1 of 2

Phone app based 8266 Wifi Setup?

PostPosted: Sat Sep 14, 2019 11:18 am
by wakewatcher
I've got some applications that use Wifi and right now of course I have to edit the sketch to change WiFi credentials. Is there some general wrapper for a sketch setting up wifi without sketch editing. I envision something like my liftmaster garage door setup where when my garage door device if reset becomes a wifi source which my liftmaster phone app can connect to and then I give it the credentials of my home wifi which stays there until changed. So the phone app only needs to configure the 8266 wifi and nothing else at a minimum. This way I could easily share my IoT stuff with others without them needing to have any access to Sketch editors.

Re: Phone app based 8266 Wifi Setup?

PostPosted: Sun Sep 15, 2019 1:12 pm
by wakewatcher
Since posting this. I found the stuff on wifiManager (e.g., http://www.martyncurrey.com/esp8266-and ... ifimanager) So I've got something to play with and investigate but I'm thinking it might not, as is, work in my situation as I need to configure a server and a client and force an IP address for the server so the client can connect to the server after recovering from loss of power where if the server IP address is not forced then it might be assigned to a different IP address when rebooted and the client then can't connect to it.

Re: Phone app based 8266 Wifi Setup?

PostPosted: Sun Sep 15, 2019 6:44 pm
by davydnorris
Search for WifiManager - it's an Arduino based system that does exactly what you want

Re: Phone app based 8266 Wifi Setup?

PostPosted: Sun Sep 15, 2019 9:44 pm
by wakewatcher
Thanks!