# Philips Hue Motion timer problem - Homey Pro 23 - Homey v10.0.0-rc.65

**URL:** <https://community.homey.app/t/philips-hue-motion-timer-problem-homey-pro-23-homey-v10-0-0-rc-65/78797>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [April 2, 2023, 8:43pm UTC](https://community.homey.app/t/philips-hue-motion-timer-problem-homey-pro-23-homey-v10-0-0-rc-65/78797 "2023-04-02T20:43:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soren\_Dalgaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/soren_dalgaard/32/71161_2.png) [@Soren\_Dalgaard](https://community.homey.app/u/Soren_Dalgaard)\
**Post date:** [April 2, 2023, 8:43pm UTC](https://community.homey.app/t/philips-hue-motion-timer-problem-homey-pro-23-homey-v10-0-0-rc-65/78797/1 "2023-04-02T20:43:00Z")

</div>

Hello there you lovely people.  
I’m having a brain fart here, and hope you guys can help.  
Im trying to do a simple flow where a Hue Motion turn on some lamps and then wait a while before they turn off, they work the first time, but then for some reason the light turns off instantly after the first run.  
What am I doing wrong?

Flow 1: Motion alarm activated - Turn on all lamps  
Flow 2: Motion alarm deactivated - wait 10min - turn off all lamps

Thank you:)

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [April 2, 2023, 9:38pm UTC](https://community.homey.app/t/philips-hue-motion-timer-problem-homey-pro-23-homey-v10-0-0-rc-65/78797/2 "2023-04-02T21:38:09Z")

</div>

Hi!  
This wil not work. An motion sensor is not continuous triggered when you are in the room. You can better install a timer app (countdown or chronograph for example) and use that.

Example in that case:  
Easy:

1. When motion, turn lamp on and (re)start timer at x minutes
2. When timer is empty, turn lamp off.

Moderate:  
1a. When motion and lamp off, turn lamp on and (re) start timer ar x minutes  
1b …. And lamp on, just (re) start timer.  
2. When timer empty and lamp on, turn off

Expert:  
1a. When motion and Lux is Lower than xxx and lamp off then….  
1b. When motion and Lamp on, then just (re)start timer at x minutes.  
2… when timer empty and no movement and lamp on, turn off or ‘dim’ in x seconds to 0%

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 3, 2023, 2:18am UTC](https://community.homey.app/t/philips-hue-motion-timer-problem-homey-pro-23-homey-v10-0-0-rc-65/78797/3 "2023-04-03T02:18:20Z")

</div>

Here you have some nice ‘template’ flows, which you can import and adjust to your needs

> [@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…
