Hi,
I have a WeMos B4R application that needs to use the internet connection so the first it does is to connect to my home wifi. To do that I have a hardcoded my home router wifi pw in the code.
I would like to make this board usable by other people and of course that would mean that the wemos would need to connect to their home router which hopefully has a different wifi pw.. Is there a possible way to do that?. Is there a way to "send" some info to the device before it actually connects to the wifi?
thanks
Edit: A simpler and more powerful tool is available: https://www.b4x.com/android/forum/threads/esp-configurator-based-on-b4rserializator.81452/ The attached project allows the user to configure the ESP8266 WiFi settings (SSID and password). When the program starts it does several things: 1...
This tool replaces the browser based solution (https://www.b4x.com/android/forum/threads/esp8266-wifi-remote-configuration.68596/). It is simpler and much more powerful. B4RSerializator, which converts objects to bytes and vice versa, is used for the communication with the B4J app and to save...
You can start the Wemos in AP (Access Point) mode, and you would connect directly to the wemos created wifi network using your phone and configure the external wifi access on a served webpage. After that reboot the wemos and if the config is correct it would try to connect in station mode using the saved credentials first. In case of failure back to AP mode.
thank you both @thetahsk and @Num3 this really looks like what I was looking for. I will go through the above examples during the weekend.
Just one dumb question..(sorry for that). how do I start the Wemos in AP mode?
thanks!!
it is a 433mhz RF-MGTT Gateway hard configuration: 1 esp8266 Witty Cloud in front of 433mhz : tested with receptor RXB6 and RX470B. tested with transmitter WL103 /STX882 receptor and transmitter are connected to power 5V and connected to ESP without...
www.b4x.com
Provisioning is done with a basic navigator connected to 8266 on AP network for first time and on direct IP address when module is connected to network
Provisioning is stored in eeprom
just one comment: yesterday afternoon at about 17:30 I posted a question for a practical problem I needed to solve. When I woke up this morning the solution was there and by 12: 30am today I had the application working as I wanted. This is what I call an incredible community and an incredible platform! Thanks!