# Light flows only works sometimes

**URL:** <https://community.homey.app/t/light-flows-only-works-sometimes/24869>\
**Category:** Questions & Help\
**Created:** [January 23, 2020, 7:50am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869 "2020-01-23T07:50:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morten\_Gudiksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_gudiksen/32/16342_2.png) [@Morten\_Gudiksen](https://community.homey.app/u/Morten_Gudiksen)\
**Post date:** [January 23, 2020, 7:50am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/1 "2020-01-23T07:50:05Z")

</div>

Hi  
i have a few simple flows that control my lights, but they have a life of their own. Some times they work - some times they dont. And i cant see why.  
The flows i like this. if there is motion and the time i between 23-06 then dim lights to 20% else dim to 100% and set at timer to 360 sec - after this a different flow turns off the lights when the timer hits 0.

I have been using Hue sensors (3 units) and hue bulps. On the sensor i can see the led indicating motion lights up but the lights does not turn on - other times it does.  
I have added a card that animates the led ring on Homey to see i the flow is running - it is not always the case.  
So the problem must be with the sensors it seems, so i have gotten new Xiaomi Aqara sensors and replaced my Hue sensors - sadly the result is the same. The new sensors register motion but the flow is not activated.  
As of now the hue sensors i back together with the Xiaomi to see if a greater number of sensors can force Homey to react - it does not seem to be the case…

I use two flows to control the lights in this part of my house because of the layout - one sensor can not cover i all. So sensor 1 activates flow 1, and sensor 2 activates flow 2 - the flows are the same.

Distance to the sensors i between 15 cm to 3 meters so range cant be an issue

can anyone tell med what is going on before i go crazy ?

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [January 23, 2020, 7:59am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/2 "2020-01-23T07:59:49Z")

</div>

Could you share the flow and post it here?

---

<div class="post-metadata">

**Author:** ![Morten\_Gudiksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_gudiksen/32/16342_2.png) [@Morten\_Gudiksen](https://community.homey.app/u/Morten_Gudiksen)\
**Post date:** [January 23, 2020, 8:29am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/3 "2020-01-23T08:29:18Z")

</div>

[https://homey.app/f/dm7xh-](https://homey.app/f/dm7xh-)

---

<div class="post-metadata">

**Author:** ![Igy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/igy/32/22144_2.png) [@Igy](https://community.homey.app/u/Igy)\
**Post date:** [January 23, 2020, 8:50am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/4 "2020-01-23T08:50:45Z")

</div>

It seems to be OK. Try to look in insights how are the Homey resources used. Another option is to put some delays on each of the bulb.

---

<div class="post-metadata">

**Author:** ![Morten\_Gudiksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_gudiksen/32/16342_2.png) [@Morten\_Gudiksen](https://community.homey.app/u/Morten_Gudiksen)\
**Post date:** [January 23, 2020, 9:24am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/5 "2020-01-23T09:24:48Z")

</div>

but how will a delay help when Homey does not runs the flow even when motion is shown on “properties” tab on the sensors.

I dont quite know what to look for in insights, but Homey only uses 511 mb of memory and almost no power

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 23, 2020, 3:29pm UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/6 "2020-01-23T15:29:55Z")

</div>

It should work as you made it, but maybe there is a problem with the card that you use and the way you use it:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/a/9a33e8198975c13b5236f353de1bb25713224e23.png)

Can you try to change it into “The time is between 06:00 and 22:40”, should do the same but there is no “day-crossing”. Think it’s worth trying.

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [January 23, 2020, 4:26pm UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/7 "2020-01-23T16:26:02Z")

</div>

Try making [this flows](https://community.homey.app/t/simple-lights-turning-on-off-based-on-motion/10889) and see what happens.

---

<div class="post-metadata">

**Author:** ![Morten\_Gudiksen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_gudiksen/32/16342_2.png) [@Morten\_Gudiksen](https://community.homey.app/u/Morten_Gudiksen)\
**Post date:** [January 24, 2020, 10:44am UTC](https://community.homey.app/t/light-flows-only-works-sometimes/24869/8 "2020-01-24T10:44:59Z")

</div>

I have tried with "The time is between 06:00 and 22:40 " and even with leaving it out completely.  
It still does not work everytime
