(WeatherStation) WiFi SSID/Key entry without using external device #13
VeniceInventors
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking at the readme of the WeatherStation project and it made me think that the simplest way (from a coding perspective) to provide the SSID and Keyphrase on the fly without depending on an external device would be to use the 2 buttons with:
a) confirm the string and switch from ssid to keyphrase
b) confirm keyphrase and start connecting to the AP
The buttons library could be used to simplify handling long/short/double presses, but could also be done manually by using timers or a timestamp variable.
As the readme suggests, if the hard-coded AP doesn't connect, after a couple tries, switch to the manual entry and let the user specify the SSID and passphrase.
A more convenient option that requires a bit more code is to scan for APs and display a list so that the user can pick one instead of manually entering the SSID.
Beta Was this translation helpful? Give feedback.
All reactions