As the title says, I want a program to run at sunset, but only for a set number of days.
Lets assume I want to turn on some lights at sunset, and off at midnight on those same days. I want this to happen for a month.
I have a pair of responses to control the lights at the times, but cannot figure out what is the best way to trigger them.
I can set a sunset response, but that will get triggered every day, all year.
I can use a time program to run at a given time when its a holiday. The problem with this is, the time program happens at a given time which is great for the midnight turn off, but not for sunset.
Also the holidays are single days, not for a duration of days.
Add to this, there are only 24 holiday entries.
If I could figure out how I can check which holiday has triggered my event I could set two holidays, one at the start and the other at the end, and then set or clear a flag that the sunset & midnight responses could check.
since I can't see a way to do this though, whats the best way to achieve what I am after ?
So am I correct in thinking you can't actually trigger something off of when a holiday starts or stops as such, only check whether this day is a holiday ?
And you cant check which holiday day/period it is ?
I wanted to use a flag in my response rather than dates, so they are generic. I can do this by using another response to set the flag based on the dates as you have shown.
That still needs me to edit one or more responses rather than setting holidays (or timers). Ideally I want to avoid having to edit the responses for each 'holiday' period, as these change each year.
It would be really handy if it was possible to be able to set these periods using the tablet or phone app, rather than having to modify its programmed responses, otherwise the holiday entries are of limited use imo.