mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #723] Feature request: async wifi config #606
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#606
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 @joba-1 on GitHub (Sep 6, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/723
Hi,
I used your lib successfully to configure wlan for a small project, very nice stuff, thanks.
Now I would like to use it for something else, where wifi is not necessary, just nice to have.
This means: I don't want the portal or wifi setup to block setup() or loop(), just setup wifi in setup() if config is available, else, if a button is pressed (or whatever other trigger) serve the wifi configuration portal in the background for some time, while the progam continues to do its usual job (in my case starting a fan if humidity is too high).
I have not fully understood the architecture of your lib, maybe this is already possible somehow, but if not: how about basically cutting out the while(1) loop out of startConfigPortal() as bool WiFiManager.handlePortal() where it returns false instead of yield() and true instead of break. Then I could call startConfigPortal() on request or in setup() and call handlePortal() in loop() without disturbing the more important stuff going on there.
@tablatronix commented on GitHub (Sep 6, 2018):
development branch
@joba-1 commented on GitHub (Sep 6, 2018):
How?
I changed to dev branch, then opened an issue. Not enough?
Shawn A notifications@github.com schrieb am Do. 6. Sep. 2018 um 19:28:
--
iphone so i typo
@tablatronix commented on GitHub (Sep 6, 2018):
There are several issues discussing this, this is not a forum for support, its for reporting issues.
Did you even search?
@joba-1 commented on GitHub (Sep 6, 2018):
just forget about it. I‘ll implement it for myself if I need it.
--
iphone so i typo
@tablatronix commented on GitHub (Sep 7, 2018):
https://github.com/tzapu/WiFiManager/issues/379
@tablatronix commented on GitHub (Sep 7, 2018):
https://github.com/tzapu/WiFiManager/blob/development/examples/AutoConnect/AutoConnectNonBlocking/AutoConnectNonBlocking.ino