0

I need to change WiFi credentials of multiple ESP8266 in one go, without needing to change passwords for each of them individually. I know there is a WiFiManager library, which makes your ESP8266 access point when not connected to any network, but that will require me configure each of them individually.

How can I save the fatigue of changing their wifi credentials individually? All of them needs to connect to the same network, whose password is recently changed.

  • You could implement a "provisioning service". Kind of like WiFiManager but in reverse. If you can't connect to the real access point then connect to the provisioning access point, from which you can then obtain the credentials to connect to the real access point. Of course you just move your security weakness to the provisioning access point which can never have the details changed... – Majenko Mar 24 at 11:32
0

Have your devices always try to download a config file from a webserver you control. If the config file exists and has new wifi credentials then it can update itself and reset. When you actually change the password for the AP all the devices will already have the new password.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.