adaptive-lighting icon indicating copy to clipboard operation
adaptive-lighting copied to clipboard

Decrease brightness during daylight?

Open haasn opened this issue 1 year ago • 3 comments

In rooms with natural daylight, it really makes no sense to blast all lamps at full brightness during the day.

It would be nice to be able to lower the brightness while the sun is high, but still have the lamps ramp up to maximum brightness as the sun is setting. Basically, I want a brightness curve that is shaped something like an inverted W - low at night, low during the day, bright in between.

Alternatively / additionally, it would be nice if we could incorporate ambient lux sensors to perform this function - basically suppressing the light brightness while the lux curve is high.

I know that the Sensor Light blueprint has the ability to change the brightness based on the triggering conditions; but that one doesn't have the ability to then also lower the brightness during the evening / night!

Before I pull my hair out trying to recreate this simple functionality that e.g. Philips Hue has built in; it would be nice if this were somehow supported out of the box.

Maybe it would be possible somehow to have the light brightness tied to MIN(brightness from Sensor Light blueprint, brightness from Adaptive Lights)?

haasn avatar Dec 01 '24 14:12 haasn

Hi @haasn, I've been fiddling with something similar: change the maximum AL color temperature when it's overcast outside. All my AL instances adjust color temperature in the range of 2700K~4000K from dusk till dawn. But, when it's gloomy outside, 4000K feels more like industrial lighting inside.

To remedy this, I made a simple automation that triggers on an averaged weather provider's cloud_coverage and adjusts the max_color_temp of all my AL instances when the sun is "up". The "more overcast" it is, the more the max_color_temp gets adjusted.

Check it out over here, it can be modified for your usecase as well.

Groetjes,

djurny avatar Dec 04 '24 03:12 djurny

Hi @haasn, I've been fiddling with something similar: change the maximum AL color temperature when it's overcast outside. All my AL instances adjust color temperature in the range of 2700K~4000K from dusk till dawn. But, when it's gloomy outside, 4000K feels more like industrial lighting inside.

To remedy this, I made a simple automation that triggers on an averaged weather provider's cloud_coverage and adjusts the max_color_temp of all my AL instances when the sun is "up". The "more overcast" it is, the more the max_color_temp gets adjusted.

Check it out over here, it can be modified for your usecase as well.

Groetjes,

This could definitely be useful, ideally combined with an ambient brightness sensor that does not depend on the state of the lights (to avoid a feedback loop).

haasn avatar Dec 04 '24 21:12 haasn

Local cloud occupance (gathered and calculated via GEO + 3D reprojection + weather data?) highly affects what illuminance would be appropiate, as well as the earth rotation and sun rotation ("seasons")

e.g. during storms lower illuminance in winter, clear weather in summer higher illumimance.

emansom avatar Aug 11 '25 19:08 emansom