Trigger and/or "logic"?

  • 56 Views
  • Last Post 06 December 2013
SickPup404 posted this 05 December 2013

I'm trying to set up some motion triggers on lights.

If I add multiple motion device triggers to a scene, they are all listed under Group 1. Do all of the motion sensors have to hit the tripped/open state to trigger the scene? I think so based on the behavior I'm seeing. How can I create another trigger group for a device trigger? I see the option for group # under time triggers, but not device...

What I want to accomplish is have lights come on when either of two motion sensors go tripped/open. The sensors send the untripped/closed signal after a time I have set. I want the lights to go off only when BOTH sensors send the closed signal...

Thanks!

Order By: Standard | Newest | Votes
Ryan-Scott posted this 06 December 2013

I'm trying to set up some motion triggers on lights.

If I add multiple motion device triggers to a scene, they are all listed under Group 1. Do all of the motion sensors have to hit the tripped/open state to trigger the scene? I think so based on the behavior I'm seeing. How can I create another trigger group for a device trigger? I see the option for group # under time triggers, but not device...

What I want to accomplish is have lights come on when either of two motion sensors go tripped/open. The sensors send the untripped/closed signal after a time I have set. I want the lights to go off only when BOTH sensors send the closed signal...

Thanks!


The triggers are "or" based, so if you setup a scene to turn on lights and had two motion sensors as device triggers, either one should turn on the set of lights.

To turn them off... this might be a little trickier, but this should work, though I haven't tested it yet:
- Two device triggers on the "no motion" state
- Add two device at state conditions (which are ANDed) that specify the motion sensors need to both be at level 0

The theory is that when each motion changes to "no motion" they'll both trigger the scene. When the first one goes, it'll check that both motion sensors are off and if not, nothing will happen. Then if the second one goes, it'll check the same two conditions and activate.

You could optionally do an off scene with a time trigger that runs every 1-2 minutes and checks the condition that both devices are at 0 and if so the scene is activated.

SickPup404 posted this 06 December 2013

Exactly what I needed Ryan, thanks.

You must feel like a one-armed paper hanger sometimes! Thanks for the support!

Close