# Advanced flow issue

**URL:** <https://community.homey.app/t/advanced-flow-issue/89072>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro, advancedflow\
**Created:** [September 9, 2023, 5:34am UTC](https://community.homey.app/t/advanced-flow-issue/89072 "2023-09-09T05:34:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [September 9, 2023, 5:34am UTC](https://community.homey.app/t/advanced-flow-issue/89072/1 "2023-09-09T05:34:59Z")

</div>

I have a lot of advanced flows, used to have the old Homey (2018). After upgrading to 2023 the flows were migrated fine but they work just intermittently.  
As an example, one flow is for turn on lights in the evening and turn off late at night.  
This flow starts by time or sunset, but it works sometimes and sometimes not, sometimes only partly. A few of the lamps light up or turns off.

Tried to recreate the flows same issue, and when the flow runs and fails I also manually switch the lamps. That is working so the app controlling and the connections is working fine,

It’s like the advanced flow is broken. Anyone else sen this behavior?  
The advanced flows cannot be trusted which is a pain and the whole idea with automation.

I am out of ideas, is the the Homey Pro broken?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 9, 2023, 5:48am UTC](https://community.homey.app/t/advanced-flow-issue/89072/2 "2023-09-09T05:48:04Z")

</div>

This sounds like your Homey is (too) busy. Have you checked its CPU/RAM usage? You can do so from Insights when you turn on the “Power User” experiment in the Homey app settings.

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [September 9, 2023, 7:52am UTC](https://community.homey.app/t/advanced-flow-issue/89072/3 "2023-09-09T07:52:54Z")

</div>

Thanks for the tip

I do not looks like to much CPU load though

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/7788e1dbb0b4c6410a2fa30ab9f2a1fd2e4c16c6.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 9, 2023, 8:12am UTC](https://community.homey.app/t/advanced-flow-issue/89072/4 "2023-09-09T08:12:13Z")

</div>

Try checking the “Last 24 hours” chart. And also check RAM usage.

---

<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 9, 2023, 12:02pm UTC](https://community.homey.app/t/advanced-flow-issue/89072/5 "2023-09-09T12:02:20Z")

</div>

I recommend adding log cards to every flow.  
This way you’ll have a better overview of what happened, or wat _should’ve_ happened.

> [@\[APP\]\[Pro\] Simple (Sys) LOG - Use this app for Simple (Sys) Logging](https://community.homey.app/t/app-pro-simple-sys-log-use-this-app-for-simple-sys-logging/77533):
>
> Simple (Sys) LOG [Live now](https://homey.app/a/nl.nielsdeklerk.log/). The new and improved Simple (Sys) LOG. This app makes it possible to add logging and/or notifications to your Flows. Optionally a log can have, next to it’s message, an App/group, severity and facility/category. Connect to a Syslog You can also connect to multiple Syslog-clients to a) send specific message and b) have all default messages (with certain severities or higher) send there. New App Settings: Syslog interface This new version saves the logs int…

There’s even a script to add log cards to all (or selected) flows in one go:

> [@\[APP\]\[Pro\] Simple (Sys) LOG - Use this app for Simple (Sys) Logging](https://community.homey.app/t/app-pro-simple-sys-log-use-this-app-for-simple-sys-logging/77533/6):
>
> Script to automaticly include Simple Logging cards into your flows Use this script to automaticly add logging cards to your (advanced and normal) flows: It adds logging to each flowcard’s error catch in advanced flows. Also it adds cards to the triggers (WHEN), conditions (AND) and actions (THEN). It will generate one Automater flowcard in each flow. This card can be used to configure each flow on it’s own: Update: When you set this to No, the Autmoater card itself will not be changed when …

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [September 16, 2023, 7:59am UTC](https://community.homey.app/t/advanced-flow-issue/89072/6 "2023-09-16T07:59:26Z")

</div>

Thanx  
The logging thing helped me to figure where it’s failing.  
Added log tabs everywhere. 🙂  
Homey fails randomly to manage the devices that are Bluetooth devices. (Plejd)

Already have other Bloutooth issues with Homey but this issue was solved by using the Plejd gateway for Plejd devices instead. Not the best solution but it works
