Jump to content

Programming Else statement issue with time?


sdynak

Recommended Posts

Posted
23 minutes ago, lilyoyo1 said:

That depends on the person. I've used it for years without any issues. Ive found it's the easiest way for someone who may not have much experience to accomplish what they are trying to do without being overwhelmed as well as someone not versed in programming to pick up vs other methods 

Also, folder conditions will not evaluate on a ISY reboot, and programs can remain unprocessed for extended times, unknown to the user, until the user manually restarts them again, if they discover it. I don't see any way to force True or False, on startup,  making them dangerous to the user.
 

Testing programs inside a disabled folder always fails without any notice, making testing programs more complex, and more likelihood to leave them non-functional once tested.

  • Like 1
Posted
11 minutes ago, larryllix said:

Also, folder conditions will not evaluate on a ISY reboot, and programs can remain unprocessed for extended times, unknown to the user, until the user manually restarts them again, if they discover it. I don't see any way to force True or False, on startup,  making them dangerous to the user.
 

Testing programs inside a disabled folder always fails without any notice, making testing programs more complex, and more likelihood to leave them non-functional once tested.

There's no right/wrong. Since the 99, I've never experienced 1 problem using this method so I'm comfortable with it. Especially when it comes to new users, I feel it's a great way to get started until they learn more complicated methods

  • Like 1
Posted (edited)

Just wanted to say for the program test it is working as expected now bit I did remove the Christmas tree as it was a take from my night program that I don't expect any conflict

I am going to tattoo "Status" and "Control" definitions on my forehead and beat it into my brain!! Then work on other suggestions mentioned here for options. 

 

Thanks to everyone for your kind help.. Really appreciate the experience and willingness to help keep the rest of my hair I got left. 

 

Front Lights On Dark 2 - [ID 0099][Parent 0072]

If
        From     5:00:00AM
        To      Sunrise +  1 second (same day)
    And (
             Control 'Front-Door / Front Door-Opened' is switched On
        )
 
Then
        Set 'Front Lights and Porch / Front Lights' On
        Wait  5 minutes 
        Set 'Front Lights and Porch / Front Lights' Off
 
Else
   - No Actions - (To add one, press 'Action')
 

Edited by sdynak
Guest
This topic is now closed to further replies.

×
×
  • Create New...