This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Switching sunrise/sunset-dependent light
#1
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
Reply


Messages In This Thread
Switching sunrise/sunset-dependent light - by lenze90 - 23.03.2020, 21:11

Forum Jump: