[APP][Pro] Advanced Triggers - Trigger and action cards with eventname for Advanced Flows

Thanks Arie! no rush, take your time.

I tried it and the card texts is much better, easier to understand “Return to ”.

1 Like

You are right, there was a bug.
It’s resolved in the current Live version: 1.5.2.

This flow works as expected.

Output:
image

TEF:

[TEF:FLOWS:H4sIAAAAAAACA9WVS2/bOBDHv4rAs5nlQ+JDtz0UxQK72EN6CwyDj6EtRJZcmUoTBP7uO5LygFuj9fYWwJBFcqSZ+f3/pJ5JJvUz6dqbr+14zDDQJt/8GR9cFyB+GZrtFobjHEFq8jpfvC2cVtOjXQPtMcJ9C8P9TdtvX+Nvm/2hheLvfz+TE0Y6Ut89kwYXIGlgRleUczC0BOGoEV7QSnNmrZVKxkBWl3MWt/B1hC43ri0+PUIYc9N3eOemXPgQkDoPI6xImMowVeTSaE65B0nLqrLUhSrQJHQySqaSMzbFPZKarcgTqXG8Ij0m3vV7eKrd4VD/As5qbikvw80mw2Pmm27cexj4xvd9C67jGJXfo3CEUO+IwYKSSYl6JYGWyhnqtClpNKwMXNrEGZD1TA6Juj28/5NLGPC9EY5haA7zCOm5bu/uoZuEiuD7ESvH6ePbs7MwV5WxQJLqZ5h+MMLC5q/uMObNMp4ouPBS7Ayh9CGAdZL6knFaRpRoUoZ6r8pkuBLKvEOY3XWx97q4u3vBW9fXyF7Xs1Tr9czgqioWBvqVgWBLPxFa90ReKlwGk06zBXC5wqX92Obm0DbTBD9NCZWyBrjg1BspaGl0pFawkgJjlau0BMnMd9CF+j1vLrx/Yc03UX7bbLfQQsiALWJ7cy6c/ALHXPAZsdbRWm0U9Vp7tJk11Au8U2ASQtbWpvO9KMwL4GN2Q371y1XgVkQmQCmVoZFxNLVIFXVMBaqFceDBpmQlhgmRHJNYFJeCoVO8pMbrRFOqHJYJJpQew7hOshIBbeSmt7kA1PkoqfbS2TI5IUJJ1qcr0y5N8nJps/reR8u24CmqUCnMGDUtvZDUGYbcXPLKl2VMVXjbFj+ajl803VVtnJtOmg9qOjGb7ip9z/VQ5pIeUfBUJR9oBfORovGACE5QrWJSzCYLiv1vPa4S+VyP2S0fUQ8561Ex4VKUllrDsGMBiTobHE22BIc7Wyk5535w7Tgl/Qc/X8VxHKDIu+ZY4M8V8HiA7tg8QPFH0fbdlg5j1zXdtkht/w0rCn3bT8yfoF0mpkNbLPjw+q2JeUfqbmzbFdlBs93l19HEoOszzN/LawQ/10Z95AP6dFqf/gOcNBVRDwoAAA==]
1 Like

Tested it and the sequential part works good, each trigger is handled after each other.

But I see a strange thing with the return-card.
See picture for flow.
The two first calls returns the value, but the third and last doesn’t return any value.

Simple log printout
2022-11-01 19:06:35 Advanced Trigger test returned
2022-11-01 19:06:35 Advanced Trigger finished Test3
2022-11-01 19:06:20 Advanced Trigger test returned flow returns Test4
2022-11-01 19:06:20 Advanced Trigger start of Test3
2022-11-01 19:06:20 Advanced Trigger finished Test4
2022-11-01 19:06:05 Advanced Trigger test returned flow returns Test1
2022-11-01 19:06:04 Advanced Trigger start of Test4
2022-11-01 19:06:04 Advanced Trigger finished Test1
2022-11-01 19:05:49 Advanced Trigger start of Test1

Send me your TEF please?

Sorry, not using Device Capabilities yet.

Well start, it’s the best way for me to deliver good support, because you can send me your flows.

Straigns think here is, the Returned Test3 should give an Timeout error: You are surpasing the 30 seconds timeout for an actioncard to finish.

The Start TriggerTest (Test3) should timeout aftter 30 seconds.

What is this 30s timeout? Something Athom implemented? So no action card (in this the Start card?) may wait more than 30s? I will add error check to the flow.

Sorry, i just tested it, and it turns out to be 60 seconds for the timeout.

Indeed, a flow itself can run for a long time, but each actioncard (and i think conditioncards too) must be finished within 60 seconds, or (also in the flow editor) you will recieve an timeout (Network request failed.).

When i run this for instance: Al goes just fine, after 5 seconds the flowcard is done.
image

But when i run it for 65 seconds i recieve an error:
image

The 0s is wrong! It runned for 60 seconds before the error cancelled it.

Sounds like a good implemtation, avoiding too slow action cards.

I changed the delay in my flow to 1s but still get no return value from Test3.

2022-11-02 13:52:02 Advanced Trigger test returned
2022-11-02 13:52:02 Advanced Trigger finished Test3
2022-11-02 13:52:01 Advanced Trigger test returned flow returns Test4
2022-11-02 13:52:01 Advanced Trigger start of Test3
2022-11-02 13:52:00 Advanced Trigger finished Test4
2022-11-02 13:51:59 Advanced Trigger test returned flow returns Test1
2022-11-02 13:51:59 Advanced Trigger start of Test4
2022-11-02 13:51:59 Advanced Trigger finished Test1
2022-11-02 13:51:57 Advanced Trigger start of Test1

