mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1614] Erase Configuration, setShowStaticFields and dynamic/ static Ip setting #1376
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#1376
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 @kutty1999 on GitHub (May 24, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1614
WiFimanager Branch/Release: 2.0.16-rc.2
Esp8266/Esp32: Esp8266
Hardware: ESP-12e
Core Version: 3.1.2
Description
I have no idea from get dns from the field tab in webpage and store in json in code i declared default dns as 8.8.8.8
then I need same as above for secondary dns.
I have faced three problems.
The first one, on demand, I tried to erase the older configuration but it didn't work.
The second one is static,dns, and custom parameter fields disappear after the initial configuration I declared the true value in the function. it will reappear after erase the configuration from the webpage.
The third one is not switching between dynamic and static IP iam trying to switch the IP mode but it does not make it.
Settings in IDE
Module: NodeMcu
Additional libraries: PubSubClient, ESP8266WiFi
Sketch
Debug Messages
@kutty1999 commented on GitHub (May 26, 2023):
@tablatronix commented on GitHub (May 31, 2023):
I have no idea what this is about?
@kutty1999 commented on GitHub (May 31, 2023):
Thanks for reply @tablatronix
I try to create a AutoConnect With FSParameters and CustomIP with ondemand to Starting Web Portal for configuration but i couldn't achieve my idea
I tried to erase the older configuration before starting web portal but it didn't work.
static,dns, and custom parameter fields disappear after the first configuration. I declared the true boolean value in the function. it will reappear after erase the configuration using erase config button in the webpage.
Not switching between dynamic and static IP iam trying to switch the IP mode but it does not make it.
I conform the dynamic not setting by the I unfill the static, and dns Fields it goes to custom ip configuration It take ip,gateway, subnet mask from the json file of older configuration, once set the static after unable to switch dynamic.
@tablatronix commented on GitHub (May 31, 2023):
Someone else did this, I think they added a checkbox.
Are you adding them to wm? wifiManager.setSTAStaticIPConfig(_ip, _gw, _sn);
did you check the examples?