Rewrite HAOS integration: target-centric architecture with KC color sensors
- Rewrite integration to target-centric model: each picture target becomes a HA device under a server hub with switch, FPS, and status sensors - Replace KC light entities with color sensors (hex state + RGB attributes) for better automation support via WebSocket real-time updates - Add WebSocket manager for Key Colors color streaming - Add KC per-stage timing metrics (calc_colors, broadcast) with rolling avg - Fix KC timing fields missing from API by adding them to Pydantic schema - Make start/stop processing idempotent to prevent intermittent 404 errors - Add HAOS localization support (en, ru) using translation_key system - Rename integration from "WLED Screen Controller" to "LED Screen Controller" - Remove obsolete select.py (display select) and README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,25 +12,13 @@ auth:
|
||||
# Generate secure keys: openssl rand -hex 32
|
||||
dev: "development-key-change-in-production" # Development key - CHANGE THIS!
|
||||
|
||||
processing:
|
||||
default_fps: 30
|
||||
max_fps: 60
|
||||
min_fps: 1
|
||||
border_width: 10 # pixels to sample from screen edge
|
||||
interpolation_mode: "average" # average, median, dominant
|
||||
|
||||
screen_capture:
|
||||
buffer_size: 2 # Number of frames to buffer
|
||||
|
||||
wled:
|
||||
timeout: 5 # seconds
|
||||
retry_attempts: 3
|
||||
retry_delay: 1 # seconds
|
||||
protocol: "http" # http or https
|
||||
max_brightness: 255
|
||||
|
||||
storage:
|
||||
devices_file: "data/devices.json"
|
||||
templates_file: "data/capture_templates.json"
|
||||
postprocessing_templates_file: "data/postprocessing_templates.json"
|
||||
picture_sources_file: "data/picture_sources.json"
|
||||
picture_targets_file: "data/picture_targets.json"
|
||||
pattern_templates_file: "data/pattern_templates.json"
|
||||
|
||||
logging:
|
||||
format: "json" # json or text
|
||||
|
||||
Reference in New Issue
Block a user