I am working on a project for a friend who is not very tech savvy involving an ESP8266. It will need to be connected to his WiFi network.

The issue is that he occasionally changed the password to his WiFi network. Since I will not be able to access this device at a moments notice, it needs to be able to adapt to a change in the password. Is this possible with the ESP8266, or should I switch to an Arduino WiFi board, or is something more powerful necessary?

  • The most common solution is to have the ESP act like an accesspoint, if it can't connect to the wifi network. It will then host a webpage, where you can set the correct networkname and password.
    – Gerben
    Commented Feb 22, 2017 at 19:17
  • The ESPEasy firmware does the trick, but it may not do whatever you preprogranmed it to do
    – aaa
    Commented Mar 25, 2017 at 9:15

2 Answers 2


The WiFiManager library was written for exactly this purpose.


Yes that's possible.

Just don't hard-code the password: store it in EEPROM.

A common way of doing it if for the ESP to present a wifi access point which serves a configuration page when it cannot successfully connect to another access point. Store the SSID and password in EEPROM.

  • On my laptop, if the wifi network password changes, I do not need to re-enter the password, it figures it out automatically. Is there a way I can do this on the ESP? Commented Feb 22, 2017 at 16:05
  • 5
    I think you are mistaken about that.
    – Mark Smith
    Commented Feb 22, 2017 at 16:32
  • Ok, I just realized I can use bluetooth for this project as well. Is there a way I can add a password to bluetooth to restrict access to specific devices? Commented Feb 22, 2017 at 17:00
  • That's a new question.
    – Mark Smith
    Commented Feb 22, 2017 at 17:06
  • Bluetooth authentication isn't very strong, you could do an ethernet connection, since these aren't password protected.
    – aaa
    Commented Mar 25, 2017 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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