Trigger when BOTH motion sensors are inactive for X minutes


#1

I’m going to add a second motion sensor to my setup. For my Pistons that currently trigger when “MS1 STAYS inactive for 5 minutes”, how will I add the second sensor?

My instinct tells me that if I say “MS1 AND MS2 STAYS inactive for 5 minutes” then it’ll only trigger if BOTH become inactive at exactly the same time. Is that true?

What’s the best practice here?


#2

When you select both motion sensors you will then see an option to select ‘Any Motion Sensor’ or ‘All Motion Sensors’.
Pick which one you wish.


#3

If I understand your question correctly then this should work:

(Kind of re-iterating @bobbles )

Mr T.


#4

I don’t have “lastmotion” as an option. I only have battery, motion, temperature, $status, checkInterval, DeviceWatch-DeviceStatus, and healthStatus as options.


#5

Or select ALL if you want them both to be inactive for a period of time.


#6

Right, but I want it to trigger when both have been inactive for at least 5 minutes. My understanding of triggers is that if you have two items set up (e.g. M1 and M2 stay inactive for 5 minutes) that it’ll only trigger if they both become inactive at exactly the same time (and stay inactive for 5 minutes at the same time). I don’t want it to trigger if only one of them has been inactive for 5 minutes but the other shows motion. Am I misunderstanding triggers?


#7

Pick Motion.
You can then select conditions or triggers depending on how you write it.
You could use as shown above or-
IF
All of MS1 and MS2 are inactive.
THEN
WITH
Light
DO
Wait 5 minutes.
Turn Off.


#8

So will “M1 and M2 stay inactive for 5 minutes” actually trigger? If so, I’ll keep it like that.


#9

Yes. It should do.


#10

Fantastic!