mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1423] Static IP change after first restart to DHCP #1218
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#1218
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 @Mehdi-Dehghan on GitHub (May 24, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1423
WiFimanager Branch/Release: Master 2.0.11-beta
Esp8266
Hardware: ESP-12e
Description
Hi
I used "wifiManager.setShowStaticFields(true);" to show static fields. after first config the module connect with static ip but after first restart, module use DHCP.
could you please help me how can i coupe with this issue.
thanks
Settings in IDE
Module: NodeMcu
@Mehdi-Dehghan commented on GitHub (May 30, 2022):
I tried to use setSaveParamsCallback() and also save the data to memory with using littlefs. That has been working true.
@tablatronix commented on GitHub (May 31, 2022):
Yeah you will have to save and set it back everytime esp lib does not have a persistent flash for ip afaik