feat(v2): move web UI into v2, remove legacy MicroPython app
Move the web assets and templates under v2/web, drop the old src/, lib/ and scripts, and update firmware, tools, docs and db files. Add the audio page, LED test scripts and VPN autoconnect script. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6c16998691
commit
71bd320661
193 files changed
+5605
-18860
No files matched your search
@@ -27,7 +27,7 @@ tools/build_web.sh
|
||||
docker run --rm -v "$PWD":/project -w /project espressif/idf:v5.5.5 idf.py build
|
||||
```
|
||||
|
||||
Expect `Project build complete`, the app well under its 2 MB slot, and `build/www.bin` present. Fix ownership if Docker left it root-owned: `docker run --rm -v "$PWD":/project espressif/idf:v5.5.5 chown -R 0:0 /project`.
|
||||
Expect `Project build complete`, the app well under its 2 MB slot, with the web UI embedded (`www_dist/www.pack`). Fix ownership if Docker left it root-owned: `docker run --rm -v "$PWD":/project espressif/idf:v5.5.5 chown -R 0:0 /project`.
|
||||
|
||||
Flash with the S3 on USB (check which port it is; `ls /dev/ttyACM*`):
|
||||
|
||||
@@ -35,7 +35,7 @@ Flash with the S3 on USB (check which port it is; `ls /dev/ttyACM*`):
|
||||
docker run --rm --device=/dev/ttyACM0 -v "$PWD":/project -w /project espressif/idf:v5.5.5 idf.py -p /dev/ttyACM0 flash
|
||||
```
|
||||
|
||||
This writes the bootloader, partition table, app and the web UI image. Watch the log:
|
||||
This writes the bootloader, partition table and app (the web UI is part of the app). Watch the log:
|
||||
|
||||
```bash
|
||||
docker run --rm -it --device=/dev/ttyACM0 -v "$PWD":/project -w /project espressif/idf:v5.5.5 idf.py -p /dev/ttyACM0 monitor
|
||||
@@ -282,7 +282,7 @@ Groups: the controller sends a driver its group list when the driver announces i
|
||||
- **Devices show `last_ack_ms_ago: -1`:** the device record has no usable 12-character MAC in `address` or as its key.
|
||||
- **`beats_sent` rises but `echoes` stays 0:** the driver is not in `bench` mode, or it has not yet heard a controller frame (it learns the controller's MAC from the first data or digest frame; wait a few seconds).
|
||||
- **Resync never triggers:** the driver ignores a digest equal to its own version; confirm with `/status` that `link.ver` changed after the missed play.
|
||||
- **Web UI is blank:** the `www` image was not built before flashing; run `tools/build_web.sh` and flash again.
|
||||
- **Web UI is blank:** the web UI was not packed before the build; run `tools/build_web.sh` and build again (`make build` does this).
|
||||
|
||||
## 9. Cleanup
|
||||
|
||||
|
||||
Reference in new issue
Block a user