mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #234] delete saved SSID and password #193
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fubax on GitHub (Oct 10, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/234
Hi.
I use wifimanger for my project and it's works fine.now I need a way to delete the saved ssid and password so I can use AP mode again and setup it with new ssid and pass.
I Know that if I turn off wifi modem my esp goes to AP mode but I wish to connect a pushbutton to my esp8266 and clear the previous saved configuration with that pushbutton.
Please help me.
Thanks.
@tzapu commented on GitHub (Oct 10, 2016):
hi,
just call wifiManager.resetSettings() on button press, followd by and ESP.reset()
that should do it
cheers
@fubax commented on GitHub (Oct 10, 2016):
Thank you tzapu .But when I insert wifiManager.resetSettings() in my sketch it give me this error:
exit status 1 'wifiManager' was not declared in this scopeMy wifimanager version is 0.12.0
I'm test it with WifiManager.resetSettings() but got the this error:
exit status 1 expected unqualified-id before '.' token@tzapu commented on GitHub (Oct 10, 2016):
hi, sorry, it s probably not defined as a global.
do wifi.disconnect() in place of that followed by the rest.
cheers
@fubax commented on GitHub (Oct 10, 2016):
Thank you tzapu.
You save my day.
It works.
@tzapu commented on GitHub (Oct 10, 2016):
cool, i am glad.
have fun
@kentaylor commented on GitHub (Oct 10, 2016):
You could also consider a version of WiFiManager that operates on button press only