# \[APP\]\[Pro\] Flow Checker

**URL:** <https://community.homey.app/t/app-pro-flow-checker/50986>\
**Category:** Apps\
**Tags:** app, tools, flow, homey-pro\
**Created:** [August 30, 2021, 10:15pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986 "2021-08-30T22:15:25Z")\
**Posts on this page:** 20\
**Page:** 38

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [September 29, 2023, 4:45pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/746 "2023-09-29T16:45:34Z")

</div>

## New app update (live: [1.26.11.](https://homey.app/a/com.athom.flowchecker)):

> **1.** ~~NEW: isBroken for HP19/HP23 (HomeyApi V3)~~  
> **2.** FIX: app error  
> **3.** FIX: HP version check  
> **4.** FIX: add logs to broken flow check  
> **5.** OPT: update homey-api to 3.0.18  
> **6** FIX: combine all api calls together  
> **7** FIX: disable screensavers on HP23  
> **8** FIX: link in settings to advanced flows  
> **9** FIX: **revert**  **isBroken** check

* * *
  

If you find any **issues** , send a **report** via the mobile homey app

> More - apps - Flow Checker - settings wheel right top - send diagnostic report (put your email in the input field to make it easier)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [September 29, 2023, 4:45pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/747 "2023-09-29T16:45:57Z")

</div>

@Peter_Kawa reverted the isbroken check again. Also informed Athom. But it’s not really (not at all) working 🙂

@Sharkys FYI

---

<div class="post-metadata">

