Motion based flow help

Hello
I am looking for some help with setting up a flow. I have a motion sensor in the bedroom and a motion sensor in the bathroom. I would like for the motion sensor in the bedroom to switch on the light in the bathroom but if after 30 seconds no motion is detected in the bathroom then switch the light off. If within that 30sec motion is detected in the bathroom that the light should start on until no more motion is detected.

Any ideas

Thanks

Do it in combination with timers.
1st flow: Motion in bedroom detected, turn on bathroom light and start 30sec timer.
2nd flow: Motion in bathroom detected, stop timer.
3rd flow: When timer reached 0, turn off bathroom light.

1 Like

FLOW Bathroom on with timer
WHEN motion sensor bedroom goes on
THEN light bathroom on
Start Timer bathroom 30 sec
Disable flow Bathroom on with timer

FLOW Bathroom off
WHEN timer bathroom is empty
AND motion sensor bathroom is off
THEN lights bathroom off
Enable flow bathroom on with timer

WHEN motion sensor bathroom goes off
AND timer bathroom is empty
THEN turn light bathroom off
Enable flow bathroom on with timer

2 Likes

Thanks so much for the quick response.

Let’s re-invent the wheel again!

2 Likes

Even with your passive aggressiveness you still provided a link. Thanks

1 Like