Switching off a light with 2 sensors

Hello everyone, I would like to be able to configure a flow with my 2 motion detectors in the same room.

I want the light to come on if 1 of the detectors is triggered, but I don’t want the 2 motion detectors to be alerted to turn the light off.

I’ll let you see my flow, which doesn’t work.

The ignition is OK, but the All block doesn’t work.

When the 2 detectors are off, nothing happens.

How can I make it work?

I have a Homey Pro 2023.

Thanks for your help.

Steve

Those are triggers and not conditions, even if a trigger triggers at the same exact moment, which will never ever happen, they will never activate the same part and thus not fulfill the ALL condition.
Hence you need to add conditions (AND cards):
[IF] motion deactivates [AND] both sensors’ motion alarm is false (this needs 2 cards, one for each motion sensor) [THEN] turn light off.

Or a better option is using the zone activity for this, as the zone is and stays active as long as one or both motion sensors are active.

2 Likes

Hello Caseda,

Thank you very much for your help, indeed I did not know the subtlety of the active part which is indeed an excellent option!

I’ve just received my Homey box and I’m discovering these features.

Thanks again and have a nice day!