#Trigger on motion in zone 1 only if it is not also in zone 2 ...
1 messages · Page 1 of 1 (latest)
Your original post seems to have gone walkies, but this is the logic i'm reading from your yaml - tell me what's going wrong
- When Zone 1 goes from someone present to empty for 1 minute, turn off the lights in Lee's office
- When Zone 1 goes from empty to someone present, and it's dark, and (either there is more than 1 person in zone 1, or there is noone in zone 2) and the house has been set "empty" with an input boolean - turn on the lights in Lee's office
Ok, that's not the intention 😦
I have the EPL in my office. I want it to only trigger my lights if there is motion in zone 1 AND that motion is not also in Zone 2
It's ok for the lights to trigger if there is any motion that is in zone one that is NOT in zone 2... but if the only motion in the room is in zone 2 I don't want the lights to come on.
Basically I have a server rack that's triggering motion for some reason so trying to exclude it.
Gotcha
In which case I would auto-pass through your brightness condition like you have with "empty" - give it an id "dim" or something and add it to that first condition
give the zone 1 trigger an id of "movement" or something and have the second condition be "trigger = movement and (zone 2 not triggered OR house empty boolean false)"
I think I've got it.
Zone 1 now covers my working area. Zone 2 now covers the entry area. Between the two zones they cover everything except the server rack. Now I can just check for presence in either zone to trigger lights - no complicated ignore needed
That works too! just don't point it at the thing that confuses it 🙂