-
For context, the sun here is currently only reaching 12 degrees above the horizon near midday and sunset was at 15:51. In the middle of winter it was 7 degrees above the horizon with sunrise at 08:44 and sunset at 14:51. There was an issue #97 asking to allow setting a latitude - but the resolution there was to use the min/max sunrise/sunset time configs. I would prefer for the lights to be gradually dimmed and reddened after 6pm ; Sunrise I'd want the lights to be at regular brightness from about 8am. In Summer I don't mind if the evening happens a little later, though there is also the opposite extreme that I would want to be limited. In the middle of summer, sunrise is at 03:34 and sunset is at 22:08. I've set the (min|max)_sunset_time configs to 18:30-19:30 but I've been finding the lights are already dimmed near 2pm. Am I misconfiguring it? Or how am I supposed to achieve a reasonable set of dimming hours when using adaptive-lighting? This is my current config:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out it was another automation that was messing with the lighting, meaning Adaptive Lighting was working 100% the whole time! To figure this out I first set up a new helper to be able to graph the brightness values of two of my lights ; I was then able to figure out when and by how much the brightness values were changing. The next day I saw one of the lights were dimming to exactly 50% when adaptive lighting had previously already set it to 100%. I set up a helper using the "Template a sensor" helper type with a template as below ; one helper for each of the lights I was monitoring:
I was then able to graph these helpers to see the actual behaviour. On the graph, the highest values equate to 100% brightness while the sudden drops are either where the lights are switched off or they are where they dropped to 50% brightness. By figuring out what time the anomalous changes were happening I was able to find the times the rogue Automations were triggering. |
Beta Was this translation helpful? Give feedback.
It turns out it was another automation that was messing with the lighting, meaning Adaptive Lighting was working 100% the whole time!
To figure this out I first set up a new helper to be able to graph the brightness values of two of my lights ; I was then able to figure out when and by how much the brightness values were changing. The next day I saw one of the lights were dimming to exactly 50% when adaptive lighting had previously already set it to 100%. I set up a helper using the "Template a sensor" helper type with a template as below ; one helper for each of the lights I was monitoring: