You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
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: