656 B
656 B
Virtual Box Flow (IDE)
Purpose
Describe the full, hardware-free box lifecycle used in development.
Prerequisites
- Python 3
- Box started with
python3 box/main.py run
Step-by-step
- Box starts and creates
box/data/box.jsonif missing. - WiFi state is derived from stored profiles:
- none ->
WIFI_UNCONFIGURED
- none ->
- Setup UI available at
http://127.0.0.1:9000/setup. - After profile submission, box becomes
WIFI_ONLINE. - API available at
http://127.0.0.1:8000.
Troubleshooting
- Setup UI not reachable:
- Ensure port 9000 is free and Box is running.
- API not reachable:
- Ensure port 8000 is free and Box is running.