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>
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>
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>