Hi Magnus,
Just to start with, I’m a little confused why one would want to dim lights at sunset? I would have thought one would have wanted to brighten lights at sunset.
I have outside lights on my house (Standard Chinese ESP32 dimmer modules) at the moment I’m turning them on using an Alexa Routine. All is working fine as I’m gradually increasing the brightness step by step in the Routine, 30% wait 20 seconds - 40% wait 20 seconds +++.up to 100%.
Having found your BluePrint I’m fascinated as I would like to, over time, gradually increase the brightness of the outside light with this BluePrint and I’m assuming there would be no perceived jump in brightness, as is the case using Alexa Routines, but just a slow increase up to maximum 100%.
You have put a button in the code to reverse the dimming to brightening. Can one assume that the description on the other sliders are also reversed ie: “dim” now equals “brighten”?
One or two more questions: See my YAML code below…
alias: Dim lights based on sun elevation
description: "Test dining table light "
use_blueprint:
path: EvTheFuture/dim_lights_based_on_sun_elevation.yaml
input:
target_lights:
entity_id: light.dining_table_light_light
turn_on: true
debugging: true
turn_off: false
min_brightness: 10
allowance: 20
end_elevation_setting: -5
transition_time: 0.25
reverse: true
start_elevation_setting: 6
Will this start to turn on my lights (I’m using a dimmable inside light to test) close to sunset?
If it works then I can adjust it to get it to how I would like it.
I did run a version of this and the light did come on but, unfortunately, it didn’t start to brighten!
How can one adjust the brightening interval, is this the “Transition time in seconds between brightness values” slider?
I did spend about two hours going through the above, some I understood and some I did not. I’m quite new to Home Assistant and some explanations can be a little too technical when one doesn’t understand most of the terms.
Thanks in advance for any help you can give.
Bob…