973 B
973 B
Setup WebGUI
Purpose
Configure WiFi profiles in the virtual box without touching the API or CLI.
Prerequisites
- Box running:
python3 box/main.py run
Step-by-step
- Open the Setup UI:
http://127.0.0.1:9000/setup
- Choose SSID and enter password.
- Click "Verbinden".
- Refresh
/statusto seewifi_stateandconnected_ssid.
Fields
- SSID: drop-down from mock scan
- Password: free text
Expected results
- WiFi profile is saved (encrypted)
wifi_statebecomesWIFI_ONLINEconnected_ssidmatches selected SSID
Checklist
- ✅ Setup UI loads
- ✅ Submit stores a profile
- ✅
/statusreflectsWIFI_ONLINE
Troubleshooting
- Setup UI not reachable:
- Ensure Box is running and port
9000is free.
- Ensure Box is running and port
- Submit does nothing:
- Check Box logs for errors; secrets file must be writable.
Notes
- Setup UI is write-enabled only when no profiles exist.
- When profiles exist, the page switches to read-only status.