I’m trying to execute the following, and I’m having a hard time understanding where to put limitations.
This is what I want: I have motion sensors at the top and bottom of my stairs. I want to turn on the upstairs lights when walking up the stairs and have them turn off when walking down the stairs, given that these actions happen within a certain time range of the day, in a certain mode and given a certain light is already turned off. That is, if it’s NOT that time range OR NOT in that mode OR that certain light is NOT off, nothing should happen.
I’m trying to use a time frame, mode and a light as conditions to limit the piston from running.
What I’ve written, which, I don’t think will work, is the following AND-IF:
Bottom motion sensor becomes active
Top motion sensor is inactive
Time is between x and y
Mode is Home
My Light is off
Using Master Bedroom light and Office Area light, turn on
Using Master Bedroom light and Office Area light, turn off
My questions is how do I add conditions to allow operation of the piston, and at the same time have conditions that create THEN/ELSE actions?
Am I making any sense at all here…?