Jump to content

Dark outside?


slpelts

Recommended Posts

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

Link to comment

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

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...