Advanced Flow — Community Q&A (from Ask Me Anything 05-07-2022)

Technically you don’t need to use HomeyScript for this (I like the out of the box thinking though), you can use normal logic cards, but it will take 2 cards:
local number example
first card = create TEKST as text-tag (THEN card), where you can calculate in.
second card = convert TEKST into a number tag (THEN card)

1 Like

That is one way :slight_smile:

I keep the homey script way, one card less :slight_smile:
image
It has only to be parsed since it get already calculated with the input.

@Peter_Kawa i didn’t saw that :slight_smile: But that’s what I kinda wanted :slight_smile:

1 Like

This is a disabled flow, I could not resist clicking the test button:
Screenshot from 2022-07-09 18-10-55

@Jero The simulation runs fine, but to my surprise Homey restarted as well? That shouldn’t happen imho :upside_down_face:
I tested twice, because I assumed it was pure coincidental, but it isn’t.

1 Like

As said in the AMA on the question about Simulating without switching (to keep the peace at home) isn’t possible at this moment as often de flows have conditions that than don’t correspond.

Disable is just you can’t start from other flows or favorites (or tree / list of flows).
Imo it always has been that testing a (standard) flow while editing also just executed. although disabled. So i think no difference from before AF.

1 Like

Working as intended I would say :grinning:

1 Like

Thanks, forgot about that part!
While my lights stayed off during testing Aflows, I was under the impression it doesn’t run THEN cards for real. :upside_down_face:

I’m getting old :sweat_smile:

Timeline card in error, cards which should send the error, are in error too :nerd_face:
Screenshot from 2022-07-11 22-58-53

.
Both Signal and Papertrails card can’t send the error message while missing token for argument. Any way to send an error message when the message itself is probably empty?
I’d rather have an empty error notification instead of nothing…
Screenshot from 2022-07-11 22-59-04

I also seem to get that occasionally lately. Only restarting Homey fixes it for me.

You mean the “rate limit”? Yes I know a restart solves it (or a 24h wait).

But I want the other cards inform me about the rate limited timeline (because otherwise you only discover that if the last timeline message is from yesterday :grimacing: )
But they don’t send the error while there is an error with the error tag.
Or does a restart fix that too?

For the people who asked for more triggers or a way to create loops within Advanced Flows: Advanced Triggers - Trigger and action cards with eventname for Advanced Flows - Apps - Homey Community Forum.

2 Likes

Guys, would you know if there is some “universal” tag I can reuse in case case of such WHEN condition ? I would like simply to report which of the sensor went above certain value… so it will have only one THEN “Timeline - Sensor XXX density changed to YYY” .

But these triggers don’t have an own Tag, just a Tag from each device. you need Triggers for that with a Tag. but even then there is no solution for (yet) than scripting it in HomeyScript

1 Like

Hi i have a toweldryer in my bathroom that i want to start for one hour when the humidity increases for example 15 % in 10 minutes but i am not sure where to start does anyone have an idea?

Depends a bit on the sensors you are using, for the calculation of the increase you probably want to use some better logic (unless there is a way in your sensors to do that math for you) then start the towel dryer and a countdown, and when countdown reaches 0 turn the towel dryer off

1 Like

You could do it like this:

(I used temperature because of the lack of the cards you have, but just as an example)

2 Likes

How do you search for errors now with advanced flows?
I created this flow, but my Door light was dark last evening and also the motion sensor did not activate it, and I don’t know why.
Maybe you can help me, loving AF but still not even close to really getting it.
Thanks!

See post #249
When you draw the red line to a notification card, you can select the local tag “Error”. When the source card is in error, this tag will display the error message.

1 Like

Thank you Peter, will try!

1 Like

Question: Does anybody have issues with advanced flows being disabled when using the Every x seconds/minutes/hour card? I combined several old flows into a couple advanced flow containing one or more Every x starters. They seem to run fine, but then suddenly get disabled.
Any Idea?