[GH-ISSUE #818] Wifi client non blocking with config portal on demand #687

Open
opened 2026-02-28 01:26:34 +03:00 by kerem · 0 comments
Owner

Originally created by @jldesignseu on GitHub (Jan 30, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/818

Hello.
I'm looking through examples and wondering how I can achieved below:

  1. If the button is pressed launch blocking (or non blocking) config portal with open Access Point
  2. If the button is not pressed, connect to access point configured before trough config portal. I don't want the device to run config portal, when there is no access point available, and it should run normal code.

I've achieved first with OnDemad example, but not sure how can I do second? Is there a method like autoConnect without timeout but non blocking? Or should I use native methods?

I'm testing with Esp32.

This is for a device that logic should work without connection, and the WiFi is only for statuses report.

Originally created by @jldesignseu on GitHub (Jan 30, 2019). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/818 Hello. I'm looking through examples and wondering how I can achieved below: 1. If the button is pressed launch blocking (or non blocking) config portal with open Access Point 2. If the button is not pressed, connect to access point configured before trough config portal. I don't want the device to run config portal, when there is no access point available, and it should run normal code. I've achieved first with OnDemad example, but not sure how can I do second? Is there a method like autoConnect without timeout but non blocking? Or should I use native methods? I'm testing with Esp32. This is for a device that logic should work without connection, and the WiFi is only for statuses report.
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#687
No description provided.