# Hue and homey refresh rate

**URL:** <https://community.homey.app/t/hue-and-homey-refresh-rate/24595>\
**Category:** Questions & Help\
**Created:** [January 17, 2020, 3:02pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595 "2020-01-17T15:02:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rubert/32/16844_2.png) [@Rubert](https://community.homey.app/u/Rubert)\
**Post date:** [January 17, 2020, 3:02pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/1 "2020-01-17T15:02:46Z")

</div>

Hi all,

I’m new to homey. I’ve set up my homey combined with Philips Hue. Almost all flows are working great. However, some flows don’t. It seems like it takes some time for homey to register that Hue is turning lights off or on. For example, I’ve created two flows for homey, to switch off the lights in a room 45 minutes after they’ve been switched on between 07:00 and 18:00.

Flow 1: when ceiling light is switched on, and time is between 07:00 and 18:00, stop timer x, after 1 minute start timer x.

Flow 2: when timer x has reached zero, switch off all the lights in the room.

Whenever I switch off the lights, and put them on again, it doesn’t reset the counter. Even with a delay of one minute.

Anyone any ideas?

---

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [January 17, 2020, 3:09pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/2 "2020-01-17T15:09:55Z")

</div>

Can you please share you Flows as a screenshot.

---

<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 17, 2020, 3:10pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/3 "2020-01-17T15:10:59Z")

</div>

Flow 1 will only fire when u switch the light on with Homey, not with a physical switch.  
When switched on with a physical switch Homey doesn’t know.

---

<div class="post-metadata">

**Author:** ![Rubert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rubert/32/16844_2.png) [@Rubert](https://community.homey.app/u/Rubert)\
**Post date:** [January 17, 2020, 4:08pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/4 "2020-01-17T16:08:50Z")

</div>

Tnx for the respons. Is there a way around this to make sure homey does know. Maybe use a different switch on the original one. I’ve already got a “friends off hue” switch in Busch and jaeger style, but this doesn’t work with homey (yet).

---

<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 17, 2020, 4:35pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/5 "2020-01-17T16:35:50Z")

</div>

A way around this would be to find another trigger. Can u explain why u would want to let the lights be on for like 45 minutes?  
Maybe a motion sensor in the room can do another trigger for u. Lights can go off then after a certain amount of time after last movement. Or can just start the timer if u like.

---

<div class="post-metadata">

**Author:** ![Rubert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rubert/32/16844_2.png) [@Rubert](https://community.homey.app/u/Rubert)\
**Post date:** [January 17, 2020, 6:13pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/6 "2020-01-17T18:13:30Z")

</div>

I’ve already got several motion sensors in our house, but these sensors are useless in a bedroom as you don’t want to trigger the sensor in the middle of the night. To save energy and not frustrate my girlfriend to much I set the time limit to 45 min, but this could be anything. Would a fibaro pulsdimmer work maybe? Or any other idea’s?

---

<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 17, 2020, 6:27pm UTC](https://community.homey.app/t/hue-and-homey-refresh-rate/24595/7 "2020-01-17T18:27:59Z")

</div>

Even a KaKu switch would work. As long as it talks with Homey ur good to go. Best not use dimmers to control Hue lights though!  
Hue works the best when powered 24/7.
