# Turn off Lights without motion sensor

**URL:** <https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718>\
**Category:** Flows\
**Tags:** app, z-wave, flow\
**Created:** [August 18, 2020, 8:09am UTC](https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718 "2020-08-18T08:09:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SmartCookeeMonsta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smartcookeemonsta/32/11606_2.png) [@SmartCookeeMonsta](https://community.homey.app/u/SmartCookeeMonsta)\
**Post date:** [August 18, 2020, 8:09am UTC](https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718/1 "2020-08-18T08:09:10Z")

</div>

I want to create a flow that turns off the lights after x elapsed time. Generally speaking the light is turned off at the wall switch (not via the app) but I always forget to turn off the lights when I leave the room. Is there a way I can set up a flow that uses some sort of countdown timer from the moment the light is turned on, to then turn the lights off?

I’m using Aeotec nano switch, I don’t have a motion sensor.

Any help would be appreciated 🙂

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [August 19, 2020, 4:30pm UTC](https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718/3 "2020-08-19T16:30:16Z")

</div>

Sometimes there is an option in advanced settings to switch the devices off after a certain time. My Aqara switches, NEOpower plugs and Fibaro relays all have this option.

Here the Fibaro FGS-222

 ![IMG_20200819_182819](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/5/e521c3f4947cbb4b7009ca3dd24f565869a7c0c1.jpeg)

---

<div class="post-metadata">

**Author:** ![Gustaaf\_Vocking](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gustaaf_vocking/32/16995_2.png) [@Gustaaf\_Vocking](https://community.homey.app/u/Gustaaf_Vocking)\
**Post date:** [September 30, 2020, 6:40pm UTC](https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718/4 "2020-09-30T18:40:34Z")

</div>

The simplest option is to have your flow look like this:  
IF …  
AND …  
THEN  
Start Light  
Stop Light Delay 60 seconds

The Delay option is available for every flow (then) step/card.

---

<div class="post-metadata">

**Author:** ![Julian\_Driver](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/julian_driver/32/12699_2.png) [@Julian\_Driver](https://community.homey.app/u/Julian_Driver)\
**Post date:** [January 25, 2022, 10:10am UTC](https://community.homey.app/t/turn-off-lights-without-motion-sensor/33718/5 "2022-01-25T10:10:13Z")

</div>

I have a similar problem which partially works.:  
When light turned on  
Then  
turn off after 30 minutes  
The problem with this is that the hidden timer continues to run and will operate even if the light has been turned on again. I can’t see a way of interrupting that timer which runs in the background.
