For quite a long time now I have had code that worked ok but it is starting to show its problems.
Sunset to a fixed time to dim the lights in n steps. (n is fixed.)
But the time between steps varies depending on the month (season).
To get around the problem I have a file which has varying values which is changed at the start of each month.
This works but recently the problem showed itself again that the times are just not really working.
I may be able to work it out, but knowing my working: If I don't ask, I won't be able to work it out. Where as if I do ask: I may be able to.
I am using
cron plus to get sunset (start) time.
So for the sake of just getting a base line working:
cron plus saying
sunset and say
I am not sure how to do the maths to determine that time span.
Then I need to divide that by
5. But I'm guessing if I can get the first bit done, the
/5 should be easy.
Could someone show me a basic flow how to do this - please?
I'm guessing that the output of the
cron plus node would be used to start the event/s.