mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #277] No static IP after ConfigPortal timed out #233
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#233
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 @wewa00 on GitHub (Jan 6, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/277
Why does the ESP use no static IP configuration if the ConfigPortal timed out?
I used to modify the AutoConnectWithFSParametersAndCustomIP.ino-example so that the ConfigPortal shows on every startup and I also set a time out. Here are the changes I made.
I made a valid Configuration and connected to an AP over ConfigPortal settings. Then I restart the ESP (power off and on) and let the ConfigPortal time out. After timeout, the ESP connects to the AP (I configured the time before) and uses a dynamic IP.
Here is the serial output:
Why is the ESP connecting after timeout and why is it using a dynamic ip instead of the configured static ip?