[Feature Request] Advanced flow trigger cards remembering last tag-values when not triggering

There has to be a better way to handle an advanced flow with multiple trigger-cards. just breaking when checking all tags won’t do. i don’t want to have to store the values myself. When the app stores the values as global variables, that works, but in all other cases it’s annoying.
Can’t they just remember the values from their latest trigger?
Has anyone solved this in a satisfying way?

Thanks

I can’t follow you…
Can you create an example flow, and use real life descriptions ?

Hmm. say you’re monitoring two values. and triggering on changes in those values. the flow is the same. make sure both values are above a threshold. but i can’t check both since only the tags for the current trigger has values. (unless i save them)
I can’t think of any problem that would occur from having the tag values remain until overwritten.
But this might also be bothering only me.

Something like:

or


Flow exchanger file: (HowTo)

[TEF:FLOWS:H4sIAAAAAAACA71Wy27jNhT9FYGYRQuEAZ8Sqd2g065adDHZGYbBx6Uj1JZcmZ4mCPJP/YZ+Wa9s5SEnM6Om7awkkdTlPYf3nMs7Ekl9R8B5SJWSVFSyoiqKkhpZAdWCsRSMdzqKYV1LavLz4WYLGfrifbjGB7kgAUf30O67ntxfEKmZ1Jpb6jUrqQrRUR+9o1YL4SvmjVLlQ6zsYvfXn8XVNfTbbp+dy2O4/DCSyT3GzMcfNpe/bw573JM2+fIDfGoC/OB2zjebJjewfwh6mikmU0MQR+rFHWlwReLGIWJPXYyAKTJDXRUZlYlpI4I1tnKYyBDs/U/F1R9d8cn1+yL3zXqNwK8+XuEskDr3Bzjme0eUTV4oLinYlDBkxRGwVdSAislZWWpvhnU3pGYX5JbUBh8dbnDdbeG2jsec61nncHHEsAW3P/Sw2hy2TevaAKtw7do1RHKki4zJ4hcSsyDAdcmsACpEklQJzagvE4Ln3OFpGcYZ4FquPedCCWpd1FSVilOfHKclKKUNSMUrTpZIpgWVAscAUfKImYZIbQJGdahS8MYnYdiI15oT4gngrWsdple3XW5SE1xuunY/Qgs9uAyr51MjKBfGDzfEznAzDH7oio+//vJjvm7a9WVBKS3OSrQuvlssRj7qes5J1fULepfL749VNIvIE3A1AhevIt906yaMiNd5BBi6NjYjxi4PBzeL6OXISOi2O9e7jEqsMbMLsnoX+26Xu9+gfbd6qoo3s3ASkqk8S1ibSppyqFIUt6gcjaUGHOHArD2jQLN/w4GQIiphME8ZsCp5TJgnsmHQXWxAoFicb+CAAfqRdOhPomJUVT5SL7mm3AdAhNKjdz1xkGG7A4yL70cWlMAF2kWKmrX4d1WhVgUy6MuyxFIwCfwZC1JNWHC7Xf1VUzuRcyr8VXiYuV0hdeeiOAo9MBW0KQ0VIaCFKAhoxIAKrpJgTjpdGnjk6mQ7w1uDfYDMtJ/WbeGVRoCcPOX3GPNlCT0GeG1qDdn5zaO37h8+k9vsAXdoD1sPfZfQToZDmIV2akNnh/AfGtEZIUUPAdqMvWNzgLpYLE4/ofZmVE5dn5Aul8dim1Oqk/aixGv9ZVZvnvaXZ2X/5Q4zyxVmymboMLNa0VRf/BvoK0krZXSKhuTQkCzyaKNSNDEEKqwJSrrP6Wsm/aM8XrkcfVlizx3qhcimk/9QZrNAT2XGy/9LZs8I+azE5hTPmcRmNZkpRmW+3Z3mGerpfebNXex0o7m/X97/DRP4VqUGDAAA]


Why shouldn’t it have a value? Or do you/something empty the tags after every change?

This is default behaviour afaik.

Historical view:

While those solutions doesn’t take both values into account for both triggers, of course I know how to make workarounds.
But I have realised that homey reboots and other circumstances would make the feature I have requested unreliable. Flows that doesn’t work until all possible triggers have triggered is kind of a bad idea :slight_smile:
Still, I’m sure there is some smart idea here somewhere.

You still can’t clearify (to me) what your issue is …

Sorry, something like this except for values recieved from mqtt or something like that is what i meant


where one or both has to be greater than a threshold.

Ah!
Do you mean this is the issue:

Case: Homey is offline, or the connection between the power socket is down.
→ The power changes
→ Homey or connection returns online
—>The flow does not get triggered while the power value is changed in the “blindtime”?

Initially i wanted to be able to check tag values from both trigger cards. but since only one triggered it crashes.


I felt that it could have remembered the last known value for the other cards tags. but now I don’t think it’s such a good idea to base flows on that requirement.
Sorry for being such a terrible explainer.

Ah, the test run got you…
The Test functionality is a bit tricky…
The [power] tag of the erroring card, is probably the local tag from the Jobbdator socket?
That seems to be ignored in your test run.

You’d better look up the tag belonging to that socket instead of the local tag (which are found at “This flow”).
Then it should work when you test the flow.

This is a screenvid (‘Power’ is ‘Current usage’ at my end)
Peek 2022-10-07 22-41

.
Example of weird Test run behaviour:
When I test a flow which starts a timer, the flow part where the trigger is “Timer is finished” does not run in a test run, while it works fine in normal use