[GH-ISSUE #1672] Feature request: Make _preloadwifiscan publicly settable #1417

Closed
opened 2026-02-28 01:29:59 +03:00 by kerem · 3 comments
Owner

Originally created by @realA10001986 on GitHub (Nov 2, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1672

In my projects, the WiFi scan triggered when starting the CP disturbs required network traffic between devices, especially during boot. Setting _preloadwifiscan to false does avoid this, but I would like avoid my users having to patch the WiFiManager library source code when compiling my projects.

Adding a simple, public setPreLoadWiFi(bool) would really help.

Originally created by @realA10001986 on GitHub (Nov 2, 2023). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1672 In my projects, the WiFi scan triggered when starting the CP disturbs required network traffic between devices, especially during boot. Setting _preloadwifiscan to false does avoid this, but I would like avoid my users having to patch the WiFiManager library source code when compiling my projects. Adding a simple, public setPreLoadWiFi(bool) would really help.
kerem 2026-02-28 01:29:59 +03:00
Author
Owner

@tablatronix commented on GitHub (Nov 3, 2023):

Yeah I am about to turn that off by default it was experimental and does make the page come up faster, but can also be problematic when joining or using ondemand and trying to join immediatly.

<!-- gh-comment-id:1791826998 --> @tablatronix commented on GitHub (Nov 3, 2023): Yeah I am about to turn that off by default it was experimental and does make the page come up faster, but can also be problematic when joining or using ondemand and trying to join immediatly.
Author
Owner

@realA10001986 commented on GitHub (Nov 3, 2023):

OK, plain off is fine, too. Thanks!

<!-- gh-comment-id:1791939266 --> @realA10001986 commented on GitHub (Nov 3, 2023): OK, plain off is fine, too. Thanks!
Author
Owner

@tablatronix commented on GitHub (Nov 4, 2023):

94529cd08b

<!-- gh-comment-id:1793321359 --> @tablatronix commented on GitHub (Nov 4, 2023): 94529cd08b5d956f3ca015bb4b6fd0226ee43143
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#1417
No description provided.