I'm trying to create an event that started Dec 1 of any year at a specific time of day and stops the second week of January the next year. Basically a Christmas season event to turn on and off my lights. I got it working for the month of December, but not sure how continue it into January.
Announcement
Collapse
No announcement yet.
Event that Over laps into the next year
Collapse
X
-
The key is to use Y as the year when you specify the date. That will force HS to use the current year (ie. the year when it is evaluating the date).
For example:
And If the date is after 11/29/Y
And If the date is before 1/5/YMike____________________________________________________________ __________________
HS3 Pro Edition 3.0.0.548, NUC i3
HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti
-
Actually you have to stipulate the year if you want to use both conditions with a single trigger. When you use a specific year, the condition can span midnight on December 31. If you use "any year" the condition begins and ends at midnight on December 31. The condition 11/30/Y actually means after midnight 11/30/this year and before midnight 12/31/this year. If you want the event to run every year, you have to split the trigger using the same trigger with an OR IF and the second condition. Here are two event examples. The first one is good for this year, the second will work every year.
HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon
Comment
-
Originally posted by huntley1 View PostI've tried using a after... and before condition. The And If condition. The event doesn't work at all. I thought is was as simple as that too.Mike____________________________________________________________ __________________
HS3 Pro Edition 3.0.0.548, NUC i3
HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti
Comment
Comment