# Flow with motion sensor and auto turn off?

**URL:** <https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [September 27, 2023, 4:26pm UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384 "2023-09-27T16:26:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikkel\_Kuster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikkel_kuster/32/78907_2.png) [@Mikkel\_Kuster](https://community.homey.app/u/Mikkel_Kuster)\
**Post date:** [September 27, 2023, 4:26pm UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/1 "2023-09-27T16:26:57Z")

</div>

Hi. I’m new to Homey, coming from SmartThings. I’m looking for the best way to make a flow where my Philips Hue motion sensor will trigger a lamp to turn on and then shut off after 5 min automatically. It that possible in flow or do I really have to make it as an advanced flow? In SM it was standard in “Routine” (similar to a flow). Thanks

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [September 27, 2023, 4:59pm UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/2 "2023-09-27T16:59:46Z")

</div>

Just a tip for the future, use the search function on the forum. Found this in a few seconds😉

> [@\[Tutorial\] Simple movement-triggered automatic light with zone activity cards (just 2 flows!)](https://community.homey.app/t/tutorial-simple-movement-triggered-automatic-light-with-zone-activity-cards-just-2-flows/39651):
>
> Hi everyone, It’s time to share back what I learned here. I have -in the past- tried several strategies to use lights that automatically trigger when movement is detected. Also, a lot has been written about this topic, for example: [Tutorial - Advanced automatic light control with flows](https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877)[[Simple] Lights turning on/off based on motion - #33 by EvR](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889/33) and many more. All of these either use the CountDown App -or- the Timer App This allows for a lot of flexibility. But it can be tricky to config…

---

<div class="post-metadata">

**Author:** ![Mikkel\_Kuster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikkel_kuster/32/78907_2.png) [@Mikkel\_Kuster](https://community.homey.app/u/Mikkel_Kuster)\
**Post date:** [September 27, 2023, 6:08pm UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/3 "2023-09-27T18:08:41Z")

</div>

👍😊

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [September 29, 2023, 6:54am UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/4 "2023-09-29T06:54:03Z")

</div>

Take a look here for importable examples:

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/5):
>
> Zone activated Light/Device with Lux condition Here is a flow that lets you control a light or other device, based on the lux of a sensor, when a zone detects motion. The light or device are only turned on/off when it’s not yet on/off. Just replace the items with your own: Required App [Chronograph](https://homey.app/nl-nl/app/nl.fellownet.chronograph/Chronograph/) TEF: H4sIAAAAAAACA7VWS5PbNgz+KzuaHJcpnyKpa3vM9NDuqR2PByRBW1Nb8sjyJunW/72gbO/a2abRbNODTVLC4wPwAdRT9Wff4f6h/wV3G4hYNU+VsoBCyZqBs4JpB8B8iJFJGVKSNZdWTnIdbGmtfiMDdz+X/fF4X6XyxgT…

---

<div class="post-metadata">

**Author:** ![Wilfried\_Montald](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wilfried_montald/32/132494_2.png) [@Wilfried\_Montald](https://community.homey.app/u/Wilfried_Montald)\
**Post date:** [January 6, 2026, 10:09am UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/5 "2026-01-06T10:09:47Z")

</div>

There is an easy way to control lamp on duration using 2 simple flows

First flow to turn lamp on simple flow that when motion sensor is triggered a specific lamp goes on

Second flow to keep lamp on for a Variable defined period of time.

Using the card for a specific lamp “Turned on for **Sec on” in my case a variable that keeps the lamp on for 360sec whatever happens.**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/971fdf56d79ee7b6f4fa818382e3dcf577aefcbd.png)

---

<div class="post-metadata">

**Author:** ![dsdevries](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dsdevries/32/80220_2.png) [@dsdevries](https://community.homey.app/u/dsdevries)\
**Post date:** [January 6, 2026, 11:18am UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/6 "2026-01-06T11:18:50Z")

</div>

Do realize you revived a 2 year old thread with no additional open questions?

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [January 6, 2026, 2:29pm UTC](https://community.homey.app/t/flow-with-motion-sensor-and-auto-turn-off/90384/7 "2026-01-06T14:29:59Z")

</div>

You should remove that link, it contains your Homey CloudID
