[GH-ISSUE #325] Can saved wifi credentials be cleared using the reset button. #271

Closed
opened 2026-02-28 01:24:26 +03:00 by kerem · 3 comments
Owner

Originally created by @FaizB on GitHub (Mar 2, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/325

Hi I am new to the ESP8266

I am using the wifiManager to give me an access point to configure my wifi credentials.
I was wondering without using ( wifiManager.resetSettings(); ) explicitly. So every time I have to input my wifi credentials is there a method where I can use the RESET button on the nodeMCU to initialize (wifiManager.resetSettings();), so I can change wifi credentials whenever I choose or send it into AP mode when the RESET button is pressed.

Originally created by @FaizB on GitHub (Mar 2, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/325 Hi I am new to the ESP8266 I am using the wifiManager to give me an access point to configure my wifi credentials. I was wondering without using ( wifiManager.resetSettings(); ) explicitly. So every time I have to input my wifi credentials is there a method where I can use the RESET button on the nodeMCU to initialize (wifiManager.resetSettings();), so I can change wifi credentials whenever I choose or send it into AP mode when the RESET button is pressed.
kerem closed this issue 2026-02-28 01:24:26 +03:00
Author
Owner

@tusharpc commented on GitHub (Mar 3, 2017):

look for KEn taylor's fork here for his version of the wifi manager

<!-- gh-comment-id:283878217 --> @tusharpc commented on GitHub (Mar 3, 2017): look for KEn taylor's fork here for his version of the wifi manager
Author
Owner

@trungkiendt9 commented on GitHub (Mar 16, 2018):

    //Reset mạng wifi đã lưu tên
    int reset_level = analogRead(A0);
    Serial.print("reset_level: ");
    Serial.println(reset_level);

    if (reset_level >500) {
            WiFi.disconnect(true);
            delay(2000);
            ESP.reset();
    }
<!-- gh-comment-id:373712581 --> @trungkiendt9 commented on GitHub (Mar 16, 2018): //Reset mạng wifi đã lưu tên int reset_level = analogRead(A0); Serial.print("reset_level: "); Serial.println(reset_level); if (reset_level >500) { WiFi.disconnect(true); delay(2000); ESP.reset(); }
Author
Owner

@saleemnabaki commented on GitHub (Jul 2, 2019):

trungkiendt9 Thank you so much .. Work very well

<!-- gh-comment-id:507867717 --> @saleemnabaki commented on GitHub (Jul 2, 2019): trungkiendt9 Thank you so much .. Work very well
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#271
No description provided.