Gizmo78163 Posted November 14, 2013 Posted November 14, 2013 New user of an ISY-994i PRO. My first (of many, I'm sure) question... I would like program an Insteon action that occurs between November 15 and January 1, a sort of Christmas scene. How to, please?
LeeG Posted November 14, 2013 Posted November 14, 2013 If From 1:00:00AM on 2013/11/15 To 1:00:00AM on 2014/01/01 Then Else
apostolakisl Posted November 14, 2013 Posted November 14, 2013 If you are looking for something where the year is a wild card, then ISY doesn't have that built in. The above program by Lee works for this Christmas season only. If you want to add wild cards for all of the different date functions you need to download this set of programs and install as indicated. Otherwise you need to do what Lee did with multiple "if" statements for as many years into the future as you would like to have this program work connected by "or". (If from a to b date, or c to d date, or e to f date, etc) http://wiki.universal-devices.com/index ... _Variables
Gizmo78163 Posted November 14, 2013 Author Posted November 14, 2013 Thanks, guys! I have been using Indigo on my Mac desktop and wanted to migrate away from the "computer on all the time mode," and also integrate this into my new ELK M1 panel as well. I can see I've got a steep learning curve ahead of me, and the UDI Wiki is just so large I didn't know where to start. The link to the "calendar" variables is spot on.
switches Posted November 14, 2013 Posted November 14, 2013 Certainly the link above to ISY-99i Generic Calendar Using Programs and Variables is best. Here's a simple less precise solution I used to enable irrigation in the summer but it's effectiveness varies depending on your distance from the equator (North of the 49th parallel our summer days are much longer than our winter days). A holiday is probably a lot harder to pinpoint this way but works fine for a season - ha. If Time is Sunrise And From 1:00:00AM To 6:30:00AM (same day) Then Enable Program 'Backyard Irrigation' Else Disable Program 'Backyard Irrigation'
oberkc Posted November 14, 2013 Posted November 14, 2013 Certainly the link above to ISY-99i Generic Calendar Using Programs and Variables is best. Here's a simple less precise solution I used to enable irrigation in the summer but it's effectiveness varies depending on your distance from the equator (North of the 49th parallel our summer days are much longer than our winter days). A holiday is probably a lot harder to pinpoint this way but works fine for a season - ha. If Time is Sunrise And From 1:00:00AM To 6:30:00AM (same day) Then Enable Program 'Backyard Irrigation' Else Disable Program 'Backyard Irrigation' Switches... Nice! Really creative. Pick a time of the year. Determine when sunrise is at that time of year. Use that sunrise time as the limit of your time condition. I may steal this idea.
apostolakisl Posted November 14, 2013 Posted November 14, 2013 Certainly the link above to ISY-99i Generic Calendar Using Programs and Variables is best. Here's a simple less precise solution I used to enable irrigation in the summer but it's effectiveness varies depending on your distance from the equator (North of the 49th parallel our summer days are much longer than our winter days). A holiday is probably a lot harder to pinpoint this way but works fine for a season - ha. If Time is Sunrise And From 1:00:00AM To 6:30:00AM (same day) Then Enable Program 'Backyard Irrigation' Else Disable Program 'Backyard Irrigation' Switches... Nice! Really creative. Pick a time of the year. Determine when sunrise is at that time of year. Use that sunrise time as the limit of your time condition. I may steal this idea. That is a clever solution. You might run into DST issues depending on the exact dates.
Recommended Posts