-
Notifications
You must be signed in to change notification settings - Fork 2
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
Second method for WiFi onboarding without Camera #169
Open
Labels
enhancement
New feature or request
Comments
sassanh
added a commit
that referenced
this issue
Jan 7, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 7, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 7, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 8, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 10, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 13, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 13, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 13, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 13, 2025
…d the device is not connected to any network - closes #169
sassanh
added a commit
that referenced
this issue
Jan 13, 2025
…d the device is not connected to any network - closes #169
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #148
Originally posted by zytegalaxy July 23, 2024
I think it will be helpful to add a second method WiFi onboarding without Camera; this will be helpful for devices that don't have camera loaded in particular. Also some users have reported that using camera is not always straightforward (the biggest question is how to generate the QR code for WiFi credentials, etc)
There is a common approach that IoT devices use where their WiFi becomes an access point initially and you can connect to them directly to access a local server and enter wifi username/password on web page accessible on
ubo-xx.local/prompt
(or something like that). We can show a QR code on LCD screen that points to this URl and user can scan with their phone as a shortcut.After that, WiFi stops being an access point and restarts to connects as client to the main WiFi. There are some existing libraries for this, but we can do more research on this:
https://github.com/WebThingsIO/gateway-wifi-setup
https://github.com/davidflanagan/wifi-setup
https://github.com/jasbur/RaspiWiFi
By implementing this, we lay the foundation for accepting user input through the web portable (or even by exposing the API and allow users to make POST call to it). We can resume this design anywhere else where device needs the user to enter text data (for example when entering access key for cloudflare tunnel, picovoice, etc)
The text was updated successfully, but these errors were encountered: