-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add WiFi Provisioning #42
Comments
as an Example we can look to https://github.com/esphome/esp-web-tools https://esphome.github.io/esp-web-tools/ works quite well, but their Provisioning Standard ist somehow weird and non ESP-IDF like. |
Since there is a console serial terminal, why not run a WiFi configuration wizard on the console? I know it's not as pretty, but it's simpler and works across all tools that provide a serial console. I implemented a client for the Improv WiFi protocol used by esphome. It's lacking in robustness because it doesn't have any means to do retries if a protocol exchange is missed and it can't handle duplicate or gratuitous packets - and the first packet is often missed because the ESP32 sends it before Webserial is ready. It also uses a rather simplistic packet structure rather than something extensible like JSON. I thought about redesigning Improv WiFi, but ended up implementing the WiFi wizard on the ESP32 console. |
i do exactly this in the Moment. ESP Provisioning by QR-Code and BLE. |
I am thinking of moving this issue into https://github.com/espressif/esp-launchpad, since it looks like this will be at least partially application-specific. Some applications might support CLI based provisioning, others might handle it via NVS. Let's keep esptool-js repo with just the "flashing" functionality. |
Add WiFi Provisioning
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/provisioning/wifi_provisioning.html
Would make a lot of sense.
After flashing use Serial Console Protocomm to scan and Connect.
The text was updated successfully, but these errors were encountered: