32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
# Configuration for Ambilight Home Assistant Integration
|
|
|
|
# The base URL of your Home Assistant instance.
|
|
# Example: "http://192.168.1.100:8123" or "https://ha.yourdomain.com"
|
|
ha_url = "http://192.168.1.238:8123"
|
|
|
|
# A Long-Lived Access Token from Home Assistant.
|
|
# You can generate this in Home Assistant by going to your user profile.
|
|
ha_token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI0YjNjMmYxNGE3NWM0YmJjYmNhYzA0YWFmYTlhOTVkNCIsImlhdCI6MTc3MzUyOTcwNCwiZXhwIjoyMDg4ODg5NzA0fQ.I923kml1zWqYYZk-0JSunexbo5NKcgehhwmG-T8jBcg"
|
|
|
|
# Target updates per second (FPS)
|
|
target_fps = 3
|
|
|
|
# Color smoothing factor (0.0 to 1.0)
|
|
# 0.0 = no smoothing (instant updates)
|
|
# 1.0 = completely static (no updates)
|
|
smoothing = 0.1
|
|
|
|
# Specific lights to control. If empty, all supported color lights are used.
|
|
# Example: ["light.living_room", "light.bedroom"]
|
|
lights = []
|
|
|
|
# Restore lights to their original state/color when the program exits.
|
|
restore_on_exit = true
|
|
|
|
# Time (in seconds) it takes to fade to the new color. 0.0 means instant.
|
|
transition = 0.1
|
|
|
|
# Minimum percentage of difference required between frames to trigger an update (e.g. 1.0 = 1%)
|
|
# Helps with flickering on static images, from the non deterministic color algorithm.
|
|
min_diff_percent = 5.0
|