Rename all Python modules, classes, API endpoints, config keys, frontend fetch URLs, and Home Assistant integration URLs from picture-targets to output-targets. Store loads both new and legacy JSON keys for backward compatibility with existing data files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
911 B
YAML
37 lines
911 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!
|
|
|
|
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"
|
|
output_targets_file: "data/output_targets.json"
|
|
pattern_templates_file: "data/pattern_templates.json"
|
|
|
|
mqtt:
|
|
enabled: false
|
|
broker_host: "localhost"
|
|
broker_port: 1883
|
|
username: ""
|
|
password: ""
|
|
client_id: "ledgrab"
|
|
base_topic: "ledgrab"
|
|
|
|
logging:
|
|
format: "json" # json or text
|
|
file: "logs/wled_controller.log"
|
|
max_size_mb: 100
|
|
backup_count: 5
|