accent
accent copied to clipboard
Client interface for Wifi setup
- At first boot, create an access point with a static IP
- Show an image with instructions to connect to the AP and open a browser to the IP address
- Serve a small website with a form for SSID and password
- Handle the form request by saving SSID and password to NVS
- Use the saved credentials when connecting to Wifi
- If connecting to Wifi fails or times out, go back to 1
Some remaining work:
- Make web server use HTTPS
- Respond with confirmation after saving form and restarting