Skip to content

WiFiSmartConfig save settings (AP, PASS) #705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yankobogdan opened this issue Oct 7, 2017 · 10 comments
Closed

WiFiSmartConfig save settings (AP, PASS) #705

yankobogdan opened this issue Oct 7, 2017 · 10 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@yankobogdan
Copy link

WiFiSmartConfig connection working good. But after reboot changes unsaved. I try to get AP name and PASS to write to EEPROM but both unsuccessful. Any advise?

@me-no-dev
Copy link
Member

can you please post minimal sketch that shows the issue?

@bill-orange
Copy link

I have the same issue. Please see #810.

@bill-orange
Copy link

bill-orange commented Dec 9, 2017

Has there been any progress in fixing this? I have a couple of application that just won't work if the settings obtained with smart config are lost. I can add a work-around like this:

int count = 0;
Serial.print("Attempting WiFi connection");
status = WiFi.reconnect(); //or reconnect they work about the same
while (status != WL_CONNECTED) {
if (count > 9) break;
Serial.print(".");
Show ("Connecting....");
//status = WiFi.begin(ssid, pass);
status = WiFi.begin();
delay (2000);
count++;
}
if (status != WL_CONNECTED) setupWiFi ();

but shouldn't this be built in to the library?

@chinswain
Copy link

Agree with @bill-orange, can this be standard functionality? I think most users would assume the smart config settings are preserved between reboots, regardless of past experience with the esp8266.

@ironoman
Copy link

Thanks alot @bill-orange . i have been looking for a solution

@ehsanmqn
Copy link

Any updates? Does anyone solved the problem?

@bill-orange
Copy link

Beyond the work-around I posted 9 months ago, I don’t think so.

@copercini
Copy link
Contributor

There is a solution here: #1100 (comment)

that saves the SmartConfig credentials to NVS, then load it on boot

@stale
Copy link

stale bot commented Aug 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Aug 1, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

7 participants