[GH-ISSUE #254] how to disable station mode during normal operation? #210

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

Originally created by @miknuc on GitHub (Nov 28, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/254

Hi,
after having some reliabilty issues with my wifi network, I learned that per default each of my ESP opens an additional wifi station on the same wifi channel it is connected as a client.
This can be switched off by changing the wifi mode:
WiFi.mode(WIFI_STA);

I was looking for something similar when using WifiManager, something like
WifiManager.autoConnect(PortalName, PortalPWD)
but didn't find anything.

Would setting
WiFi.mode(WIFI_STA);
before calling WifiManager.autoConnect() help?

Regards
Michael

Originally created by @miknuc on GitHub (Nov 28, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/254 Hi, after having some reliabilty issues with my wifi network, I learned that per default each of my ESP opens an additional wifi station on the same wifi channel it is connected as a client. This can be switched off by changing the wifi mode: WiFi.mode(WIFI_STA); I was looking for something similar when using WifiManager, something like WifiManager.autoConnect(PortalName, PortalPWD) but didn't find anything. Would setting WiFi.mode(WIFI_STA); before calling WifiManager.autoConnect() help? Regards Michael
kerem closed this issue 2026-02-28 01:24:06 +03:00
Author
Owner

@kentaylor commented on GitHub (Nov 28, 2016):

@miknuc, when you say

Would setting WiFi.mode(WIFI_STA); before calling WifiManager.autoConnect() help?

it doesn't make a lot of sense to me. WIFI_STA means connect to a WiFi network and usually you want WiFiManager to enable you to connect to a WiFi network, rather than after you are connected.

<!-- gh-comment-id:263415653 --> @kentaylor commented on GitHub (Nov 28, 2016): @miknuc, when you say > Would setting WiFi.mode(WIFI_STA); before calling WifiManager.autoConnect() help? it doesn't make a lot of sense to me. WIFI_STA means connect to a WiFi network and usually you want WiFiManager to enable you to connect to a WiFi network, rather than after you are connected.
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#210
No description provided.