Switch off light after x minutes

I have Homey Pro + Fibaro motion detector + Fibaro relais swicth (for light). I have a flow that switches on the light when movement is detected but only when sun is down. This works fine. Now I want to add: switch off light if no motion detected during 5 minutes. How can I do this? Thanks all…

Add a Chronograph timer after the Turn on action. Then, use the trigger card “When the timer is finished” to turn off the light.

I have no experience with a “Chronograph” timer… Where do i find it? And how to use this? In the same flow as the “turn light on”?

Thanks!

I’ve edited the reply with some example flows. The Chronograph timers are from the Chronograph app:

You could use the timer as smarthomesven suggested or if the detection is in a zone, you can also use the “zone is active” / “zone is inactive” cards. Both also have a (in)active for number of minutes card which you can use:

1 Like

Working well with the timer solution now. Will explore the zone cards later. Thank you all.

There might be a card like “when motion alarm turned off for 5 minutes”.

Hi everyone,

I’m using a timer together with an IKEA motion sensor on a Homey Pro.

The setup itself works well:

Every time motion is detected, the timer resets to 5 minutes. If there is no motion for 5 minutes, the lights turn off.

The only issue is that when I move within the detection zone and the motion sensor is triggered again, the lights flicker very briefly. It looks like they switch or refresh for a split second when the timer is reset.

Has anyone experienced this before with Homey Pro and an IKEA motion sensor?

And does anyone know what might cause this, or how to fix it?

Thanks!

Try the card @rmb mentioned.
And use a “light X is off” condition in the “motion on” part:

The timer is not influencing the light, the new motion trigger is:
because the “Turn on light X” command, whilst the light is already on, might cause the light to quickly dim from 0 to the set dim level (= guessumption and depending on the light/protocol/brand).
Hence the recommendation to add a “and light X is off” card to the “motion on” flow.

Thx for this solution! :+1:t3:

1 Like