**Author:** ![Patric\_Hedin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patric_hedin/32/56421_2.png) [@Patric\_Hedin](https://community.homey.app/u/Patric_Hedin)\
**Post date:** [September 30, 2023, 11:57am UTC](https://community.homey.app/t/app-pro-flow-checker/50986/749 "2023-09-30T11:57:16Z")

</div>

Just upgraded to the latest version (1.26.13). Have had the app disabled for a while on my HP23 waiting for some bugs to be fixed.  
After upgrading, some of the functionality seems to be working but I can no longer save any settings or filters, as it either gives a message saying ‘Saved’ but reverts to the old setting, or I get the error message ‘Missing implementaion of the api endpoint “settings”’…  
Have tried uninstalling and reinstalling the app without success…  
Diag. report: 02422c19-a61e-4e7d-881e-5e6c34085ac7

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [September 30, 2023, 12:11pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/750 "2023-09-30T12:11:14Z")

</div>

@Patric_Hedin will check today! Athom API is giving me headaches 😛

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [September 30, 2023, 1:14pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/751 "2023-09-30T13:14:26Z")

</div>

## New app update (live: [1.26.18.](https://homey.app/a/com.athom.flowchecker)):

> **1.** OPT: update homey-api to 3.0.20  
> **2** FIX: random crash in app  
> **3** : FIX: app settings

* * *
  

If you find any **issues** , send a **report** via the mobile homey app

> More - apps - Flow Checker - settings wheel right top - send diagnostic report (put your email in the input field to make it easier)

---

<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 30, 2023, 3:32pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/752 "2023-09-30T15:32:36Z")

</div>

**EDIT** Owh… you’re already at version .18 😅 I’m going to run this version now.  
But anyway mss you may have some use for the below:

v1.26.14  
I think I have a real error message now anyway, Martijn. To be clear, I haven’t changed anything in the app settings.

```auto
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] UNUSED_FLOWS - flowDiff: []
[log] [flowDiff] UNUSED_FLOWS - flowDiffReverse: []
/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardTrigger.js:12
    item.ownerId = item.uriObj.id;
                               ^

TypeError: Cannot read properties of undefined (reading 'id')
    at Function.transformGet (/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardTrigger.js:12:32)

--- INFO: com.athom.flowchecker has been killed ---

```

Here is the entire run from app start to crash (have filtered out flows and such)

```auto
─────────────── Logging stdout & stderr ───────────────
[log] [onInit] com.athom.flowchecker - 1.26.14 started...
[log] [initSettings] - Found settings key com.athom.flowchecker.settings
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [onInit] - Loaded settings {
  NOTIFICATION_BROKEN: true,
  NOTIFICATION_DISABLED: true,
  NOTIFICATION_BROKEN_VARIABLE: true,
  NOTIFICATION_UNUSED_FLOWS: true,
  NOTIFICATION_UNUSED_LOGIC: true,
  INTERVAL_ENABLED: true,
  CHECK_ON_STARTUP: false,
  BROKEN: [],
  DISABLED: [
    {
      name: 'BijknActief&PeterSlapen/Weg > AlarmSiren',
      id: '04cab0b7-8db4-44ba-bd00-aafe2254779e',
      folder: '-- Beweging/ Bijkeuken detectie 🚷 🚪',
      advanced: false
    },
    ... hier lijsten met flows en zo ....
  ],
  INTERVAL_FLOWS: '15',
  ALL_FLOWS: 483,
  ALL_SCREENSAVERS: 4,
  ALL_VARIABLES: 916,
  ALL_VARIABLES_OBJ: { logic: 570, device: 263, app: 79, bl: 4, fu: 0, screensavers: 2 },
  FOLDERS: 'LOG',
  FILTERED_FOLDERS: [],
  HOMEY_ID: '610xxxxxxxxxxxxxxxxxxxxxx',
  HOMEY_VERSION: 'Homey2019'
}
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [onPollInterval] 15 900000
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [findFlows] BROKEN - FlowArray: []
[log] [findFlows] BROKEN - promises: 462
[log] [findFlows] BROKEN - brokenArray: 0 []
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] BROKEN - flowDiff: []
[log] [flowDiff] BROKEN - flowDiffReverse: []
[log] [findFlows] DISABLED - FlowArray: [
  {
      ... hier lijsten met flows en zo ....
]
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] UNUSED_FLOWS - flowDiff: []
[log] [flowDiff] UNUSED_FLOWS - flowDiffReverse: []
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [findFlows] BROKEN - FlowArray: []
[log] [findFlows] BROKEN - promises: 462
[log] [findFlows] BROKEN - brokenArray: 0 []
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] BROKEN - flowDiff: []
[log] [flowDiff] BROKEN - flowDiffReverse: []
[log] [findFlows] DISABLED - FlowArray: [
  {
        ... hier lijsten met flows en zo ....
]
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] DISABLED - flowDiff: []
[log] [flowDiff] DISABLED - flowDiffReverse: []
[log] [findFlows] UNUSED_FLOWS - FlowArray: [
  {
      ... hier lijsten met flows en zo ....
]
[log] [updateSettings] - New settings:
[log] [updateSettings] - Comparing intervals 15 15
[log] [flowDiff] UNUSED_FLOWS - flowDiff: []
[log] [flowDiff] UNUSED_FLOWS - flowDiffReverse: []
/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardTrigger.js:12
    item.ownerId = item.uriObj.id;
                               ^

TypeError: Cannot read properties of undefined (reading 'id')
    at Function.transformGet (/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV2/ManagerFlow/FlowCardTrigger.js:12:32)
    at onEvent (/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV3/Manager.js:516:43)
    at Socket.__onEvent (/node_modules/homey-api/lib/HomeyAPI/HomeyAPIV3.js:569:7)
    at Socket.Emitter.emit (/node_modules/component-emitter/index.js:145:20)
    at Socket.onevent (/node_modules/socket.io-client/lib/socket.js:278:10)
    at Socket.onpacket (/node_modules/socket.io-client/lib/socket.js:236:12)
    at Manager.<anonymous> (/node_modules/component-bind/index.js:21:15)
    at Manager.Emitter.emit (/node_modules/component-emitter/index.js:145:20)
    at Manager.ondecoded (/node_modules/socket.io-client/lib/manager.js:349:8)
    at Decoder.<anonymous> (/node_modules/component-bind/index.js:21:15)

--- INFO: com.athom.flowchecker has been killed ---

```

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [September 30, 2023, 3:37pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/753 "2023-09-30T15:37:46Z")

</div>

Hey @Peter_Kawa ( 🇬🇧 😉 )

But yeah that was the issue which should be fixed in .18 🙂

---

<div class="post-metadata">

**Author:** ![To\_Lou](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/to_lou/32/79159_2.png) [@To\_Lou](https://community.homey.app/u/To_Lou)\
**Post date:** [October 1, 2023, 12:42pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/754 "2023-10-01T12:42:07Z")

</div>

Is this something that could be done in Flow checker app?

> [@\[Homey Pro\] overview script](https://community.homey.app/t/homey-pro-overview-script/77459/93):
>
> If possible, for future, I would wish for a complete all (standard) flows readout including If…And…Then for documentation?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [October 1, 2023, 12:52pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/755 "2023-10-01T12:52:40Z")

</div>

@To_Lou  
It can be done. But i would rather see a overview app instead of putting this in FlowChecker which is already very heavy on memory

---

<div class="post-metadata">

**Author:** ![Most](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/most/32/24464_2.png) [@Most](https://community.homey.app/u/Most)\
**Post date:** [November 3, 2023, 7:40pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/756 "2023-11-03T19:40:04Z")

</div>

In the card ‘There are flows with broken variables’ I get response “1”. Problem is that I don’t have any flow called “1”. How do I troubleshoot this?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [November 3, 2023, 7:51pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/757 "2023-11-03T19:51:48Z")

</div>

@Most were do you see that response?

---

<div class="post-metadata">

**Author:** ![Most](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/most/32/24464_2.png) [@Most](https://community.homey.app/u/Most)\
**Post date:** [November 3, 2023, 9:20pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/758 "2023-11-03T21:20:13Z")

</div>

This flow generates the response to the timeline.

 ![Screenshot_1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e634e3ea1fedbf0dafe22f7b315f7f6dd9e342b.jpeg)

 ![SmartSelect_20231103_221609_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c15b799721c20f0c3e938a050336654784539b2.jpeg)

I notice that app settings was also showing the response. But I can’t see any broken variables in the flow. It has a HomeyScript due.  
 ![Screenshot_2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/972f6318d78c28674c5815515501eaa4568128eb.jpeg)

 ![Screenshot_3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec96f3b45945c82ea1ec2225e5427aa494d6682d.jpeg)

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [November 3, 2023, 9:50pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/759 "2023-11-03T21:50:13Z")

</div>

@Most the tag you used is showing the amount of broken variables. Not the variable it self.

---

<div class="post-metadata">

**Author:** ![Most](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/most/32/24464_2.png) [@Most](https://community.homey.app/u/Most)\
**Post date:** [November 3, 2023, 10:24pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/760 "2023-11-03T22:24:01Z")

</div>

Ah, ok.  
And are there any way I can find the broken variable?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [November 3, 2023, 10:36pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/761 "2023-11-03T22:36:39Z")

</div>

No only the flow which contains that variable

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [November 4, 2023, 6:26pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/762 "2023-11-04T18:26:31Z")

</div>

@martijnpoppen btw any news from Athom ?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [November 4, 2023, 6:27pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/763 "2023-11-04T18:27:32Z")

</div>

@Sharkys nope still chasing

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [December 28, 2023, 10:40am UTC](https://community.homey.app/t/app-pro-flow-checker/50986/764 "2023-12-28T10:40:02Z")

</div>

Hi @martijnpoppen

I have a basic question. Maybe the answer is to be found above this message, but I can not find it that quickly. Maybe a "Flowchecker for dummies’ section would help for some of us.

My question refers to the following message:

Event: BROKEN\_VARIABLE - Flow: _name of a flow_\* | Folder: **name of a folder** | Reason: **Device variable**

I investigate the flow, but there is nothing to see.

Q: what does it mean BROKEN\_VARIABLE. Why is it broken, what can break it, how can I fix it, and most important: what can I do to prevent any variable to break?

I know it’s a basic quenstion, but still hope you can quickly help me understand and thus be able to analyze my messages.

Michel

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [December 28, 2023, 10:43am UTC](https://community.homey.app/t/app-pro-flow-checker/50986/765 "2023-12-28T10:43:47Z")

</div>

@Michel_Bos broken variable means that a tag in your flow is broken. In your particular case a tag from a device.

What you can do to prevent it… yeah many things but the main reason for this app is that its hard to prevent it and therefore you get a message.

So in your flow theres probably a tag missing or a device doesn’t exist anymore and therefore FlowChecker sees the variable as broken

---

<div class="post-metadata">

**Author:** ![Michel\_Bos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_bos/32/5481_2.png) [@Michel\_Bos](https://community.homey.app/u/Michel_Bos)\
**Post date:** [December 28, 2023, 11:05am UTC](https://community.homey.app/t/app-pro-flow-checker/50986/766 "2023-12-28T11:05:12Z")

</div>

@martijnpoppen Thx Martijn, for reacting this quickly! Appreciate it!

I will have a look at the flows reported and within those the used tags and devices. First quick look shows all is OK, but let me verify 🙂

Will let you know my findings.

[Previous page](https://community.homey.app/t/app-pro-flow-checker/50986.md?page=37)

[Next page](https://community.homey.app/t/app-pro-flow-checker/50986.md?page=39)
