Some checks failed
Validate / validate (push) Failing after 8s
- Add DDP client for LED strips >500 LEDs (UDP port 4048), with automatic fallback from HTTP JSON API when LED count exceeds limit - Wrap blocking operations (screen capture, image processing) in asyncio.to_thread() to prevent event loop starvation - Turn on WLED device and enable live mode when starting DDP streaming - Add LED strip offset field to calibration (rotates color array to match physical LED position vs start corner) - Add server management scripts (start, stop, restart, background start) - Fix WebUI auth error handling and auto-refresh loop - Add development API key to default config - Add i18n translations for offset field (en/ru) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
863 B
YAML
40 lines
863 B
YAML
server:
|
|
host: "0.0.0.0"
|
|
port: 8080
|
|
log_level: "INFO"
|
|
cors_origins:
|
|
- "*"
|
|
|
|
auth:
|
|
# API keys are REQUIRED - authentication is always enforced
|
|
# Format: label: "api-key"
|
|
api_keys:
|
|
# 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"
|
|
|
|
logging:
|
|
format: "json" # json or text
|
|
file: "logs/wled_controller.log"
|
|
max_size_mb: 100
|
|
backup_count: 5
|