# Hue Motion sensor no continuous light

**URL:** <https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [January 14, 2022, 10:05am UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414 "2022-01-14T10:05:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![osado](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osado/32/43422_2.png) [@osado](https://community.homey.app/u/osado)\
**Post date:** [January 14, 2022, 10:05am UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/1 "2022-01-14T10:05:17Z")

</div>

I have a Hue motion sensor placed in the hallway. My preferred setup would be:

- when there’s motion turn on the light(s)
- when there’s continuous motion, light(s) stays on
- when there’s no motion anymore then turn off light(s) after x-seconds.

First I tried one flow, but that didn’t work well as that the light(s) will turn off even though there’s motion. So I now tried another setup with two flows. Also no luck.  
Not sure if it’s also related to a delay (Hue motion sensor \> Homey Pro \> Hue spotlight). So I’m wondering if this can be fixed. The setup I now use is:

**Flow 1**  
When … **the motion alarm turned on**  
And … **The time is between 20:30 and 06:30**  
Then… **Turn on** // 1 Hue spot light  
Else… **Turn all lights on in Hal** // 3 Hue spot lights

**Flow 2**  
When … **the motion alarm turned off**  
Then… **Turn all lgihts off in Hal after 1 min**

Who can help me out with this? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 14, 2022, 10:29am UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/2 "2022-01-14T10:29:00Z")

</div>

Hi and welcome to the Homey community,

There are already multiple tutorials available.  
From easy light control flows

> [@\[Simple\] Lights turning on/off based on motion](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889):
>
> Simple flow for turning lights on and off based on motion What to use Timer app. In this case i used [the Countdown app](https://apps.athom.com/app/nl.bevlogenheid.countdown) Motion sensor. Used a Neo Coolcam pir v1 in this case. A light to switch on and off. Used a Fibaro Dimmer2 in this case to turn a “dumb bulb”. Start making the timer We click more/apps/Countdown. Then we click configure app. Here we make the timer. Choose a name for your timer. In this case i used “Badkamer” Click “Add timer” Start making the flows In this case i used…

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

up to advanced light control flows:

> [@Tutorial - Advanced automatic light control with flows](https://community.homey.app/t/tutorial-advanced-automatic-light-control-with-flows/21877):
>
> Hi guys, I thought it was finally time to share my flows that I use to automatically control my lights. The setup I have is a bit more advanced than the suggestions I have seen on this forum, which is the reason for this tutorial. Some features of my setup: Automatically turn on and off lights based on motion (doh!) Only turn lights on when it’s dark Configuration of various scenes (e.g. Normal scene, Movie scene, Dinner scene, Romantic scene etc) Memory ability that will remember the brightn…

I guess you will find a solution for your requirements. If not, just ask.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [January 14, 2022, 10:39am UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/3 "2022-01-14T10:39:26Z")

</div>

If you’re wondering what is the cause and/or the difference with the examples in the tutorials:

When motion is no longer detected, the light is scheduled to go off. When new motion is detected this schedule is not canceled, so the lights will still go off. If you own a Homey pro, you can use a timer app instead of delays. Timers allow you to cancel the timer when motion reoccurs.

The other solution, which also works on Homey cloud, is to use zone activity. A motion sensor or door sensor in a zone will make a zone active. There is a card for when a zone becomes inactive that also can wait for a while, which does get cancelled if a zone becomes active again.

---

<div class="post-metadata">

**Author:** ![Daniel\_Ruppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_ruppen/32/48536_2.png) [@Daniel\_Ruppen](https://community.homey.app/u/Daniel_Ruppen)\
**Post date:** [January 15, 2022, 6:46am UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/4 "2022-01-15T06:46:30Z")

</div>

Why do you engage Homey at all for that? I have 4 HUE motion sensors but I program them in the Hue app on my iPAD to do exactly what you describe.

---

<div class="post-metadata">

**Author:** ![osado](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osado/32/43422_2.png) [@osado](https://community.homey.app/u/osado)\
**Post date:** [January 15, 2022, 12:27pm UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/5 "2022-01-15T12:27:15Z")

</div>

Good question. It’s because I have 3 lights in my hallway and when at night I only want to make use of 1 light in stead of 3. Next to that, upstairs i have a same sensor setup but then with a LIFX bulb so homey should help me here too.

---

<div class="post-metadata">

**Author:** ![Daniel\_Ruppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_ruppen/32/48536_2.png) [@Daniel\_Ruppen](https://community.homey.app/u/Daniel_Ruppen)\
**Post date:** [January 15, 2022, 5:24pm UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/6 "2022-01-15T17:24:32Z")

</div>

I have the same, at night I use all lights but only at 10% brightness. HUE let’s you set that. Yes, it’s not flexoble, mean I define the night 23:00-06:00 whereas with Homey you can use a button to set the house in “sleepmode”

---

<div class="post-metadata">

**Author:** ![osado](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osado/32/43422_2.png) [@osado](https://community.homey.app/u/osado)\
**Post date:** [January 18, 2022, 7:56pm UTC](https://community.homey.app/t/hue-motion-sensor-no-continuous-light/58414/7 "2022-01-18T19:56:07Z")

</div>

The first option works for me (countdown), thanks for that!  
The second one I actually tried first but could not get it to work (@Edwin_D). Yes the lights went on with activity but never did go off with the activity cards.

btw, didn’t try yet option 3.
