[APP][Pro] Flow Checker

@Sharkys if you can provide these lines:

[findFlows] BROKEN - promises
[findFlows] BROKEN - brokenArray

Hmm, when I search for findFlows, I only got those hints :

obrazek

eg. no hits on BROKEN - promises nor BROKEN - brokenArray

I’m on 1.26.2…

@Sharkys i didn’t push the changes :man_facepalming:

can you pull the latest changes and try again? :slight_smile:

1 Like

Sure…

[log] [findFlows] BROKEN - promises:  627
[log] [findFlows] BROKEN - brokenArray:  627 [
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  true, true, true, true, true, true, true, true, true, true,
  ... 527 more items
]

…does this really helps ? :slight_smile:
If needed, can share full log via PasteBIN and DM

@Sharkys this does help :slight_smile:

all flows are marked as broken :stuck_out_tongue:

1 Like

:joy:

1 Like

@Sharkys checking this with Athom. The same check does work on Hp19

1 Like

New app update (test: 1.26.3.):

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



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)




You can install the test version by clicking the link above and press install

Don’t want to be part of this test version? Install the live version → Flow Checker App for Homey | Homey

1 Like

@Sharkys can you test above release? :smiley:

1 Like

@martijnpoppen did you get VIP line to Athom ? :wink:
Much more promising now, including device variables ?

obrazek

So far seems to be false positives, eg. just random check, this one is supposed to be broken :

Will CLI provide more details ?

AATP :wink:

false positives on vars or on flows?

After I while, probably during scheduled check, seems screensavers popup again + now it reports 60 broken flows and 20 flows with broken variable. Those false positives were marked as “Device variable”. however they are fine.

obrazek

After re-run…broken flows “disappeared” but flow with broken variables remains
obrazek

I installed again via CLI , will share details via DM…

@Sharkys this really feels like an issue on the Athom side with cached api calls.
I’ll check if I can fix that in a other way.

1 Like

New app update (test: 1.26.4.):

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



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)




You can install the test version by clicking the link above and press install

Don’t want to be part of this test version? Install the live version → Flow Checker App for Homey | Homey

@Sharkys made a fix. i think that get rid of the strange side effects you were experiencing :slight_smile:

1 Like

v1.26.5 (Pro 2019)
Zero broken flows, but I do have a few (20 to 30-ish). The other numbers seem to make sense.

No errors to be seen when running from cli. The ‘BROKEN’ array is empty

─────────────── Logging stdout & stderr ───────────────
[log] [onInit] com.athom.flowchecker - 1.26.2 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
1 Like

New app update (test: 1.26.10.):

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



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)




You can install the test version by clicking the link above and press install

Don’t want to be part of this test version? Install the live version → Flow Checker App for Homey | Homey

2 Likes

3b36de7e-d4dc-4afc-83eb-69808603f8ec (inclusief beschrijving :wink: )

Hey @Peter_Kawa
Nice :stuck_out_tongue:

So this is all i see…

:frowning_face:

I’ll dive into the crashed app logs and see if i can find something there…

Hmmm, that is a veeeeeeeery short log indeed :sweat_smile:
I’ll run it by cli later tonight. Maybe it reveals more info :grimacing: