mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1601] Problem updating Custom parameters #1364
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#1364
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 @ahmetcemturan on GitHub (May 10, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1601
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: Wemos D1 Mini (ESP8266)
Hardware: ESP-12e
Core Version:
WiFiManager v2.0.15-rc.1
Core version 3.1.1
Chip ID e3b63a
Flash chip ID 1454108
Flash size 4194304 bytes
Real flash size 4194304 bytes
Boot version 31
CPU frequency 80MHz
Memory - Free heap 31864 bytes available
Description
I am building a weather station and I have an extensive set of custom parameters for this, as each website needs other credentials and passwords.
If I first enter all of the custom parameters and the setup wifi, it will save and all is ok.
If I leave some parameters out or need to change them later, it wont save them. Only if I also update wifi, are the new parameters saved.
Settings in IDE
Module: Wemos D1
Additional libraries:
#include <LittleFS.h>
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include "PubSubClient.h" //Nick O'Leary http://knolleary.net
#include <Ticker.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClientSecure.h>
#include <ESP8266httpUpdate.h>
#include "WiFiManager.h" //https://github.com/tzapu/WiFiManager
#include <DNSServer.h>
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
#include "TimeLib.h" // https://github.com/michaelmargolis/arduino_time by Michael Margolis
#include "AS5600.h"// https://github.com/Seeed-Studio/Seeed_Arduino_AS5600
#include "BME280I2C.h"// https://github.com/finitespace/BME280
#include <Wire.h>
#include "runningAngle.h"//https://github.com/RobTillaart/runningAngle
#include <SPI.h>
Sketch
Debug Messages
@ahmetcemturan commented on GitHub (May 10, 2023):
I just saw some posts about core versions. Should I downgrade it?
@ahmetcemturan commented on GitHub (May 10, 2023):
My current workaround is:
Set teh new parameters,
Save
Go To Wifi settings
just enter some non existent SSID
Save. İt will obviously fail to connect
Turn On the Wifi You really want to connect to and enter SSID and Password.
Save.
It will connect and then save parameters..
@tablatronix commented on GitHub (May 11, 2023):
#1558
sounds related
@ahmetcemturan commented on GitHub (May 11, 2023):
Yes it is. Same here. Fooled by the existing "pre filled in data".

Worsened by the fact that I have to turn off that acces point to be able to access the WifiManager portal (or is there an other way)
Also is it not the normal expectation that when You click Save on the parameters page that the parameters are already saved so that when you restart (either by portal or manually) the settings entered are saved?
Just my thoughts..
@tablatronix commented on GitHub (May 31, 2023):
Are you all sure you are using the correct event handlers for saves or return values?
I cannot reproduce this