[GH-ISSUE #1217] help request #1037

Open
opened 2026-02-28 01:28:13 +03:00 by kerem · 3 comments
Owner

Originally created by @dyrvigk on GitHub (Feb 26, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1217

Hi
i have been using this great libary for some time but now i have a application where i need ethernet conetivity and i have made my own esp32 board with w5500 and Poe for power but i would like to be able to use wifimanager to setup my mqtt . so basicaly i would like to use wifimanager in ap mode only and never connect to network ethernet takes care of that . would that be possibel to keep ap and captive portal on always and stil being able to save my mqtt credentials and other setups

kenn

Originally created by @dyrvigk on GitHub (Feb 26, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1217 Hi i have been using this great libary for some time but now i have a application where i need ethernet conetivity and i have made my own esp32 board with w5500 and Poe for power but i would like to be able to use wifimanager to setup my mqtt . so basicaly i would like to use wifimanager in ap mode only and never connect to network ethernet takes care of that . would that be possibel to keep ap and captive portal on always and stil being able to save my mqtt credentials and other setups kenn
Author
Owner

@EgHubs commented on GitHub (Apr 1, 2021):

Can you try to set the esp to AP mode after the library autoConnect line of code? I think it might work as a workaround.

 if (!wifiManager.autoConnect(SSID, PASS)) {
    //reset and try again, or maybe put it to deep sleep
    ESP.reset();
    delay(5000);
  }
WiFi.softAP("ESPsoftAP_01", "pass-to-soft-AP");

and if you want you want to configure your AP, here

<!-- gh-comment-id:811572914 --> @EgHubs commented on GitHub (Apr 1, 2021): Can you try to set the esp to AP mode after the library autoConnect line of code? I think it might work as a workaround. ``` if (!wifiManager.autoConnect(SSID, PASS)) { //reset and try again, or maybe put it to deep sleep ESP.reset(); delay(5000); } WiFi.softAP("ESPsoftAP_01", "pass-to-soft-AP"); ``` and if you want you want to configure your AP, [here](https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/soft-access-point-class.html#softapconfig)
Author
Owner

@tablatronix commented on GitHub (Apr 1, 2021):

Thanks @EgHubs

<!-- gh-comment-id:811606951 --> @tablatronix commented on GitHub (Apr 1, 2021): Thanks @EgHubs
Author
Owner

@tablatronix commented on GitHub (Apr 1, 2021):

Yes use ondemand configportal exmaple start whatever you want

<!-- gh-comment-id:811607151 --> @tablatronix commented on GitHub (Apr 1, 2021): Yes use ondemand configportal exmaple start whatever you want
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#1037
No description provided.