Jump to content

Time in the IF statement


Bernman

Recommended Posts

Posted

I want to turn off a controller at multiple times during one day, currently only twice, but potentially more. What is the best way to program this?

 

Here is my current program:

 

If
       Time is 12:00:00AM
    Or Time is Sunrise +  1 hour 
Then
       Set Scene 'Porch Light 3-Way' Off
Else
  - No Actions - (To add one, press 'Action')

 

I'm actually not sure if this code works. Seems a bit clunky. I was thinking I could have separate programs for each OFF check, but that is even MORE clunky.

 

Any help is appreciated :-)

 

Thx

Bernman

Guest
This topic is now closed to further replies.

×
×
  • Create New...