[APP][Pro] Flow Checker

@Peter_Kawa @DirkG

So I found the problem.
The flows which are reporting broken variables are broken or disabled flows which contains a broken variable.

I had a filter on the flows before. But to calculate all flows I had to remove that filter.

Will fix that

Edit: can you validate if these flows are also shown in the Disabled and Broken list?

2 Likes

Snelle Jelle! :+1::white_check_mark:

Gecheckt:

Broken Vars

  • 1-2 TEST 4-kleur Ledstrip Schakeling
  • 3-2.Chrono Test
  • 5-5 KerstLeds Off
  • Test push with tags

Broken flows

  • 1-2 TEST 4-kleur Ledstrip Schakeling
  • 5-5 KerstLeds Off

Disabled flows

  • 1-2 TEST 4-kleur Ledstrip Schakeling
  • 5-5 KerstLeds Off
  • Test push with tags

Ik heb de ‘Test push with tags’ flow bekeken, hij is disabled en de variabele ontbreekt in het push kaartje. Dan zou hij ook broken flows moeten staan
De web editor markeert hem niet als broken, dat verklaart e.e.a.:

De 3-2.Chrono test flow is Enabled, and not marked as Broken:

@Peter_Kawa Yes so the flow is not broken according to Homey but has a broken variable.

In this case it’s correct to show it like this i think.
I’m changing the filter. So broken variables will also include disabled flows. But not the broken flows which Homey recognizes :stuck_out_tongue:
Because you can see them already in the Broken flows overview

1 Like

Another thingy (sorry🤗)
The interval was 30 @ v1.3.0Test.
Then v1.4.0Test got installed.
All systems fine

Then I changed the interval to 15 and after that ‘All Flows’ + ‘All vars’ return undefined.
BUT an app restart solved that one!

528 flows / 558 vars
Your app has some counting to do overhere
:sweat_smile:

Something else, just FYI :beers:
Interval vs RAM

03m           20MB (while running v1.3.0Test)
15m           17,5MB (while running v1.4.0Test)
30m           12,5MB (while running v1.3.0Test)
60m           15MB (while running v1.4.0Test)

@Peter_Kawa hehe oops you found it!
I saw that bug already and it is in my next fix. Hoped nobody would find it :stuck_out_tongue:

Nice! Looks really good with the app usage!

1 Like

Hence my ‘sorry’ hehe. And a good old fashioned app restart solved it, so “no little dirt on the sky” (in steancole English)

1 Like

New app update (test: 1.5.0.):

1.3.0

  • NEW: add interval setting
  • NEW: Flow tokens (amount of flows)
  • NEW: Flows amount overview (in appsettings)

1.4.0

  • NEW: Add all flows amount and all variables amount - Tokens
  • NEW: Add all flows amount and all variables amount - Overview (in appsettings)

1.5.0


Note
The link to flow option can only be used with the web interface. It links to my.homey.app.

3 Likes

@Peter_Kawa I’m thinking about this…
Would a flow card to set the interval be a good option? :thinking:

2 Likes

Nice idea!
Flow “Fiddling start”
Set interval to 3mins
Flow “Fiddling stop”
Set interval to 30 / 60 whatyoulike

Ideal :upside_down_face: (daydreaming)
If a Flow and/or variable is edited or created, or if a var is deleted (but then the check should be every 1mins or so… errrrr…):
Set interval to 3mins
No flow edits / deleted vars the last 30mins:
Set interval to 30mins

Now Athom wants to buy the app :beers: :wink:

@Peter_Kawa
The first part i’ll put on the ‘todo’ list.

The second part. I really like it, but really bug sensitive. And as far as I know not possible without a interval which checks that.
So then you’ll get a interval which checks for change to increase/decrease another interval :thinking: :stuck_out_tongue:

1 Like

New app update (live: 1.5.0.):

  • NEW: Add interval setting
  • NEW: Flow tokens (amount of flows)
  • NEW: Flows amount overview (in appsettings)
  • NEW: Find broken variables in disabled flows
  • NEW: add link to flow in settings. App Settings

Note
after this update you might see extra broken variables. This is because there was a filter on the flows and disabled flows were not checked for broken variables

1 Like

This is a great and very helpful app!

Would it be possible to add a THEN card for checking all my flows?

After I have corrected the indicated flows by FlowChecker, I would like to let it re-check my flows. But I see no possibility for it yet?

Thanks a lot @Henk_Renting ,

I did think about it.
But when I made the app the interval was 3 minutes so good enough.

After the interval setting change it makes sense to add the Then card. :slight_smile:

Added it to the todo list

2 Likes

New app update (test: 1.6.1.):

  • NEW: Add action flow card - Update flows and variables (@Henk_Renting)
  • NEW: Add action flow card - Set interval (@Peter_Kawa)

image

5 Likes

Damn, you’re fast…
Thx!

3 Likes

I can’t spend an evening with my dad and in the meantime there’re even more features implemented. :heart_eyes: Thank you so much Martijn! If you were a woman I’d kiss you :sweat_smile::sweat_smile:
I’ll check the new features out in a minute.

Edit:
Works like a charm, and THX for the flow with links overview! (And for borrowing your icon :grin:)

Set to 3mins

Set to 30mins

Update

Bummer, the Vars aren’t displayed, so here’s a screenshot:

Timeline

hahaha :joy:

Really nice that it works!

Actually… the icon is not mine. It’s the icon from the Homey web app :wink:

1 Like

LOL - at first I thought wow - that is an overly complex broken flow to test with :rofl:

2 Likes

Hehe, it just looks a bit overly compex :rofl:
So yea, I said to myself, why not test all FlowChecker variables in one go! :grin:

1 Like

Nice app, thanks for your hard work.
Can I request an option to disable the automatic periodic checks and have a button on the configuration page for “Check Now”?

As I am constantly developing my apps I end up with the time line being filled up as I stop and start my apps :slight_smile:

2 Likes