mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1817] Wifi Manager - Station Issue #1528
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1528
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sul-M on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1817
Hi - managed to install WifiManager and connect AP without issue. I can also connect to Wifi but when I type the IP address into a browser it does not resolve.
I have tried this via router and mobile hotspot with the same issue.
IP range, subnet etc looks within range. If I run the Wifi example where I code in the SSID/Password it works fine. Makes me think there is an issue with WifiManager?
Appreciate if anyone could help me sort (Also FYI - I am using the Wifi Manager onDemand/OnDemandConfigPortal)
Thanks in advance,
@timr49 commented on GitHub (Apr 27, 2025):
Hi @Sul-M, information that would help get help includes following:
Which IP address specifically?
Was WiFiManager in config portal mode or not? (and how did you tell?)
What do you mean by "connect AP" as opposed to "connect to Wifi"?
Within which range?
What output do you get from the onDemand/OnDemandConfigPortal example?
Regards,
-Tim.
@Sul-M commented on GitHub (Apr 27, 2025):
Hi Tim,
I'm very new to this, and think I worked out the initial issue having looked at all the code.
In summary I have used wifimanager to create a AP and then Station for my ESP32, I created a webserver with code to pull the wifimanager saved wifi network too which is great.
The issue I have now is linking wifimanager to connect wifi on a SD card for read/write... I have managed to set it up using a wifi.softAP() but want it to connect via the wifimanager code.
In the supporting docs it lists wifi.begin() to be changed with code from wifimanager but unclear on what to change on this SD sketch that has wifi.softAP().
Hope I have explained my issue clearly enough?
Thanks
@timr49 commented on GitHub (Apr 28, 2025):
Regards,
-Tim.
@Sul-M commented on GitHub (Apr 28, 2025):
Once again thanks Tim, really appreciate you taking time to respond!
Indeed I am trying to access the SD card via connection made with Wifimanager.
I was following the below from YouTube but unclear on what to change/add to establish the connection via Wifimanager.
https://www.youtube.com/watch?v=zoYMU1tA3nI&list=PLQBtkGz5Mr6rgEeMTs1LB6UU2egOyXLKz&index=6&t=381s
I was also looking at this but seems a little more complex to me.
https://github.com/G6EJD/ESP32-8266-FIle-Upload?tab=readme-ov-file
Regards,
Sul
@timr49 commented on GitHub (Apr 28, 2025):
I recommend that you start with the "FSBrowser" example in the ESP32 WebServer examples using a hardcoded SSID and password. When you have that working, add WiFiManager to replace the hardcoded wifi credentials, choosing how to do that from the most appropriate of the WiFiManager examples.
Regards,
-Tim.
@Sul-M commented on GitHub (Apr 28, 2025):
Ok I will try what you suggested...where do I get the FSBrower example from, in the ESP32 WebServer I see two examples, ESP32webserver1 and ESP32webserver2?
Thanks,
Sul
Update - Ignore, I found the FSBrowser example within the WebServer Library..
Will let you know how I get on... Thanks :)
@Sul-M commented on GitHub (Apr 28, 2025):
FYI - this FSBrowser (unless it's the wrong one I am looking at) seems to be looking at SPIFFS which is the onboard filesystem not the SD card. I assume I am either looking at the wrong example or there is a quick and easy change from SPIFFS to the SD card?
@timr49 commented on GitHub (Apr 29, 2025):
That's correct. FSBrowser is written for a SPIFFS (or FFAT) file system on flash. For examples of how to access an SD Card, see example SD/examples/SD_Test.ino.
If you want a solution that you can copy and use with minimum modification, check out https://randomnerdtutorials.com/esp32-web-server-microsd-card/
Randomnerdtutorials has its own forum to discuss details with the author.
BTW I caution against relying on random you tube videos or blogs unless you know that the author is credible.
Regards,
-Tim.
@Sul-M commented on GitHub (Apr 29, 2025):
Thanks once again Tim.
I will take a look at Randomnerdtutorials, I have seen other guides from them that were great.
Noted on the random YouTube videos.
Rgds,
Sul