Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: support multiple wifi profiles #123

Open
andypiper opened this issue Jun 9, 2024 · 5 comments
Open

Request: support multiple wifi profiles #123

andypiper opened this issue Jun 9, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@andypiper
Copy link
Contributor

Unsure whether this should be an app, or built-in?

Notionally, this is a straightforward (!) as having an array of network settings in the settings, and swapping them in and out as needed. That's the basic idea I had for making an app to do this, anyway. Should it be part of the core though...

@npentrel npentrel added the enhancement New feature or request label Jun 16, 2024
@andypiper
Copy link
Contributor Author

In the meantime I wrote a quick script to poke relevant values into the badge from outside.

@RichardoC
Copy link

RichardoC commented Sep 4, 2024

I'd a very quick look at the code, it looks like an app could definitely do this via wifi.connect("custom_ssid", "custom_password", "custom_username")

def connect(ssid=None, password=None, username=None):

@RichardoC
Copy link

It's very rough and ready but I've made https://github.com/RichardoC/wifi-switcher/tree/main which should show up in the app store soon. Mind giving it a go and letting me know if it helps?
You can use https://docs.micropython.org/en/latest/reference/mpremote.html#mpremote-command-edit to edit the example file

@RichardoC
Copy link

I've just updated this app to use the built in settings which should make it a bit easier to use

@andypiper
Copy link
Contributor Author

Looking forward to trying this, I don't have my badge handy but will install when I can. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants