Adaptive Lighting (credit: basnijholt) -- effect of min_sunrise_time

I’ve been experimenting with this integration a lot and now understand it a lot better. It’s superb.

One thing I am still trying to figure out. If you use a manual sunrise or sunset time, does that alter the curve, shift the curve, or something else? You can’t experiment with this explicitly on the simulator because it only gives you one input for sunrise time (which, of course, might answer the question). The help text says set the earliest virtual sunrise time to allow for later sunrises but that hasn’t really helped me understand it – other than knowing it’s the correct variable, as sunrise is late at the moment obviously.

Specific example. Sunrise this morning where I live was 08:04am local time. I ran a simulation as follows:

  • Sunrise 0800
  • Sunset 1630
  • Max brightness 100%
  • Min brightness 20%
  • Time light 30mins
  • Time dark 3hrs

See the curve for this.

My question is simply this: if I set min_sunrise_time to 0600 (the new “virtual sunrise”), does my curve look identical in shape but just with the sunrise phase left-shifted as if the real sunrise were 0600? Or does it do something else?

I am iterating between different virtual sunrise times versus different quantum and ratio of brightness_mode_time_dark and brightness_mode_time_light but I read somewhere that min_sunrise_timewas less about shifting the curve, more about a “clamp” on the profile of the curve… and tbh I’m not sure which it is or, even, what that means!

Thanks to anyone who can clear this up for me.

Alastair