Jump to content

Program Does Not Finish


Vince

Recommended Posts

Posted

Hi Folks,

I am using the Insteon Hidden Door Sensor. The program will turn the light on when the door opens but it does not turn the light out after a minute. What am I missing?  Thanks.

 

 

 

post-2785-0-26889500-1435638581_thumb.png

Posted

Hi Folks,

I am using the Insteon Hidden Door Sensor. The program will turn the light on when the door opens but it does not turn the light out after a minute. What am I missing? Thanks.

 

 

 

attachicon.gifScreenshot (1).png

Could it be you are closing the door before the minute is up.

 

Sent from my SM-N900P using Tapatalk

Posted

Yes, that is the case. I had it working at one point, now I don't know what is different. I had it set for 10 seconds for testing purposes and it seemed to work.

Posted

1. Change Status to Control

2. Do NOT include the sensor as a member of a scene

Posted (edited)

When you hit the wait, the If will be reevaluated on any condition change. Closing the door within the wait period cancels the Then path and changes to executing Else, and the light won't get turned off.

Either split it to two programs. One with your current Then (and no If) and change this program to 'RunThen' the new program. That way it won't get interrupted on the wait.

Or, add a command to turn off the light in the Else, and it will get turned off as soon as the door is closed.

Or, as above, use Control....

Edited by MWareman
Posted

1. Change Status to Control

2. Do NOT include the sensor as a member of a scene

Changing Status to Control seems to have worked this time.

MWareman, I do have other programs that operate that way. I'll try that if I have anymore problems. Thank you guys.

Guest
This topic is now closed to further replies.

×
×
  • Create New...