Need help with presence logic – delay before turning lights off

Goal:
I want the lights in my living room NOT to turn off if I leave the room only briefly (e.g. for 60 seconds).
They should turn off only if the room is really empty.

Setup:

  • Aqara presence sensor (mmWave)

  • Homey Pro 2023

  • Lights controlled via Shelly

What I want to achieve (logic):

  1. When no presence is detected → wait 60 seconds

  2. If there is still no presence after 60 seconds → mark the room as empty

  3. Only then allow any flow to turn the lights off

  4. If presence is detected again within those 30 seconds → do nothing

This can be boiled down to one flow:

WHEN the “living room” zone has been inactive for 1 minute THEN turn off the light

2 Likes
Can you please send me a photo/screenshot of where exactly this is set in Flows or Logic?
I'm a new user of Homey Pro - I've already added the devices and they work properly, but setting up Logic is more challenging for me so far.
That's why I want to fine-tune it: when I leave the living room for the kitchen, the light turns off immediately, and I would like it to stay on for a certain amount of time.

Thanks !!! :) 

Just search for “zone”:

FWIW, this obviously depends on you having set up a “living room” zone, and placed the sensor and the lights in it.

So far I have it like this. FP300 - LED OFF - GOVEE LED OFF

So should I go where you sent me now? ….

(I copied the time-condition from your flow. Be aware that outside this time frame the lights will stay on when the zone is inactive for more than 1 minute. I don’t think that’s what you want)

2 Likes

Thanks, I’m going to try everything and let you know later tonight if it responds and works properly.
Thanks everyone, if anything happens, I’ll get back to you.