[GH-ISSUE #27] Storing multiple accounts #23

Closed
opened 2026-02-28 01:22:56 +03:00 by kerem · 11 comments
Owner

Originally created by @lunanigra on GitHub (Dec 22, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/27

It's more an enhancement than an issue ;-)

Currently the latest network is stored in EEPROM. Would it be possible to store up to 3-4 network credentials.?

The idea is that the WifiManager can then loop thru all credentials. Would be cool when moving between some networks, e.g. use an EPS8266 at home and in company as well.

Thanks, JC

Originally created by @lunanigra on GitHub (Dec 22, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/27 It's more an enhancement than an issue ;-) Currently the latest network is stored in EEPROM. Would it be possible to store up to 3-4 network credentials.? The idea is that the WifiManager can then loop thru all credentials. Would be cool when moving between some networks, e.g. use an EPS8266 at home and in company as well. Thanks, JC
kerem closed this issue 2026-02-28 01:22:56 +03:00
Author
Owner

@domonetic commented on GitHub (Dec 22, 2015):

Wifimanager is to simplify the settings. Currently it stores the data in an area outside the EEPROM.
I think you can use a json file and store it as a file in the area spiffs
trying to connect with autoconnect and if you can not, through the file trying to connect. When connected, the next time Autoconnect do it alone.

<!-- gh-comment-id:166628150 --> @domonetic commented on GitHub (Dec 22, 2015): Wifimanager is to simplify the settings. Currently it stores the data in an area outside the EEPROM. I think you can use a json file and store it as a file in the area spiffs trying to connect with autoconnect and if you can not, through the file trying to connect. When connected, the next time Autoconnect do it alone.
Author
Owner

@domonetic commented on GitHub (Dec 22, 2015):

I adding const char* aNets[][2] to try connect in a list of nets. @tzapu can you check this?

<!-- gh-comment-id:166668046 --> @domonetic commented on GitHub (Dec 22, 2015): I adding const char\* aNets[][2] to try connect in a list of nets. @tzapu can you check this?
Author
Owner

@tzapu commented on GitHub (Dec 22, 2015):

i did, i need to think on it a bit more, the patch looks ok so @lunanigra could use it directly for now

thanks

<!-- gh-comment-id:166669162 --> @tzapu commented on GitHub (Dec 22, 2015): i did, i need to think on it a bit more, the patch looks ok so @lunanigra could use it directly for now thanks
Author
Owner

@lunanigra commented on GitHub (Jan 4, 2016):

Happy New Year :-)

Did you have a chance thinking a bit more about multiple account? Or merge the changes into your master?
On my test I ran on some (perhaps small) issues, please see... https://github.com/tzapu/WiFiManager/pull/28

<!-- gh-comment-id:168798057 --> @lunanigra commented on GitHub (Jan 4, 2016): Happy New Year :-) Did you have a chance thinking a bit more about multiple account? Or merge the changes into your master? On my test I ran on some (perhaps small) issues, please see... https://github.com/tzapu/WiFiManager/pull/28
Author
Owner

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

happy new year,
i did think and i will add it, i will refactor it a bit from @domonetic 's solution to look more like WiFiMulti (have a function to add secondary accounts to a list). So if someone wants to use it, they have the ability, while the rest of the library retains it's simplicity.
Regarding your issue, @domonetic was kind enough to provide an update for the .h file as well here https://github.com/tzapu/WiFiManager/pull/29
if you can, try with that for the time being, until this makes it's way in the trunk
thanks

<!-- gh-comment-id:168904646 --> @tzapu commented on GitHub (Jan 5, 2016): happy new year, i did think and i will add it, i will refactor it a bit from @domonetic 's solution to look more like WiFiMulti (have a function to add secondary accounts to a list). So if someone wants to use it, they have the ability, while the rest of the library retains it's simplicity. Regarding your issue, @domonetic was kind enough to provide an update for the .h file as well here https://github.com/tzapu/WiFiManager/pull/29 if you can, try with that for the time being, until this makes it's way in the trunk thanks
Author
Owner

@tzapu commented on GitHub (Mar 8, 2016):

this has not been forgotten, i will add it once i m satisfied WiFiManager itself is rock solid

<!-- gh-comment-id:193619716 --> @tzapu commented on GitHub (Mar 8, 2016): this has not been forgotten, i will add it once i m satisfied WiFiManager itself is rock solid
Author
Owner

@torntrousers commented on GitHub (Oct 11, 2016):

Just a ping about this. I'd find this really useful feature.

<!-- gh-comment-id:252892447 --> @torntrousers commented on GitHub (Oct 11, 2016): Just a ping about this. I'd find this really useful feature.
Author
Owner

@kentaylor commented on GitHub (Oct 12, 2016):

Yes, multiple SSID's would be good. Here is a suggestion on how to do it. https://github.com/tzapu/WiFiManager/issues/166#issuecomment-218134202

<!-- gh-comment-id:253083198 --> @kentaylor commented on GitHub (Oct 12, 2016): Yes, multiple SSID's would be good. Here is a suggestion on how to do it. https://github.com/tzapu/WiFiManager/issues/166#issuecomment-218134202
Author
Owner

@f0m3 commented on GitHub (Dec 3, 2016):

Yes! That would be a cool feature indeed!

<!-- gh-comment-id:264647140 --> @f0m3 commented on GitHub (Dec 3, 2016): Yes! That would be a cool feature indeed!
Author
Owner

@tavdog commented on GitHub (Jun 22, 2019):

Has this feature been implemented ?

<!-- gh-comment-id:504705319 --> @tavdog commented on GitHub (Jun 22, 2019): Has this feature been implemented ?
Author
Owner

@tablatronix commented on GitHub (Jun 23, 2019):

No it requires storing data somewhere

<!-- gh-comment-id:504708167 --> @tablatronix commented on GitHub (Jun 23, 2019): No it requires storing data somewhere
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#23
No description provided.