Jump to content

Dark outside?


slpelts

Recommended Posts

Posted

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

Posted

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

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...