Do I do something wrong?

I guess not, and i don’t see anything wrong with it. Please send me your flow and i’ll debug him.

This is not about marketing the DC app, but it just saves a lot of my time if people send me there flows/TEFs.
Also, there were a few times already, where you couldn’t see the error in the image, but it did show up when importing the TEF. Which saved me a lot of time, because there was just a fault within the flow itself.
I could fix it and send the flow back.

Also, tef’s make sure that i don’t make mistakes myself.

I have put a lot of time in perfecting the TFE and SYD with it’s TEFs, and it works a lot better then most people propably think. But it’s time too “win back” my invested time by not having to recreate flows and explain how to fix it.

Here f.i. i have imported a “complex” TEF, changed it, and send it back for him to import.

Ok, installed DC.
Here is my flow.

[TEF:FLOWS:H4sIAAAAAAACA8VWTWskNxD9K4NOCVhG3y31LYQQAoEcdm/DYEpSydtsz8f29CQ2Zv57qrs9NmPDutdr7Ms0I5VU9V69qtId61l9xzbt5bf2sO+x401/+Vv+FzYJ8+euub7Gbj9asJqd1hcPG8eL4eimwXaf8WuL3dfLdnt9sv/UrHctLv7+5092JEtg9fKONbQhZA6ofOEy048pXnCflOKYFRaHwucqsItzn/3kc9Hjvl/wxR6/HXDTN9CSIbK67w54wdLgWmRBN0Ch65zgRlnPA+bIBWLCZGyQAge7G1aLC3bLaunoSzywfQ9dT/cR4iWz1giMPvOUg+NGS8NjgMRFzC5TlKDKEGTlgABA5qAJgXHS8UgWPKfKFmGDLUaTWfYVZm81N6g9N0lKDsUAlwpkEakYpSVbEUuz3E7RKzfFb+izpfC/bNd4W8NuV7+Qz4sxC5D6Zru5uurxppdXm8M6Yiev4nbbImwkmyiZjE6cpIzeeRRcJ5m48dHyiELyaFBpnbwLorDVmGqSAKzx8cvuvX+m/A184D51zW68vGa/dwg9DnIagxmsyUyOsplF8DkhY0LfhxEbirVSJa6cRW5EitzLoChdCbQsgEGrt2PEjIzM0tI5I8oPjBz63aH/o+u23RC6r6A4lyzP0ltuohE8Fspt0gFy5UiGZgz9fYiUVdG5iMyVAQLlK8UhKuRZhCqaLGSM5u2I1COR2kkZUgXchwgkLWc5eGG4B5QonYFs81mnsP51wrpvXi8Qcm91YkSI5ETIkiuvSVrBUR8LCThqHaypMAbxKkY+YYupHxjJGLcHCndofY/9dGBmlu+JGeO/x82z2TAR8teGlHg1/X+uhRi1Bi00r7IN3EAhZUZQXKM1too20AB5QD4OnGezaTH28sW2LJbLe17rek6+63rM0Wq1+OWHT5Z2+x/eYDoMYJq8Wv06kjkLzkRmUBOZTtyPpIwt3J54KZFKMsfIUwCabCYZDoEqlhqCt4VCoNIlW1m0qFRxXABVkQEIlDwagBaqAiJWFeT4QN/kYFDOKEpyOchxfWj7Ztc2w4I8DiBm+Z5ASCl+rlw67A/d7PYxwnhCPe3/fPbYY88Y9hZTWPtXK2oUw6wROvFYmZMY3qCwvlcr45tqQkery+V0qK7nvEXO0c0ah+fo5IfBm/OyOIc3a0idw1P+o+DNeSY8gTencTyp8Uq8Vdt/oaGXZtPsv4wIP7qhz3o5ncvAiPeVAQ6vvJq4StDluVoYD41aOB5Xx/8Bxnj/9xwOAAA=]

Hmm, think I did not do this correctly…

Its okay, i can copy it alright.

It looks as if, because of the brackets, the text stays as it should be.
At least, before i start using [TEF:… i couldn’t copy it when it wasn’t within a codeblock.

Still, nicest way is to put it within a codeblock, so the TEF becomes a one-line-scrollbar-field, which doesn’t interupt the conversation as much.

And thanks!
Ill look into it!

Okay, i got the same results.

(changed test4 to test 2 again).
image

I’ll work on it, but i do have some other thing right now i must handle first.
I’ll try to squeze it in.

No hurry, this is not something I am using yet, just tested it out of curiosity. :slight_smile:

How do you format code blocks in this forum? I didn’t find it in the toolbar and am not familiary with all formatting syntax here.

1 Like

Preformatted text it’s called i see:

Okay Gregow, it’s resolved in the latest live version 1.5.3.:
image

2 Likes

That was a quick fix. Nice work.

1 Like

I have this “idea for a flow” that I would like to hear if you think Advanced Triggers is suited for either partly or as the actual trigger.

Challenge:
Trigger when date and time becomes X, Y – where X, Y is variable.

The main idea is to have 1 flow that starts and stops a “stupid oil heater” with a smart plug at a given time. I need 3 different time intervals, which is “ordered” through Siri the day before.

I understand I can make all the 3 different start times and 3 different stop times trigger and check a boolean, but that is nor fun or well spent resources :sweat_smile:

So I thought I order a triggered time with you reurn card and have the trigger run on a specific date and time. Is that possible in todays version?