[GH-ISSUE #750] save capture credentials how to #625

Open
opened 2026-02-28 01:26:17 +03:00 by kerem · 9 comments
Owner

Originally created by @athleticmistud on GitHub (Oct 10, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/750

where in version 13 is the lines to save capture credentials so that if you turn on or off the board it will load last successful settings. i am using ken taylors code but it has version 11 in it and is not saving the capture credentials so i have to keep entering it everytime

where or how do i fix this

----------------------------- Remove above -----------------------------

Basic Infos

Hardware

WiFimanager Branch/Release:

  • Master
  • Development

Esp8266/Esp32:

  • ESP8266
  • ESP32

Hardware: ESP-12e, esp01, esp25

  • ESP01
  • ESP12 E/F/S (nodemcu, wemos, feather)
  • Other

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • 2.4.0
  • staging (master/dev)

Description

Problem description

Settings in IDE

Module: NodeMcu, Wemos D1

Additional libraries:

Sketch


#include <Arduino.h>

void setup() {

}

void loop() {

}

Debug Messages

messages here
Originally created by @athleticmistud on GitHub (Oct 10, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/750 where in version 13 is the lines to save capture credentials so that if you turn on or off the board it will load last successful settings. i am using ken taylors code but it has version 11 in it and is not saving the capture credentials so i have to keep entering it everytime where or how do i fix this ----------------------------- Remove above ----------------------------- ### Basic Infos #### Hardware **WiFimanager Branch/Release:** - [ ] Master - [ ] Development **Esp8266/Esp32:** - [ ] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [ ] ESP12 E/F/S (nodemcu, wemos, feather) - [ ] Other **ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [ ] 2.4.0 - [ ] staging (master/dev) ### Description Problem description ### Settings in IDE Module: NodeMcu, Wemos D1 Additional libraries: ### Sketch ```cpp #include <Arduino.h> void setup() { } void loop() { } ``` ### Debug Messages ``` messages here ```
Author
Owner

@tablatronix commented on GitHub (Oct 10, 2018):

It is saved automatically when you save in configportal, if it is successful

<!-- gh-comment-id:428539068 --> @tablatronix commented on GitHub (Oct 10, 2018): It is saved automatically when you save in configportal, if it is successful
Author
Owner

@athleticmistud commented on GitHub (Oct 10, 2018):

no it does not save in version 11 which is the ken taylor version and shows the ip its connected to.

so if someone can help me where the lines are i need to add thanks

<!-- gh-comment-id:428582567 --> @athleticmistud commented on GitHub (Oct 10, 2018): no it does not save in version 11 which is the ken taylor version and shows the ip its connected to. so if someone can help me where the lines are i need to add thanks
Author
Owner

@matthewsellis commented on GitHub (Nov 27, 2018):

I have the same basic question - I have looked through wifiManager.cpp and while the EEPROM save commands for ssid and password for connection to an existing wifi network have been commented out, there is no indication of how the ssid and password could be automatically saved (or accessed - the internal _ssid is clearly visible but no obvious get function to return it). This is also not obvious from the examples.

Best I can see just now is you hard code these in the calling program, but that seems odd given this tool in large part is used to configure the wifi connection.

What am I missing?

Thank you.

<!-- gh-comment-id:442242314 --> @matthewsellis commented on GitHub (Nov 27, 2018): I have the same basic question - I have looked through wifiManager.cpp and while the EEPROM save commands for ssid and password for connection to an existing wifi network have been commented out, there is no indication of how the ssid and password could be automatically saved (or accessed - the internal _ssid is clearly visible but no obvious get function to return it). This is also not obvious from the examples. Best I can see just now is you hard code these in the calling program, but that seems odd given this tool in large part is used to configure the wifi connection. What am I missing? Thank you.
Author
Owner

@tablatronix commented on GitHub (Nov 27, 2018):

The esp does the saving, wm does nothing but connect

<!-- gh-comment-id:442253963 --> @tablatronix commented on GitHub (Nov 27, 2018): The esp does the saving, wm does nothing but connect
Author
Owner

@athleticmistud commented on GitHub (Nov 29, 2018):

But in kens version it does not save so how to get that version. To save?

On Tuesday, November 27, 2018, Shawn A notifications@github.com wrote:

The esp does the saving, wm does nothing but connect


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442253963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap-fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_
.

<!-- gh-comment-id:442899243 --> @athleticmistud commented on GitHub (Nov 29, 2018): But in kens version it does not save so how to get that version. To save? On Tuesday, November 27, 2018, Shawn A <notifications@github.com> wrote: > The esp does the saving, wm does nothing but connect > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442253963>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/Ap-fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_> > . >
Author
Owner

@matthewsellis commented on GitHub (Nov 29, 2018):

Having now googled this...

The esp arduino sdk automatically saves the ssid and psk to an area of the eeprom on a successful connection. Check out the esp8266 wifi library docs for more details.

The old code in the wifimanager library to save ssid and password (psk) to eeprom has been commented out dpecifically because the esp wifi library already does this.

Sent from my iPhone

On 29 Nov 2018, at 16:28, athleticmistud notifications@github.com wrote:

But in kens version it does not save so how to get that version. To save?

On Tuesday, November 27, 2018, Shawn A notifications@github.com wrote:

The esp does the saving, wm does nothing but connect


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442253963,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap-fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

<!-- gh-comment-id:442904403 --> @matthewsellis commented on GitHub (Nov 29, 2018): Having now googled this... The esp arduino sdk automatically saves the ssid and psk to an area of the eeprom on a successful connection. Check out the esp8266 wifi library docs for more details. The old code in the wifimanager library to save ssid and password (psk) to eeprom has been commented out dpecifically because the esp wifi library already does this. Sent from my iPhone > On 29 Nov 2018, at 16:28, athleticmistud <notifications@github.com> wrote: > > But in kens version it does not save so how to get that version. To save? > > On Tuesday, November 27, 2018, Shawn A <notifications@github.com> wrote: > > > The esp does the saving, wm does nothing but connect > > > > — > > You are receiving this because you authored the thread. > > Reply to this email directly, view it on GitHub > > <https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442253963>, > > or mute the thread > > <https://github.com/notifications/unsubscribe-auth/Ap-fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_> > > . > > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub, or mute the thread.
Author
Owner

@athleticmistud commented on GitHub (Nov 29, 2018):

OK this is the issue ken’s version has the stuff marked out on it so you
can turn it back on and it will print the IP address which is what I need
but the problem is he based on the older generation so it has a lot of
errors with the Wi-Fi manager and does not work properly so I’m trying to
find out how to take the new Wi-Fi manager and add it so that it prints out
like ken’s version that IP address and if you go in an uncommon to the
things that are coming to the Audi does not make you still work so

On Thursday, November 29, 2018, matthewsellis notifications@github.com
wrote:

Having now googled this...

The esp arduino sdk automatically saves the ssid and psk to an area of the
eeprom on a successful connection. Check out the esp8266 wifi library docs
for more details.

The old code in the wifimanager library to save ssid and password (psk) to
eeprom has been commented out dpecifically because the esp wifi library
already does this.

Sent from my iPhone

On 29 Nov 2018, at 16:28, athleticmistud notifications@github.com
wrote:

But in kens version it does not save so how to get that version. To save?

On Tuesday, November 27, 2018, Shawn A notifications@github.com wrote:

The esp does the saving, wm does nothing but connect


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/tzapu/WiFiManager/issues/750#
issuecomment-442253963>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ap-
fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_>
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442904403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap-fp1YBvFcCRX0Pb4tTcW7M4YtqFgLgks5u0A4-gaJpZM4XUna_
.

<!-- gh-comment-id:442905690 --> @athleticmistud commented on GitHub (Nov 29, 2018): OK this is the issue ken’s version has the stuff marked out on it so you can turn it back on and it will print the IP address which is what I need but the problem is he based on the older generation so it has a lot of errors with the Wi-Fi manager and does not work properly so I’m trying to find out how to take the new Wi-Fi manager and add it so that it prints out like ken’s version that IP address and if you go in an uncommon to the things that are coming to the Audi does not make you still work so On Thursday, November 29, 2018, matthewsellis <notifications@github.com> wrote: > Having now googled this... > > The esp arduino sdk automatically saves the ssid and psk to an area of the > eeprom on a successful connection. Check out the esp8266 wifi library docs > for more details. > > The old code in the wifimanager library to save ssid and password (psk) to > eeprom has been commented out dpecifically because the esp wifi library > already does this. > > Sent from my iPhone > > > On 29 Nov 2018, at 16:28, athleticmistud <notifications@github.com> > wrote: > > > > But in kens version it does not save so how to get that version. To save? > > > > On Tuesday, November 27, 2018, Shawn A <notifications@github.com> wrote: > > > > > The esp does the saving, wm does nothing but connect > > > > > > — > > > You are receiving this because you authored the thread. > > > Reply to this email directly, view it on GitHub > > > <https://github.com/tzapu/WiFiManager/issues/750# > issuecomment-442253963>, > > > or mute the thread > > > <https://github.com/notifications/unsubscribe-auth/Ap- > fp2NZIaLpFtc1tm1pCT2F9-yxzGMsks5uzcaCgaJpZM4XUna_> > > > . > > > > > — > > You are receiving this because you commented. > > Reply to this email directly, view it on GitHub, or mute the thread. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442904403>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/Ap-fp1YBvFcCRX0Pb4tTcW7M4YtqFgLgks5u0A4-gaJpZM4XUna_> > . >
Author
Owner

@tablatronix commented on GitHub (Nov 29, 2018):

Just use the development branch

<!-- gh-comment-id:442977575 --> @tablatronix commented on GitHub (Nov 29, 2018): Just use the development branch
Author
Owner

@athleticmistud commented on GitHub (Dec 19, 2018):

i dont know what that means im not a coder can someone help me so that i
can get it to work

hello i use wifimanger and it works great and saves the cridentials so i
dont have to reenter them, but i need to access it from an android as well
so i changed my wifimanger to ken taylors version. that works great to
access with the androit and it prints out the ip address to access and
everything but IT DONT SAVE the cridentials and so i have to reenter
everytime i turn on my device. i read in kens notes he did that for a
reason but does anyone have a fix for it so that i can get the best of both
worlds? please help!

On Thu, Nov 29, 2018 at 12:14 PM Shawn A notifications@github.com wrote:

Just use the development branch


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442977575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ap-fp5fxWBR9k5jaDy0uGK0ctCfgvAufks5u0EA9gaJpZM4XUna_
.

<!-- gh-comment-id:448452169 --> @athleticmistud commented on GitHub (Dec 19, 2018): i dont know what that means im not a coder can someone help me so that i can get it to work hello i use wifimanger and it works great and saves the cridentials so i dont have to reenter them, but i need to access it from an android as well so i changed my wifimanger to ken taylors version. that works great to access with the androit and it prints out the ip address to access and everything but IT DONT SAVE the cridentials and so i have to reenter everytime i turn on my device. i read in kens notes he did that for a reason but does anyone have a fix for it so that i can get the best of both worlds? please help! On Thu, Nov 29, 2018 at 12:14 PM Shawn A <notifications@github.com> wrote: > Just use the development branch > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/tzapu/WiFiManager/issues/750#issuecomment-442977575>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/Ap-fp5fxWBR9k5jaDy0uGK0ctCfgvAufks5u0EA9gaJpZM4XUna_> > . >
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#625
No description provided.