[GH-ISSUE #340] manual reset #287

Closed
opened 2026-02-28 01:24:32 +03:00 by kerem · 1 comment
Owner

Originally created by @ohgary on GitHub (Mar 23, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/340

Couldnt find a way to put in code request, so will try here. It would be nice if there was support in the module to check a digital pin and in high to reset the stored data and start up the AP. A "factory" restart type button.

Originally created by @ohgary on GitHub (Mar 23, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/340 Couldnt find a way to put in code request, so will try here. It would be nice if there was support in the module to check a digital pin and in high to reset the stored data and start up the AP. A "factory" restart type button.
kerem closed this issue 2026-02-28 01:24:32 +03:00
Author
Owner

@telanoc commented on GitHub (Mar 30, 2017):

You can already do that yourself, quite easily. It's part of the core ESP wifi library. Just monitor a pin (I do it only at startup) and if it's set to the value you're looking for, call

WiFi.disconnect(true);

to have the ESP forget its last connected access point.

<!-- gh-comment-id:290304710 --> @telanoc commented on GitHub (Mar 30, 2017): You can already do that yourself, quite easily. It's part of the core ESP wifi library. Just monitor a pin (I do it only at startup) and if it's set to the value you're looking for, call WiFi.disconnect(true); to have the ESP forget its last connected access point.
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#287
No description provided.