Jump to content

Program help


mcrean

Recommended Posts

I have a simple KPL/AL scene that I want to do the following. If I turn off the scene in the evening, i want it to come on at 11:00 PM. If I turn it off after 10 PM I want it to come back on in an hour after turning off (say turn it off at 10:30PM, come back on at 11:30, OR if turned off at say 11:30PM that it comes back on at 12:30AM.). The hour rule can be in place till sunrise the next day(But I want the scene on all the time unless I turn it off). How should I write the program(s) to make that work?

Thank you!

Link to comment

Never mind, I got it. For those who are curious, I created a folder with a time frame of 10PM to Sunrise. 3 programs; 1 is If the module is off at 10:01, then start program 2, which is if the module is switched off, then wait an hour and switch it back on. The third program is if the module is switched on, stop the second program.

Link to comment

Hello mcrean,

 

I am so very sorry for the delay in replying to you ... it seems that you have found the answer.

 

Please let us know if we can be of further assistance,

With kind regards,

Michel

 

Never mind, I got it. For those who are curious, I created a folder with a time frame of 10PM to Sunrise. 3 programs; 1 is If the module is off at 10:01, then start program 2, which is if the module is switched off, then wait an hour and switch it back on. The third program is if the module is switched on, stop the second program.
Link to comment

Archived

This topic is now archived and is 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
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...