[GH-ISSUE #197] The SSID and password saved #157

Closed
opened 2026-02-28 01:23:44 +03:00 by kerem · 4 comments
Owner

Originally created by @tarzan115 on GitHub (Jul 19, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/197

Thank you for your library!

I have a question, after the Autoconnect function to save the password and SSID. In the loop() function I want to access the SSID and password saved, because I have lost the connection to the WiFi and now I want to check out and reconnect to Wifi in Loop() function.
My question is: How can I get the SSID and password information stored earlier and if I want to connect again, can I use autoconnect function?

thank you 😄
and sorry for my bad English.

Originally created by @tarzan115 on GitHub (Jul 19, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/197 Thank you for your library! I have a question, after the Autoconnect function to save the password and SSID. In the loop() function I want to access the SSID and password saved, because I have lost the connection to the WiFi and now I want to check out and reconnect to Wifi in Loop() function. My question is: How can I get the SSID and password information stored earlier and if I want to connect again, can I use autoconnect function? thank you :smile: and sorry for my bad English.
kerem closed this issue 2026-02-28 01:23:44 +03:00
Author
Owner

@tarzan115 commented on GitHub (Jul 19, 2016):

My question is: How can I get the SSID and password information stored earlier. that's it.

<!-- gh-comment-id:233522063 --> @tarzan115 commented on GitHub (Jul 19, 2016): My question is: How can I get the SSID and password information stored earlier. that's it.
Author
Owner

@tarzan115 commented on GitHub (Jul 19, 2016):

Hi,
I have checked. WiFiManager does not save SSID and PASSWORD in EEPROM. so where do you saved SSID and PASSWORD? Where can I get them?

Thanks.

<!-- gh-comment-id:233550958 --> @tarzan115 commented on GitHub (Jul 19, 2016): Hi, I have checked. WiFiManager does not save SSID and PASSWORD in EEPROM. so where do you saved SSID and PASSWORD? Where can I get them? Thanks.
Author
Owner

@skx commented on GitHub (Feb 1, 2017):

You can get them like so:

Serial.println( WiFi.SSID() );
Serial.println( WiFi.psk() );
<!-- gh-comment-id:276771787 --> @skx commented on GitHub (Feb 1, 2017): You can get them like so: Serial.println( WiFi.SSID() ); Serial.println( WiFi.psk() );
Author
Owner

@rickyanwar commented on GitHub (Aug 25, 2021):

Serial.println( WiFi.SSID() );
Serial.println( WiFi.psk() );

not work when esp is restart

<!-- gh-comment-id:905566309 --> @rickyanwar commented on GitHub (Aug 25, 2021): ``` Serial.println( WiFi.SSID() ); Serial.println( WiFi.psk() ); ``` not work when esp is restart
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#157
No description provided.