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

WiFi Manager #94

Open
jsalsburg opened this issue Sep 15, 2020 · 3 comments
Open

WiFi Manager #94

jsalsburg opened this issue Sep 15, 2020 · 3 comments

Comments

@jsalsburg
Copy link

There is a WiFi Manager library for Arduino. It allows the Wifi Radio to negotiate its log on to a network. This may be something to contemplate in the future for allowing messaging through a local network (LAN).

@paidforby
Copy link
Contributor

This can already be done, by adding a network and password to a secrets.h file. Here's an old commit that shows how to use it, https://github.com/sudomesh/disaster-radio/blob/d0f8319c65a614a6425ec29401cd43f7e6818a5b/firmware/esp32/secrets.h. I need to add this back to the repo so its more clear that this option exists. I also haven't tested that it works in some time.

@jsalsburg
Copy link
Author

jsalsburg commented Sep 18, 2020 via email

@paidforby
Copy link
Contributor

Of course. I understand the value. We could make it part of the "Preferences" system which is how other settings are currently stored and then you could change it using commands like /set wifi MyHomeWifi SuperSecretPW. This could then be used through any of the existing clients (console, telnet, web app, ble) with minimal changes. And of course if a web developer wanted to leverage this they could create some sort of human friendly web interface with text boxes and what not, but ultimately, it would just send this command to the disaster radio server.

I've never used WiFi Manager, and I'm not in any rush to add more arduino libraries to our already bloated firmware. That's not to discourage anyone else from taking a look at it and trying to implement it.

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

No branches or pull requests

2 participants