Eric2XU Posted August 14, 2012 Posted August 14, 2012 Hey everyone, I am really sorry if this is already posted somewhere but I am looking for some help. I have a motion sensor controlling a pair of 3 way switches. IF Control MS1-Sensor is switched On And Status 'Laundry (1)' is Off Then Set Scene 'Laundry 3-Way' On Else No Action That works great. The Scene turns the lights on to 70%. Then I have the following to turn off the lights: IF Control MS1-Sensor is switched Off And Status 'Laundry (1)' is 70% Then Set Scene 'Laundry 3-Way' Off Else No Action So that works expect for that if the lights were set to 100% they would still turn off. I am looking to have it only turn the lights off if they are at 70% after the motion sensor triggers off. Lastly I would like to add in a delay from when the motion sensor triggers off if possible to leave the lights on for an additional 60 seconds. Can anyone help me?
TJF1960 Posted August 14, 2012 Posted August 14, 2012 Hello jay5, Is the motion sensor directly linked to any of the switches in the three-way scene or is the motion just linked to the plm/ISY? In order for the turn off program to work, the motion cannot be directly linked to 'Laundry (1) switch. When you turn the three-way scene on locally does the ISY admin console correctly indicate the status level of "'Laundry (1)"?
Eric2XU Posted August 14, 2012 Author Posted August 14, 2012 So I figured it out. I had a test program that was triggering, my logic was working on what I posted. The only thing left is how to introduce a wait between the motion sensor stopping and the light turning off.
stillen_i30 Posted August 18, 2012 Posted August 18, 2012 Isn't there a "wait" command that can be added to the "Then" section, such as "WAIT 4 MINS", followed by another line under THEN telling the scene to turn off?
Eric2XU Posted August 18, 2012 Author Posted August 18, 2012 My fear is that if I do that and it starts waiting, and then motion happens before the wait is over it will still turn them off when in fact it should be cancelled and started over when the motion sensor control fires off again.
Michel Kohanim Posted August 20, 2012 Posted August 20, 2012 stillen_i30, Yes, indeed there is. Read on ... jay5, Wait can be interrupted. i.e. if the condition turns false, then ISY exists the wait and the program stops. So, you are not going to have that condition. With kind regards, Michel
Recommended Posts