tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.45k stars 1.94k forks source link

Problem updating Custom parameters #1601

Open ahmetcemturan opened 1 year ago

ahmetcemturan commented 1 year ago

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

include

include

include "PubSubClient.h" //Nick O'Leary http://knolleary.net

include

include

include

include

include

include "WiFiManager.h" //https://github.com/tzapu/WiFiManager

include

include //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

include "runningAngle.h"//https://github.com/RobTillaart/runningAngle

include

Sketch

#BEGIN
#include <Arduino.h>

void setup() {

}

void loop() {

}
#END

Debug Messages

messages here
ahmetcemturan commented 1 year ago

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

ahmetcemturan commented 1 year ago

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 1 year ago

1558

sounds related

ahmetcemturan commented 1 year ago

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

tablatronix commented 1 year ago

Are you all sure you are using the correct event handlers for saves or return values?

I cannot reproduce this