Skip to content

v0.2.0 — WebSocket LED Streaming API

Choose a tag to compare

@sickkick sickkick released this 24 May 03:32
· 30 commits to main since this release

What's New

  • WebSocket LED streaming module (hyperhdr/stream.py): HyperHDRLedColorsStream and HyperHDRLedGradientStream for real-time LED data over WebSocket, with json/query/header auth modes, auto-reconnect, and optional JPEG conversion.
  • Admin password authentication fallback: When adminRequired: true, stream auth falls back to admin password login if token auth fails.
  • Expanded client API: Admin token management, config retrieval, smoothing control, HDR mode, average color, discovery, benchmarks, and HDR/smoothing state subscriptions.
  • Auth retry logic: Distinguishes idle LEDs (no frames) from genuine auth failures to avoid unnecessary retry cycling.
  • Debug helper (hyperhdr/debug_hyperhdr.py): Full diagnostic script configurable via environment variables.
  • CLI example (examples/stream_leds.py): Standalone script with --host, --port, --token, --password, --mode, --frames, --jpeg.
  • Tests and packaging: Stream frame parsing tests; [stream] and [stream-jpeg] extras in pyproject.toml.