23.03.2020, 21:11
Hello, everybody,
i would like to write a script that switches the light independently from sunset or sunrise.
For example:
sunrise + 0 hours
40% Dimming
Sunrise + 2 hours
100% Dimming
Sunrise + 5 hours
100% Dimming
Sunset - 4 hours
100%
Sunset - 2 hours
100%
Sunset - 2 hours
100%
sunset + 0 hours
80% Dimming
Sunset + 1 hour
50% Dimming
Sunset + 2 hours
30% Dimming
Sunset + 3 hours
15 % Dimming
How would the script for this look like? How can I use sunset + sunrise for this?
Thanks a lot
Chris
i would like to write a script that switches the light independently from sunset or sunrise.
For example:
sunrise + 0 hours
40% Dimming
Sunrise + 2 hours
100% Dimming
Sunrise + 5 hours
100% Dimming
Sunset - 4 hours
100%
Sunset - 2 hours
100%
Sunset - 2 hours
100%
sunset + 0 hours
80% Dimming
Sunset + 1 hour
50% Dimming
Sunset + 2 hours
30% Dimming
Sunset + 3 hours
15 % Dimming
How would the script for this look like? How can I use sunset + sunrise for this?
Thanks a lot
Chris