[GH-ISSUE #196] EEPROM Storing for SSID/Pass #158

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

Originally created by @LorelaiNerv on GitHub (Jul 18, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/196

Hello.
Can you please tell me if there is a special start bit for EEPROM write for the network ssid and pass, or is it 0?
I would like to store some more data in EEPROM and i want to leave that SSID/pass area alone (say.. 50 addresses).
Awsome work with this library! Congrats!

Originally created by @LorelaiNerv on GitHub (Jul 18, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/196 Hello. Can you please tell me if there is a special start bit for EEPROM write for the network ssid and pass, or is it 0? I would like to store some more data in EEPROM and i want to leave that SSID/pass area alone (say.. 50 addresses). Awsome work with this library! Congrats!
kerem closed this issue 2026-02-28 01:23:44 +03:00
Author
Owner

@tzapu commented on GitHub (Jul 18, 2016):

hi,

thanks,

you can safely write to eeprom, it is separate from ssid/pwd store

cheers

On 18 Jul 2016, at 12:51, LorelaiNerv notifications@github.com wrote:

Hello.
Can you please tell me if there is a special start bit for EEPROM write for the network ssid and pass, or is it 0?
I would like to store some more data in EEPROM and i want to leave that SSID/pass area alone (say.. 50 addresses).
Awsome work with this library! Congrats!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/196, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2FkPAmVgsGXigxuh_8ZBNXxqQD2hp5ks5qW0ysgaJpZM4JOjv3.

<!-- gh-comment-id:233288353 --> @tzapu commented on GitHub (Jul 18, 2016): hi, thanks, you can safely write to eeprom, it is separate from ssid/pwd store cheers > On 18 Jul 2016, at 12:51, LorelaiNerv notifications@github.com wrote: > > Hello. > Can you please tell me if there is a special start bit for EEPROM write for the network ssid and pass, or is it 0? > I would like to store some more data in EEPROM and i want to leave that SSID/pass area alone (say.. 50 addresses). > Awsome work with this library! Congrats! > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/196, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2FkPAmVgsGXigxuh_8ZBNXxqQD2hp5ks5qW0ysgaJpZM4JOjv3.
Author
Owner

@LorelaiNerv commented on GitHub (Jul 18, 2016):

Great!
Thank you very much,
Keep up the good work ;)

<!-- gh-comment-id:233289207 --> @LorelaiNerv commented on GitHub (Jul 18, 2016): Great! Thank you very much, Keep up the good work ;)
Author
Owner

@pieman64 commented on GitHub (Jul 18, 2016):

@LorelaiNerv https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md shows the memory structure for ESP's and as @tzapu states ssid/pwd are in the WiFi area not the EEPROM area. Do you really want to use EEPROM in the traditional way or would it be better for you to add extra parameters to WiFiManager?

<!-- gh-comment-id:233290065 --> @pieman64 commented on GitHub (Jul 18, 2016): @LorelaiNerv https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md shows the memory structure for ESP's and as @tzapu states ssid/pwd are in the WiFi area not the EEPROM area. Do you really want to use EEPROM in the traditional way or would it be better for you to add extra parameters to WiFiManager?
Author
Owner

@tzapu commented on GitHub (Jul 18, 2016):

@pieman64 thanks

also, there is the additional option of using wifimanager for the parameters, and having it store all in eeprom.

i ve got a sketch somewhere doing that

cheers

On 18 Jul 2016, at 13:02, pieman64 notifications@github.com wrote:

@LorelaiNerv https://github.com/LorelaiNerv https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md shows the memory structure for ESP's and as @tzapu https://github.com/tzapu states ssid/pwd are in the WiFi area not the EEPROM area. Do you really want to use EEPROM in the traditional way or would it be better for you to add extra parameters to WiFiManager?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/196#issuecomment-233290065, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2FkMo3h8rdz4JSbP2LW5qiikTTDxVTks5qW086gaJpZM4JOjv3.

<!-- gh-comment-id:233293280 --> @tzapu commented on GitHub (Jul 18, 2016): @pieman64 thanks also, there is the additional option of using wifimanager for the parameters, and having it store all in eeprom. i ve got a sketch somewhere doing that cheers > On 18 Jul 2016, at 13:02, pieman64 notifications@github.com wrote: > > @LorelaiNerv https://github.com/LorelaiNerv https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md shows the memory structure for ESP's and as @tzapu https://github.com/tzapu states ssid/pwd are in the WiFi area not the EEPROM area. Do you really want to use EEPROM in the traditional way or would it be better for you to add extra parameters to WiFiManager? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/196#issuecomment-233290065, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2FkMo3h8rdz4JSbP2LW5qiikTTDxVTks5qW086gaJpZM4JOjv3.
Author
Owner

@LorelaiNerv commented on GitHub (Jul 18, 2016):

I want to use it absolutely old fashioned way.. made some successful tests on arduino mega and now i want to implement the solution to ESP. If i am successful i will post it heere.
My stored values are absolutely independent of this library, bbut i would not interfere with it's functionality.
I will keep you posted.
Again, thank you very much!

<!-- gh-comment-id:233293505 --> @LorelaiNerv commented on GitHub (Jul 18, 2016): I want to use it absolutely old fashioned way.. made some successful tests on arduino mega and now i want to implement the solution to ESP. If i am successful i will post it heere. My stored values are absolutely independent of this library, bbut i would not interfere with it's functionality. I will keep you posted. Again, thank you very much!
Author
Owner

@pieman64 commented on GitHub (Jul 18, 2016):

OK I just worry about some users trashing their devices by posting a bad sketch that exceeds the maximum allowable writes to EEPROM, within a few minutes.

<!-- gh-comment-id:233295405 --> @pieman64 commented on GitHub (Jul 18, 2016): OK I just worry about some users trashing their devices by posting a bad sketch that exceeds the maximum allowable writes to EEPROM, within a few minutes.
Author
Owner

@LorelaiNerv commented on GitHub (Jul 18, 2016):

Of course it is a possibility.. but, i have tested the code for some time now.. and looks ok.
My worry was about the address allocation but i saw that it wasn't the case.
Anyway.. average read/writes to eeprom is around 100k if i remember... should take a while.. except for some loop..

<!-- gh-comment-id:233296631 --> @LorelaiNerv commented on GitHub (Jul 18, 2016): Of course it is a possibility.. but, i have tested the code for some time now.. and looks ok. My worry was about the address allocation but i saw that it wasn't the case. Anyway.. average read/writes to eeprom is around 100k if i remember... should take a while.. except for some loop..
Author
Owner

@LorelaiNerv commented on GitHub (Jul 18, 2016):

On a second thought.. can you please post the example code for storing parameters to wifi area? .. could be a valid solution due to the above mentioned life expectancy of eeprom....
I have "work in progress" here, and i would give it a try.. can save some heads ;)
thank you,

<!-- gh-comment-id:233312817 --> @LorelaiNerv commented on GitHub (Jul 18, 2016): On a second thought.. can you please post the example code for storing parameters to wifi area? .. could be a valid solution due to the above mentioned life expectancy of eeprom.... I have "work in progress" here, and i would give it a try.. can save some heads ;) thank you,
Author
Owner

@rafaelmaeuer commented on GitHub (Jun 8, 2017):

push! Same for me, please post a working example!

<!-- gh-comment-id:307097430 --> @rafaelmaeuer commented on GitHub (Jun 8, 2017): push! Same for me, please post a working example!
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#158
No description provided.