# Homey Pro - Problem with Advanced Flow for Philips HUE

**URL:** https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910
**Category:** Questions & Help
**Tags:** homey-pro, advancedflow
**Created:** [February 13, 2024, 1:52pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910 "2024-02-13T13:52:08Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Aiko\_Pras](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aiko_pras/32/79470_2.png) [@Aiko\_Pras](https://community.homey.app/u/Aiko_Pras)
#### Post date: [February 13, 2024, 1:52pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/1 "2024-02-13T13:52:08Z")

</div>

Hi all

I have three Philips Hue sensors for a certain zone (called Overloop). As soon as there is activity, the lights in that zone should be switched on. After 10 seconds of inactivity, the lights should be switched off.

Since it takes some time between a sensor detects some movement, and homey pro becomes aware of that, I decided that switching on the lights will be done by the Philips HUE app. This ensures that the lights switch on immediately. Fine! In the HUE app I configured that nothing else should be done. So the Philips HUE app will not switch off the lights.

On my Homey Pro I created a flow to switch off the lights after 10 seconds of zone inactivity. The problem is now that sometimes the lights switch off (correct), but sometimes they stay on (wrong).

 ![Homey-HUE-Overloop](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/ca5a1126722c673951fc5c4c76714a86400a99cb.png)

Am I doing something wrong? If not, how can I proceed to debug and find the error?

HomeyPro is located 50 cm next to the Philips Hue bridge, and both are connected to the wired Ethernet.

Thanks for any hints, Aiko

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [February 13, 2024, 3:41pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/3 "2024-02-13T15:41:57Z")

</div>

What this flow does is:  
When the zone becomes inactive, it will wait for 10 sec and shut the light off.  
So it does not wait for 10sec of inactivity!

The zone activity also has a card that contains a period of inactivity. The delay shows in minutes, don’t know if it accepts 0.1minute as input…

---

<div class="post-metadata">

### Author: ![Aiko\_Pras](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aiko_pras/32/79470_2.png) [@Aiko\_Pras](https://community.homey.app/u/Aiko_Pras)
#### Post date: [February 13, 2024, 3:58pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/4 "2024-02-13T15:58:19Z")

</div>

Thanks

> So it does not wait for 10sec of inactivity

Yes, I understand. But that doesn’t explain (for me) why the lights stay on.

> The zone activity also has a card that contains a period of inactivity

I saw that one, but would that (conceptually) make any difference?  
I will try anyway,  
I’m not sure why it doesn’t seem to detect inactivity. Is there any logging that I can check?

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [February 13, 2024, 4:31pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/5 "2024-02-13T16:31:53Z")

</div>

> [@Aiko\_Pras](#):
>
> Is there any logging that I can check?

You can add [logging cards](https://homey.app/en-us/app/nl.nielsdeklerk.log/Simple-(Sys)-Log/) so you can find out if the flow triggers at all.  
I add those to all my flows by default, makes debugging much easier

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [February 13, 2024, 4:33pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/6 "2024-02-13T16:33:54Z")

</div>

> [@Aiko\_Pras](#):
>
> But that doesn’t explain (for me)d why the lights stay on.

True, did you put all three sensors in the zone in homey?

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [February 13, 2024, 4:49pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/7 "2024-02-13T16:49:50Z")

</div>

> [@Aiko\_Pras](#):
>
> , but would that (conceptually) make any difference?

Conceptually yes it’s totally different:  
When you enter the zone (=active) and you do not move for 8 second (=zone inactive)  
And then start moving again (=zone active again)

- your flow will trigger 10 sec after the zone became inactive
- a flow with the other card will not trigger at all since the zone never became inactive for 10 seconds

> [@Aiko\_Pras](#):
>
> Since it takes some time between a sensor detects some movement, and homey pro becomes aware of that

What homey pro do you have?  
On the 2023 version (black) can connect the hue sensors via Matter. I read the response is much faster that way (did not test it myself yet)

---

<div class="post-metadata">

### Author: ![Aiko\_Pras](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aiko_pras/32/79470_2.png) [@Aiko\_Pras](https://community.homey.app/u/Aiko_Pras)
#### Post date: [February 13, 2024, 7:13pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/8 "2024-02-13T19:13:43Z")

</div>

> You can add [logging cards](https://homey.app/en-us/app/nl.nielsdeklerk.log/Simple-(Sys)-Log/)

Thanks. I’ll try that.

> did you put all three sensors in the zone in homey

Yes!

> Conceptually yes it’s totally different

Thanks for the explanation. I do understand the difference, although I don’t understand (yet) why it is not working (yet) as expected.

> What homey pro do you have

Homey Pro (Early 2023). Versie 10.2.1

> connect the hue sensors via Matter. I read the response is much faster

Interesting. This would certainly be a good option. I would have to test that as well. I (just) did read some stuff regarding Matter / Homey / HUE, but it seems people still have problems with many HUE devices attached . I just counted, and I have 80 HUE devices … I will experiment with that.

---

<div class="post-metadata">

### Author: ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)
#### Post date: [February 13, 2024, 7:43pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/9 "2024-02-13T19:43:12Z")

</div>

> [@Aiko\_Pras](#):
>
> I just counted, and I have 80 HUE devices … I will experiment with that.

Be aware, when you connect your hue bridge via matter it will add all your (80) hue devices as matter devices (you don’t need to have them via the homey hue app anymore)

BUT  
not sure if it is a bug, but I removed one of my matter-hue devices and I am unable to add it now.  
[No solutions from the forum](https://community.homey.app/t/add-philips-hue-devices-using-matter-not-working/89818/84) on it yet either…

---

<div class="post-metadata">

### Author: ![Aiko\_Pras](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aiko_pras/32/79470_2.png) [@Aiko\_Pras](https://community.homey.app/u/Aiko_Pras)
#### Post date: [February 14, 2024, 2:10pm UTC](https://community.homey.app/t/homey-pro-problem-with-advanced-flow-for-philips-hue/103910/10 "2024-02-14T14:10:10Z")

</div>

Thanks. So I need to be careful and test every step!
