[GH-ISSUE #1259] Add home Wifi network (SSID and PSK) to the sketch. #1076

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

Originally created by @CyberLeito on GitHub (Jun 12, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1259

Add an existing wifi network to connect to. So we dont have to set it up using AutoConnectAP every time I upload a sketch. I want to add a wifi network programmatically to list of saved WiFi, kind of hardcoding one wifi into it.
If anyone has done this please respond.

Originally created by @CyberLeito on GitHub (Jun 12, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1259 Add an existing wifi network to connect to. So we dont have to set it up using AutoConnectAP every time I upload a sketch. I want to add a wifi network programmatically to list of saved WiFi, kind of hardcoding one wifi into it. If anyone has done this please respond.
kerem closed this issue 2026-02-28 01:28:25 +03:00
Author
Owner

@tablatronix commented on GitHub (Jun 12, 2021):

// to preload autoconnect for test fixtures or other uses that skip esp sta config
bool          preloadWiFi(String ssid, String pass);
<!-- gh-comment-id:860066753 --> @tablatronix commented on GitHub (Jun 12, 2021): // to preload autoconnect for test fixtures or other uses that skip esp sta config bool preloadWiFi(String ssid, String pass);
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#1076
No description provided.