I'm trying to bypass a walkout basement motion detector when someone goes down the stairs, but not if someone were to break a window and enter from the outside.
I added a second motion detector looking up the stairs that will trigger if someone walks down and thought I could use its output to write a rule to bypass the downstairs motion detector. I wrote the two rules below to bypass the motion sensor if someone walks down and then unbypass it when the walk back up, but they don't seem to work and I don't know how to go about debugging them in the system. This is my first attempt at writing rules, so I could be way off base. Anyone have an idea why these don't work?
WHENEVER Basement Stairs (Zn14) BECOMES NOT SECURE
AND AREA ARMED
THEN BYPASS Basement Motion (Zn12)
WHENEVER Basement Stairs (Zn14) BECOMES NOT SECURE
AND Basement Motion (Zn12) BYPASS STATE IS BYPASSED
THEN UNBYPASS Basement Motion (Zn12)
Tom
I added a second motion detector looking up the stairs that will trigger if someone walks down and thought I could use its output to write a rule to bypass the downstairs motion detector. I wrote the two rules below to bypass the motion sensor if someone walks down and then unbypass it when the walk back up, but they don't seem to work and I don't know how to go about debugging them in the system. This is my first attempt at writing rules, so I could be way off base. Anyone have an idea why these don't work?
WHENEVER Basement Stairs (Zn14) BECOMES NOT SECURE
AND AREA ARMED
THEN BYPASS Basement Motion (Zn12)
WHENEVER Basement Stairs (Zn14) BECOMES NOT SECURE
AND Basement Motion (Zn12) BYPASS STATE IS BYPASSED
THEN UNBYPASS Basement Motion (Zn12)
Tom