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

Second method for WiFi onboarding without Camera #169

Open
mehrdadfeller opened this issue Aug 20, 2024 Discussed in #148 · 0 comments
Open

Second method for WiFi onboarding without Camera #169

mehrdadfeller opened this issue Aug 20, 2024 Discussed in #148 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mehrdadfeller
Copy link
Collaborator

mehrdadfeller commented Aug 20, 2024

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)

@mehrdadfeller mehrdadfeller added the enhancement New feature or request label Aug 20, 2024
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
Status: Todo
Development

No branches or pull requests

2 participants