slpelts Posted March 14, 2009 Posted March 14, 2009 I wanted to know if it was dark outside and have in the past been able to compare in programs that if the time was > Sunset or Time < SunRise then it must be dark outside. I am trying to replicate this in ISY stuff and can't seem to do it. I thought that if i could set a flag some how. Set the flag on SunSet and turn off at SunRise. then in the program i could just check to see if this flag is set and know whether to turn lights back on or not
Michel Kohanim Posted March 14, 2009 Posted March 14, 2009 Hello slpelts, Try this: If From Sunset To Sunrise (next day) Then ... Else ... With kind regards, Michel I wanted to know if it was dark outside and have in the past been able to compare in programs that if the time was > Sunset or Time I am trying to replicate this in ISY stuff and can't seem to do it. I thought that if i could set a flag some how. Set the flag on SunSet and turn off at SunRise. then in the program i could just check to see if this flag is set and know whether to turn lights back on or not
Recommended Posts