[GH-ISSUE #1069] IS there a way to either keep AP+STA for timeout duration, or for AP at each reboot? #912

Closed
opened 2026-02-28 01:27:38 +03:00 by kerem · 2 comments
Owner

Originally created by @Hoel on GitHub (May 27, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1069

----------------------------- Remove above -----------------------------

Basic Infos

Hardware

WiFimanager Branch/Release:

  • Master
  • Development

Esp8266/Esp32:

  • ESP8266
  • ESP32

Hardware: ESP-12e, esp01, esp25

  • ESP01
  • ESP12 E/F/S (nodemcu, wemos, feather)
  • Other

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • 2.4.0
  • staging (master/dev)

Description

Problem description
I would like to make the portal always accessible at reset for the duration of the timeout, if the credential have already been filled previously it is fine that the network is still connected immediately (AP + STA) but even in this case i would like that the AP portal stays accessible for the duration of the timeut. The goal is to allow to change credentials at any time after a reset (or enter them for the first time).

What is the best way to do this? For some reason i did not found a way to do it in the library, i dont mind modifying the source but its not clear to me how it is best done.

Settings in IDE

Module: esp8285 generic module

Originally created by @Hoel on GitHub (May 27, 2020). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1069 ----------------------------- Remove above ----------------------------- ### Basic Infos #### Hardware **WiFimanager Branch/Release:** - [x] Master - [ ] Development **Esp8266/Esp32:** - [x] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [ ] ESP12 E/F/S (nodemcu, wemos, feather) - [x] Other **ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [x] 2.4.0 - [ ] staging (master/dev) ### Description Problem description I would like to make the portal always accessible at reset for the duration of the timeout, if the credential have already been filled previously it is fine that the network is still connected immediately (AP + STA) but even in this case i would like that the AP portal stays accessible for the duration of the timeut. The goal is to allow to change credentials at any time after a reset (or enter them for the first time). What is the best way to do this? For some reason i did not found a way to do it in the library, i dont mind modifying the source but its not clear to me how it is best done. ### Settings in IDE Module: esp8285 generic module
kerem closed this issue 2026-02-28 01:27:39 +03:00
Author
Owner

@tablatronix commented on GitHub (May 28, 2020):

You can use the ondemand examples to do this. Just remember that AP+STA is not very stable.

You can also just make the portal available on your lan with no ap..

<!-- gh-comment-id:635118203 --> @tablatronix commented on GitHub (May 28, 2020): You can use the ondemand examples to do this. Just remember that AP+STA is not very stable. You can also just make the portal available on your lan with no ap..
Author
Owner

@Hoel commented on GitHub (May 28, 2020):

ah thank you, i also modified slightly the source to keep AP+STA during the timeout, even if the STA is connected directly, which is what i needed.

<!-- gh-comment-id:635301354 --> @Hoel commented on GitHub (May 28, 2020): ah thank you, i also modified slightly the source to keep AP+STA during the timeout, even if the STA is connected directly, which is what i needed.
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#912
No description provided.