[GH-ISSUE #84] parameter update #59

Closed
opened 2026-02-28 01:23:10 +03:00 by kerem · 7 comments
Owner

Originally created by @yomasa on GitHub (Jan 28, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/84

How do I update/save a parameter after login? Where in the code is the /config.json being saved?

Originally created by @yomasa on GitHub (Jan 28, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/84 How do I update/save a parameter after login? Where in the code is the /config.json being saved?
kerem closed this issue 2026-02-28 01:23:10 +03:00
Author
Owner

@tzapu commented on GitHub (Jan 29, 2016):

hi, which sketch are you using? just ssid and pass or other stuff as well?

<!-- gh-comment-id:176601540 --> @tzapu commented on GitHub (Jan 29, 2016): hi, which sketch are you using? just ssid and pass or other stuff as well?
Author
Owner

@yomasa commented on GitHub (Jan 29, 2016):

ssid and pass only, also I am still get this; just installed on my laptop new everything, can you tell me or point me on what it is I need to update. I using 2.0 ver of esp ide or is there something else?

Arduino: 1.6.7 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:477:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:482:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

<!-- gh-comment-id:176989675 --> @yomasa commented on GitHub (Jan 29, 2016): ssid and pass only, also I am still get this; just installed on my laptop new everything, can you tell me or point me on what it is I need to update. I using 2.0 ver of esp ide or is there something else? Arduino: 1.6.7 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()': /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString' _sta_static_ip.fromString(server->arg("ip")); ^ /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:477:20: error: 'class IPAddress' has no member named 'fromString' _sta_static_gw.fromString(server->arg("gw")); ^ /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:482:20: error: 'class IPAddress' has no member named 'fromString' _sta_static_sn.fromString(server->arg("sn")); ^ exit status 1 Error compiling. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
Author
Owner

@tzapu commented on GitHub (Jan 30, 2016):

with version 2.0.0 of esp8266 core use version 0.6 of wifimanager from board manager

cheers

On 30 Jan 2016, at 00:04, yomasa notifications@github.com wrote:

ssid and pass only, also I am still get this; just installed on my laptop new everything, can you tell me or point me on what it is I need to update. I using 2.0 ver of esp ide or is there something else?

Arduino: 1.6.7 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:477:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:482:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.


Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/84#issuecomment-176989675.

<!-- gh-comment-id:177088005 --> @tzapu commented on GitHub (Jan 30, 2016): with version 2.0.0 of esp8266 core use version 0.6 of wifimanager from board manager cheers > On 30 Jan 2016, at 00:04, yomasa notifications@github.com wrote: > > ssid and pass only, also I am still get this; just installed on my laptop new everything, can you tell me or point me on what it is I need to update. I using 2.0 ver of esp ide or is there something else? > > Arduino: 1.6.7 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" > > /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()': > /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString' > _sta_static_ip.fromString(server->arg("ip")); > ^ > /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:477:20: error: 'class IPAddress' has no member named 'fromString' > _sta_static_gw.fromString(server->arg("gw")); > ^ > /Users/jorge/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:482:20: error: 'class IPAddress' has no member named 'fromString' > _sta_static_sn.fromString(server->arg("sn")); > ^ > exit status 1 > Error compiling. > > This report would have more information with > "Show verbose output during compilation" > enabled in File > Preferences. > > — > Reply to this email directly or view it on GitHub https://github.com/tzapu/WiFiManager/issues/84#issuecomment-176989675.
Author
Owner

@tzapu commented on GitHub (Feb 1, 2016):

i ve updated WiFiManger to 0.8. might sort some of your issues, try it if you can

<!-- gh-comment-id:177903290 --> @tzapu commented on GitHub (Feb 1, 2016): i ve updated WiFiManger to 0.8. might sort some of your issues, try it if you can
Author
Owner

@tzapu commented on GitHub (Feb 4, 2016):

if you use just ssid and pass, there is no config.json. they are saved internally by the sdk

<!-- gh-comment-id:179690486 --> @tzapu commented on GitHub (Feb 4, 2016): if you use just ssid and pass, there is no config.json. they are saved internally by the sdk
Author
Owner

@scropion86 commented on GitHub (Feb 16, 2016):

is that means the other parameters like MQTT or Blynk Token will be lost if ESP restarted?

<!-- gh-comment-id:184787715 --> @scropion86 commented on GitHub (Feb 16, 2016): is that means the other parameters like MQTT or Blynk Token will be lost if ESP restarted?
Author
Owner

@tzapu commented on GitHub (Feb 16, 2016):

if they are saved to fs like in example, no

<!-- gh-comment-id:184796469 --> @tzapu commented on GitHub (Feb 16, 2016): if they are saved to fs like in example, no
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#59
No description provided.