# Homey Pro's Flows (Aqara + Hue) work... until they don't. How can I fix it?

**URL:** <https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731>\
**Category:** Questions & Help\
**Created:** [August 20, 2024, 6:54pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731 "2024-08-20T18:54:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigi\_Melita](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luigi_melita/32/83332_2.png) [@Luigi\_Melita](https://community.homey.app/u/Luigi_Melita)\
**Post date:** [August 20, 2024, 6:54pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/1 "2024-08-20T18:54:43Z")

</div>

Hello, I’m having an issue with Homey Pro and some flows. In my house I have 15 or so Philips Hue lights, and I created different flows using mostly some Aqara sensors (P1 and P2 light and motion sensors).

Everything works seamlessly after the first setup, then some time passes (one day or two) and the automation starts to work.

If I check the lights from Hue app, I can turn on and off all the lights, but the flow simply don’t work anymore, so I guess it could be an issue with the Aqara sensors. I check in Homey and the sensors looks regularly connected: I don’t see any errors (but I don’t know if errors are visible actually).

How do I fix this? Usually I reboot Homey Pro and everything works again. It’s quite annoying because the point of that system is to always be on.

Please, notice that:

- all Aqara sensors have fresh batteries
- Hue Bridge is connected via ethernet and powered by a UPS, it’s impossible that it will shut down
- Homey Pro is connected via WiFi and powered by a UPS, same situation
- no blackout happened in the house from the moment everything worked, to the moment that flows started to “die” (usually all together, I mean that when the flow with Hue + Aqara P1 stop working in the bathroom, also the flow with Hue Corridor + Aqara P1 in the corridor stops)
- no network interruption happened
- I have a flow with Philips Hue light and a Fibaro motion sensor (Z-Wave). That’s the only flow that never stopped working in more than a year

---

<div class="post-metadata">

**Author:** ![janklamer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janklamer/32/24666_2.png) [@janklamer](https://community.homey.app/u/janklamer)\
**Post date:** [August 20, 2024, 7:38pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/2 "2024-08-20T19:38:26Z")

</div>

homey notoriously “forgets” zigbee devices, you need to relearn them, restart the unit, the app, like windows 3.0 - subsequently flows dont work.

---

<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:** [August 21, 2024, 2:09am UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/3 "2024-08-21T02:09:08Z")

</div>

The flows themselves probably don’t stop working.  
Aqara sensors with Homey zigbee can get ‘silent’ silently. This is because they can’t work together with f.i. certain router devices like Ikea lights.

This is not the case with Aqara and ZHA, or zigbee2mqtt.  
You could consider moving all Homey zigbee devices to zigbee2mqtt, and enjoy how well it can work and be managed (huge difference…)  
Combined with HA you can use the [Home Assistant Community app](https://community.homey.app/t/app-pro-home-assistant-community-app/71477), and / or the [Zigbee2mqtt app](https://community.homey.app/t/83214) to connect to those zigbee devices again.

A zigbee network is not (at all) plug, play and forget, it needs to be designed and run with care.  
For example: Any Wifi 2.4GHz signals on the wrong channel can interfere

> [@\[HOW TO\] Plan and setup your Zigbee network](https://community.homey.app/t/how-to-plan-and-setup-your-zigbee-network/94770):
>
> This post is concerning The order of adding Zigbee devices to your Homey Pro/Bridge (AKA “Coordinator” or “hub”). Know that there is a best approach to in which order you connect your devices. You have at least three major category of devices. Which to connect when, that’s what I will dive into in this article. What are the issues? So, cutting right to the chase: The most common issues you will run into with your zigbee devices, is either unreachable devices or you’ve added the maximum of devi…

Here’s a script to check on zigbee devices last update status:

> [@A script to check sensor last update](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142/25):
>
> Updated script I posted above - added counter of non responding devices - eg, in case you would like to initiate some action based on number of not-responding devices - please note this is the version I’m using, so feel free to change relevant variables below the section // Filter devices to check Changelog : 0.1 - update - converting notReportingCount to a number - if you used previous version of script, delete tag by await tag(‘notReportingCount’, null);\* 0.2 - added filtering based on dev…

---

<div class="post-metadata">

**Author:** ![Luigi\_Melita](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luigi_melita/32/83332_2.png) [@Luigi\_Melita](https://community.homey.app/u/Luigi_Melita)\
**Post date:** [August 21, 2024, 7:30am UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/4 "2024-08-21T07:30:14Z")

</div>

Hello Peter and thanks for your reply. I’ve read the guide you posted but I have a couple of questions if you could help:

1. guide says that orders matter. To fix that, it’s enough if I remove all zigbee sensors from Homey Pro and start add them in the correct order from the further end battery device to the nearest?
2. since I have 2 zigbee powered device, would be useful to create a better zigbee network if I physically place them in a middle point between the most far zigbee battery end device and homey pro?
3. All the light are Philips hue managed by their bridge, as I understand from the answers in the topic, this shouldn’t interfere with the zigbee network created and managed by homey pro

 ![Immagine 2024-08-21 092107](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c6722542443c74816f9a8e30ea0cee6b033cdb1f.png)

1. I’m attaching an image from developer tools, I see that the network is on channel 15, I do I change the channel and is it true that I should change it to 11?

2. if it’s a matter of optimising the zigbee network, why does rebooting solve the issue? Shouldn’t the issue be still there when I reboot?

---

<div class="post-metadata">

**Author:** ![Luigi\_Melita](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luigi_melita/32/83332_2.png) [@Luigi\_Melita](https://community.homey.app/u/Luigi_Melita)\
**Post date:** [August 21, 2024, 7:32am UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/5 "2024-08-21T07:32:08Z")

</div>

I’m not 100% sure that I understood. You’re saying that flows will not work after I restart Homey Pro (and consequentially Homey’s zigbee network?). And what do you mean by relearn them? Because it looks to me that restarting homey pro is enough for the system to reconnect to the forgotten zigbee devices

---

<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:** [August 21, 2024, 1:41pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/6 "2024-08-21T13:41:53Z")

</div>

> [@Luigi\_Melita](#):
>
> guide says that orders matter. To fix that, it’s enough if I remove all zigbee sensors from Homey Pro and start add them in the correct order from the further end battery device to the nearest?

Hmm, zigbee does what it feels like, so removing/adding devices is of no use (to me).  
The order they refer to, probably is

1. add and pair router devices, the first one(s) near Homey, the other ones should be paired at, or near to their final position.
2. add and pair end devices, keep them at, or near to their final position.

> [@Luigi\_Melita](#):
>
> since I have 2 zigbee powered device, would be useful to create a better zigbee network if I physically place them in a middle point between the most far zigbee battery end device and homey pro?

Note: Osram router devices aren’t the most reliable. It’s also model dependent I guess.

Yes, the more the better, to cover all corners of the house. Zigbee has a safe usable indoor range of, say, 3 to 4 meters. So start with a router device A a few meters from Homey, next, router device B a few meters from router A and so on, until the farthest sensor is in reach of a router device.

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e7c26b529ecb224d83b5ffe2e8a9ab29203c721f.jpeg)

> [@Luigi\_Melita](#):
>
> All the light are Philips hue managed by their bridge, as I understand from the answers in the topic, this shouldn’t interfere with the zigbee network created and managed by homey pro

Hue and Homey are separate zigbee controllers, unaware of eachother’s presence. Their networks _ **sure can interfere** _ however, check if they’re not using the same channel, or ‘neighbour’ channels.  
It’s pretty easy to change the Hue zigbee channel, it’s best to turn all Hue devices on, before proceeding.

> [@Luigi\_Melita](#):
>
> I’m attaching an image from developer tools, I see that the network is on channel 15, I do I change the channel and is it true that I should change it to 11?

Be careful with changing Homey zigbee channel (in worst case, you have to re-add some of your devices).  
Maybe it’s easier to fix your 2.4GHz wifi channel to preferably channel 1, 6 or 11;  
the best choice for the wifi 2.4GHz channel is channel 11 in your case

 ![zigbee_wifi_channels](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d52a68f2903958ed2e239d50538aba6c60bcfd24.jpeg)  
as you can see, zigbee and wifi channel numbers differ, and are not in the same band.

> [@Luigi\_Melita](#):
>
> if it’s a matter of optimising the zigbee network, why does rebooting solve the issue? Shouldn’t the issue be still there when I reboot?

It’s not exact science, lots of things depend on your specific situation (for example interference of other devices (close neighbours’ wifi!) and the design of your mesh network)  
So one knows. A fact is that a Homey reboot fixes the weirdest issues. Only Athom can tell you why.

---

<div class="post-metadata">

**Author:** ![Luigi\_Melita](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/luigi_melita/32/83332_2.png) [@Luigi\_Melita](https://community.homey.app/u/Luigi_Melita)\
**Post date:** [August 21, 2024, 2:25pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/7 "2024-08-21T14:25:05Z")

</div>

> Note: Osram router devices aren’t the most reliable. It’s also model dependent I guess.

they are both ledvance osram zigbee smart plugs. Can you advice a smart plug zigbee that acts as a reliable router?3.

> The order they refer to, probably is

1. add and pair router devices, the first one(s) near Homey, the other ones should be paired at, or near to their final position.
2. add and pair end devices, keep them at, or near to their final position.

Done, now zigbee is set on channel 20.

> Maybe it’s easier to fix your 2.4GHz wifi channel to preferably channel 1, 6 or 11;  
> the best choice for the wifi 2.4GHz channel is channel 11 in your case

For the Wifi I cannot change it, I think, because my WiFi network is an Eero based one (Eero 6 Pro, 6+ and 6) and I can’t find how to setup the channel, but I’ll try to search. Unfortunately the Eeero Mesh system has few configuration capabilities.

> A fact is that a Homey reboot fixes the weirdest issues. Only Athom can tell you why.

Mistery… maybe I’ll try to ask them 😃

---

<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:** [September 10, 2024, 11:21pm UTC](https://community.homey.app/t/homey-pros-flows-aqara-hue-work-until-they-dont-how-can-i-fix-it/114731/8 "2024-09-10T23:21:25Z")

</div>

> [@Luigi\_Melita](#):
>
> Can you advice a smart plug zigbee that acts as a reliable router?3.

Sorry 4 delay.  
I use and can recommend Ikea and Lidl plugs. I use Tuya as well, but those can be “a challenge” sometimes, I do not recommend them for a plug&play care-free zigbee mesh.  
Oh, and these “best buy” ones should work as well (seems logical right? 😬 ):

> **[Smart Plugs](https://homey.app/en-nl/best-buy-guide/smart-plugs/)**
>
> Discover the Best Smart Plugs for Your Smart Home.
