Light action with multiple sensors

Good evening all,
I’m trying to set up an action to turn on my Garage overhead light, based upon two different sensors being triggered, and it should be in a short order. I have a wired motion sensor on my alarm system in my mudroom, and a wired door sensor on my alarm system on the door from the mudroom into the Garage. In theory, the motion should be picked up first, then the door, but it may be in very short order (within seconds), or a few minutes. The order is so I can tell if I’m going out into the garage, as opposed to coming in from the garage. I don’t care what time of day it is, so I’m not adding any sort of day/night logic into the equation. I’m basing this off of one of Richard’s examples, that I use pretty much all over my house to turn on lights. The only difference is there are two sensors here.

Triggers
[table]
[tr]
[td]tGarageOverheadOn[/td]
[td]Garage Overhead is turned on[/td]
[td]false[/td]
[td]2019-02-14 16:47:44.779[/td]
[td]2019-02-14 16:50:17.431[/td]
[/tr]

[tr]
[td]tMudRoomDoorOpen[/td]
[td]Whenever Mud Room Door is opened whether is armed or disarmed[/td]
[td]false[/td]
[td]2019-02-14 17:06:15.804[/td]
[td]2019-02-14 17:06:18.992[/td]
[/tr]
[tr]
[td]tMudRoomMotion[/td]
[td]Whenever Mudroom Motion detects motion whether is armed or disarmed[/td]
[td]false[/td]
[td]2019-02-14 17:06:16.281[/td]
[td]2019-02-14 17:06:25.273[/td]
[/tr]
[tr][td]tMudRoomNotMotion[/td][td]Whenever Mudroom Motion stops detecting motion whether is armed or disarmed[/td]
[td]true[/td]
[td]2019-02-14 17:06:25.274[/td]
[td]2019-02-14 17:06:16.281[/td]
[/tr]
[/table]

Conditions
[table]
[tr]
[td]cIntoGarage[/td]
td AND ( tMudRoomMotion; tMudRoomDoorOpen; !tMudRoomDoorOpen < 15 )[/td]
[td]false[/td]
[td]2019-02-14 15:53:37.921[/td]
[td]2019-02-14 15:55:27.064[/td]
[/tr]
[tr]
[td]cIntoGarageAutoOnLight[/td]
[td]cIntoGarage; tGarageOverheadOn < 5[/td]
[td]false[/td]
[td]0[/td]
[td]0[/td]
[/tr]
[tr]
[td]cGarageTurnOffAutoOnLight[/td]
[td]cIntoGarageAutoOnLight AND ( tMudRoomDoorOpen ; !tMudRoomDoorOpen ) AND ( !tMudRoomDoorOpen ; NOW > 0:30)[/td]
[td]false[/td]
[td]0[/td]
[td]0[/td]
[/tr]
[/table]

I have defined actions to turn on and off the light, based on it being turned on automatically. Any idea what could be wrong?

Best Home Automation shopping experience. Shop at getvera!

© 2021 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules