mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1486] Question on WiFiManager use #1267
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#1267
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 @cniedzi on GitHub (Sep 4, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1486
Hi,
I don't know if this is a right place for questions concerning WiFiManager; if not please advise me where should I go.
I build the ESP32S2-based device that should connect to last connected WiFi after powering on, without passing any credentials or waiting. If there aren't any known WiFis, the program should go further without any WiFi connection. The only way to set WiFI credentials is WiFiManager's wm.startConfigPortal() triggered by pushing a button.
So the code framework will be:
Is this a correct way to try to connect to the last connected WiFi by means of WiFi.begin()?
Where the last known WiFi credentials are stored (in particular these set by WiFIManager), in internal registers of ESP32?
@tablatronix commented on GitHub (Sep 4, 2022):
Yes
There are some helper functions also, you can use autoconnect and disable autostartconfigportal, you can use the getWiFiIsSaved to check if creds exist etc