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>
POST /ota writes the image to the idle app slot and reboots; GET /ota
reports the running slot. App rollback is enabled, and a new image confirms
itself after 10 s. Adds make ota HOST=<ip>, tools/ota.py and the led-tool
--ota update.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the audio endpoints, the Makefile pointer, the first-run results of
the lossy-link and beat tests, the USB and analyzer latency methods and the
ESP32-C3 comparison (delivery, latency, frame rate, Wi-Fi start-up order).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
make build / flash / monitor / flash-monitor / log / size / menuconfig /
erase / clean / test run ESP-IDF in Docker and handle rootless ownership.
Adds the helper scripts behind log and test, and a --settle option for
usb_latency.py (an ESP32-C3 driver resets when its port is opened).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Restores the live audio section from esp32-eth: /audio page, /audio.wav
stream, /beats event feed, POST /tap and /time, and the mic and beat state
in /status. The web build adds an Audio entry to the header menu and the
mobile dropdown for the v2 copy of index.html only, so the Pi UI is unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The controller sent a GROUPS packet on every driver hello. For a driver in
no zone that was an empty list, which replaced the groups stored on the
driver. It is now sent at announce and resync only when the list is not
empty; explicit zone and device edits still send every list.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
New ESP-IDF project in v2/ that replaces the Pi and the UART bridge:
- W5500 Ethernet, INMP441 beat/tempo detector (from esp32-eth), ESP-NOW master
- LittleFS data store and a JSON API over the Pi's db/*.json collections,
with /db import and export; web UI minified and gzipped at build time
- Zone play/stop as 0x4C GROUP_CMD, preset push/send as CMD (binary v2
envelope, byte-identical to src/util/binary_envelope.py), sequencer and
scenes, driver registration from the boot hello
- Reliable bulk link: acks with retransmit, fragments, state-version digest
and resync; beat frames sent twice with a lead so drivers fire together
- Bench tooling: lossy-link mode, synthetic beats with echo measurement,
USB and logic-analyzer latency scripts, and docs/BENCH_TEST.md
Needs the matching led-driver changes (p2p branch) to receive the link and
beat frames.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Client-side filter that hides non-matching rows as you type, persists
across list re-renders, and clears when the modal is reopened or on Esc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/engine, modelled on technicalkiwi/portal's player and sequence runner:
- Pixel generator: runs the unchanged led-driver patterns under CPython
(utime shim + NeoPixel-like buffer) on a per-zone render thread and
streams frames to pixel outputs, with keepalive for static frames.
- Output drivers: DDP, Art-Net (ArtDMX/ArtSync), sACN/E1.31, USB-DMX
(Enttec Pro / Open DMX), plus an ESP32 preset output that reuses the
existing preset + select delivery path. Registry in db/output.json,
CRUD and test pattern at /outputs.
- Sequencer: timed preset chains per zone (portal step shape), deadline
scheduling, loop/repeat, resume after restart; legacy sequence records
are migrated. Zone play/stop, sequence and scene play/stop endpoints.
- CLI (python -m engine.cli), Outputs and Sequences modals, preset tiles
drive pixel outputs, API/README docs, engine test suite.
ESP32 firmware is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Serve GET /settings as JSON by removing duplicate HTML route (use /settings/page for the standalone UI).
- Save global_brightness via PUT; broadcast to connected drivers; push saved level when outbound WS connects.
- Zones UI loads brightness from GET /settings only (no localStorage).
- Bump led-driver submodule for settings.save on brightness with save flag.
- Extend API doc and endpoint tests for global_brightness.
Co-authored-by: Cursor <cursoragent@cursor.com>
Require serial_enabled true in settings to open serial_port; default false in
set_defaults for Wi-Fi-only and dev machines.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add a broad set of LED patterns with metadata/tests and update zone/profile preset seeding, while refining mobile/desktop UI behavior for scrolling, brightness controls, and bulk pattern sending.