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>
- Add HTTP endpoint tests to mimic browser interactions
- Move old test files from test/ to tests/ directory
- Add comprehensive endpoint tests for tabs, profiles, presets, patterns
- Add README documenting test structure and how to run tests
- Add Selenium-based browser tests for tabs, profiles, presets, and color palette
- Test drag and drop functionality for presets in tabs
- Include cleanup functionality to remove test data after tests
- Tests run against device at 192.168.4.1