Jump to content

Question About Wait and If Conditions Changing


FrayAdjacent

Recommended Posts

I did a little looking around and couldn't find the answer to this simple question.

 

If I have a program that has a couple conditions, and a THEN statement that starts with a wait period before executing some other command...

 

If the conditions become true, and the wait starts, then the conditions change to false, does the THEN statement stop running? 

 

 

IF

 condition 1

AND condition 2

 

THEN

 wait 5 minutes

 turn on device

 

ELSE

 

 

Link to comment

And if you don't want that behavior, just split it into two programs:

 

Program1

IF

condition 1

AND condition 2

 

THEN

Program2 RunThen

 

 

Program2 (disabled!)

IF

THEN

wait 5 minutes

turn on device

Link to comment

I'm doing some things with motion sensors and want to be sure they don't turn off lights after certain conditions are no longer met. Just wanted to verify the THEN (or ELSE) statement will stop running if the conditions are no longer met for a program (or are met for an ELSE statement).

 

Thanks for the responses, guys! 

Link to comment

The Motion Sensor does not have separate On/Off nodes.  The Motion Sensor would be set to Sensing mode: checked and On Only mode.  That way the Sensor node can turn a Scene On for quick responder reaction and use a Program(s) to turn the responder Off. 

Link to comment

Archived

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


×
×
  • Create New...