[GH-ISSUE #1601] Problem updating Custom parameters #1364

Open
opened 2026-02-28 01:29:46 +03:00 by kerem · 5 comments
Owner

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

#BEGIN
#include <Arduino.h>

void setup() {

}

void loop() {

}
#END

Debug Messages

messages here
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 ```cpp #BEGIN #include <Arduino.h> void setup() { } void loop() { } #END ``` ### Debug Messages ``` messages here ```
Author
Owner

@ahmetcemturan commented on GitHub (May 10, 2023):

I just saw some posts about core versions. Should I downgrade it?

<!-- gh-comment-id:1542419425 --> @ahmetcemturan commented on GitHub (May 10, 2023): I just saw some posts about core versions. Should I downgrade it?
Author
Owner

@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..

<!-- gh-comment-id:1542837029 --> @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..
Author
Owner

@tablatronix commented on GitHub (May 11, 2023):

#1558

sounds related

<!-- gh-comment-id:1543204397 --> @tablatronix commented on GitHub (May 11, 2023): #1558 sounds related
Author
Owner

@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..
2023-05-11_06-14-51

<!-- gh-comment-id:1543277030 --> @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.. ![2023-05-11_06-14-51](https://github.com/tzapu/WiFiManager/assets/746354/38dade70-a672-4340-a71c-86ce74f407b2)
Author
Owner

@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

<!-- gh-comment-id:1569403611 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1364
No description provided.