Google Services TTS in Advanced Flow

Hi all,

I would like to share my advanced flow for Google Services TTS. This is how i do it. I wonder if you can get inspiration from it, or have comments about it… everything is welcome. But this works pretty well for me. Thanks to this flow, it doesn’t matter in which room i am, the information, gathered from other flows, are set into variable “Google zegt”. And coz that var change, this adv.flow will be triggered.

Scroll down for an updated version.

1 Like

Nice!
I am wondering how Homey knows in which room you are. And how does that work when there are multiple people in the house?

How it does work with multiple people in 1 house, i have no idea, i am alone.
I have in every room door/window sensor and motion sensors. In those flows i set in what room i am.

1 Like

Hey Edgar,

Seems lovely!

Would you mind posting your TEF in a reply here?

I wouldn’t mind adding a few things if you don’t mind :wink:
Like, make sure that speech is waited for, before the next speech is send.

And a question: Why do you sometimes wait 20 seconds before speech if there is music playing, and sometimes don’t, but wait 20 seconds when there is no music playing?
Is that so you are sure the previous speech is done?

I will try de tef. Never done before
It is not waiting for music. Its just a google mini :slight_smile:
It is waiting when an other tts is playing so it wont interupt :slight_smile:

And i am curious of what u want to add. It sounds like the solution for the 20sec wait

[TEF:FLOWS:H4sIAAAAAAACA91a2W4cxxX9FWLgR5Vd+8K3BAkEP1tIHgyBqOUWOeBwmpkZUpYV/ou/xV+WUz0LyWYzKSJ6EGTAWkbN23c599xzq+bLoizOvyy0c4qsI6aKLkyHGFkyVjPNTaZoSKXg23Prxfniw4dfzrarGG+v4w1tFu8WGR8Ouyv8+eHdIgmvk+OV1SpgSSbJYoThqoPntjgeEz21lGKZt1OVDapmRjrATiLFokqCwTWRig1Wy/LUzifaXM8ayoW4paxYDsLBIa1Y8pEzKbjynDyP5Zmhy7i+nNpQRWhrdGZcSQFnYCPGKJmQMnAdYy7VPHNmGNazzkjhSFkfWHARzuDHWAgpssKNVjyZVIR4amh3t1xPbVgvK0cumNMGFdKSs2CUYDZUE6OJRXF3tPHLqU5nV3fpYGl7S/F6b6uq5LxwjkkfPdOkIosua6ayyy5StCLWo62/Hip1drNcL1+aslXQaMBVAbekQa0kJaZc0LI6KSKlo6l/oli3cG23fWn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n177Q081qE9T3WR2nNQiWXSFXBJSJYFbRwrzlpyEv9lNU68rgcP4Vo+Oe2e0Fefg28rR9fKPymH4LN90vVdwO56dAnaxz7xFgrFGCaDlO0IBDCloEFVSWWDgU3+cDbW8+CkHo+Hds8K0uvh2wrSJQePhzlHB+dX764vVPYTV492OxVEpUxZQlsKJyEJjYuQhBi2TT55HgBfvr/863rwEO/pFFXODvheD99SkIeHjw//AYU7Yi+5LQAA]

Hey thanks Edgar,

Just one think: you need to place the TEF within a code-block:
image

make sure there is a line above and below the TEF and use ``` above and below:

This way, you get a neat little line like this (your own TEF):

[TEF:FLOWS:H4sIAAAAAAACA91a2W4cxxX9FWLgR5Vd+8K3BAkEP1tIHgyBqOUWOeBwmpkZUpYV/ou/xV+WUz0LyWYzKSJ6EGTAWkbN23c599xzq+bLoizOvyy0c4qsI6aKLkyHGFkyVjPNTaZoSKXg23Prxfniw4dfzrarGG+v4w1tFu8WGR8Ouyv8+eHdIgmvk+OV1SpgSSbJYoThqoPntjgeEz21lGKZt1OVDapmRjrATiLFokqCwTWRig1Wy/LUzifaXM8ayoW4paxYDsLBIa1Y8pEzKbjynDyP5Zmhy7i+nNpQRWhrdGZcSQFnYCPGKJmQMnAdYy7VPHNmGNazzkjhSFkfWHARzuDHWAgpssKNVjyZVIR4amh3t1xPbVgvK0cumNMGFdKSs2CUYDZUE6OJRXF3tPHLqU5nV3fpYGl7S/F6b6uq5LxwjkkfPdOkIosua6ayyy5StCLWo62/Hip1drNcL1+aslXQaMBVAbekQa0kJaZc0LI6KSKlo6l/oli3cG23fWnHRxVTLp5JiQxrkz2LXFoWs5TVZpW5Ckc77x9r9cSCkqbA+8qitQEWAirOM2eAjdWGOBkdT54cK/VKVNwr6bzJzOqiEBXyHHkGEIzMOVpCg5y8+fBYrJMFmLgbG0zbEiTgLCQ80TlLFD4HJnVSVJX3ofCjnb+Xy7g5K3T2fjMMu9HGffs3paPUrfDG5NYS3rAEHxh5YbmI2SRxsvF+GC5XdPY7Xe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AYU7Yi+5LQAA]

Then am i correct in thinking a few AND statements in your flows are not correct?

Still so cool: I have got your whole flow needly connected to all my duplicated devices :slight_smile:

I’ll be a moment adding some stuff :wink:

@Edgar
EDIT, i cannot post a 4th message :slight_smile:

Indeed, and here we go (click three times in the TEF field to select all):

[TEF:FLOWS:H4sIAAAAAAACA9Va224bRxL9FYHIo9vp+4VvWSxgZF9j7AJrGEJfqmXCFEchR0ocr/8l35Iv29NDUhEpSmknjmw/yBLJcU33qVOnTjXn/azM5u9nUgsbqURGwQmmfdAsZW2ZdJKSKlp7Kdt1q9l89vLlD2c/LGO8ehsvaT17Nst4cxjf4O8Pz2bSlcBlQiRvNdPWK5YiJ8Zt0FW6JJKlu5F+ovXbk4EiOZEld6x455kWMrAki2WhRLIqhOhTvBvoIq4ujmOoGgPPJTOZiJjO2bDkqmPc8CpSKtokc7CYYVidXEyIFJXIAkswBoGkZckUzYRNQVUeawr2bqDxerE6jIEg1+2K7IWQvhKjWrEtGxzzxntWhbEUBXat3D7Sd+sFnf3r+dmLoWzym7h8O4W5aR8nEtFrBZhNzUw7A5hFjSzwGokrToB7H+bFMFws6ewXuhixphHvbMb1Amg1lKPjJhTBTBEKcYizGE1mXnjtfE41xrqP8/3b335NtPrt1wV+CuFFLHu0WtQ0DEuKqxbWI/kql8SsKJXpFIklKpJZb31NlULl5l7Y4Wobdrih9XIYru6HrdrJJKVivCjkk8eMsBYwyuxjdYmXpB9c7eYuZ48CWxdTErEyX2pBuOJZSDzhPlJUq0PUnH4PfIa4Z4vV2Rsaz36KmzfD2/sRZfQ2E/escIUEaVFYTFiv5zWoRLlUmx9caiuKKyx33JzAIAhVao5MkcJSSUsWOTKWPPehFm9F8g8G3hXJUUjhBYExkgUTEjipwaOAUkPyQ9FSJCni3ZC/LMbfs/VTPgFntjVYGaEfCiIgETVmpcDOVLWxtnpS99Z4MwwnMhN8rY4DvZCkYzomzhLnlalkcxa81WW+n5lCZ5vxuiyGE2sDS3SwxIz0HLoyFTUVyEz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8CinJ8dIR3BaVipRTGxAK/JLwGY4Ng5gM9ZiSwj8hJ6FCkMoMAWuHwJogm4l7wrQmSRaTtar1MU4+mptORna5/x1Iet817edk5H/2Txt8hZSENwzTOVhsJzCaOJRApsSUSbXEzEnnW5X0fIe2fkJK5mhDCbKdqbfD4oBVevg0xk2CZNqAmVQ/RsnHk9PJya5BZ89Je/Lo6Yk5+SKuLr5COgZX4JkKPvPUvoqCqw8UBay91SrBRZffgfa7duSesmvHELmrARIufZsYYapjEu27i+zASy6d9o/R8cG8dDKxa/Q4YmLwn1Ud9083fIV0VMDTidimSgsP2R4eSBJjSiQZfHUxFVWP6RjsE9IRRQHjJhxTitok3wZMIQ0meYchxnMXo31UHR9NTi8ne0a4vYfcT1Lis7bsl9eL1VfIRw/7WDl3IGBAuhWQTsVjwi9VS1VdO2e9NZB6j/RTtutiKqXEBSu+fa2RbWSRJ4fJAhOFJI4ZojxGyAcT08nFrqlqf+Ki909S3MWn0M0i07zr4dUtULeHGueb+O78YnqAJi+H6zKOm/Obu8853TtGbtBOxNjBOJ/3jK3z+ZSSiV3b+C/iYvXP9Gci7dK6I1jXAHAE39E4+Jnx65mx+vDri3SIX5db3eEn/Ek7vcev55HnvwG/noGgD7++SIf4ddmrHX5SnvR/O/y6nvT+G/DrcbB9+PVFOsSvyw8c4RdO6l/XU+5/A349lqsPv75Ih/h1ta8j/TtusDsAu57u3wK4GeN6fBS4Q0NzH7UeY9CHWl+ku6h9+PD6w/8BpW7WLvIxAAA=]

You will need to install the Advanced Triggers App.

I have added a sequential execution for all TTS devices:

When music is playing, it will be interupted, but speech will not interupt speech, it will wait and play it once the previous speech is done (and within the one minute timeout).

When you import this flow through the TFE–> import, make sure to select everything according to your own devices.
I have a copylist of your devices, so, those are my device you will see when importing. But names are all the same, so its an easy import for you!

Also, select your user.
All your variables will auto match, no need to do anything with them.

Let me know how it goes!

BTW: When you import the TEF, you create a new flow in the root of your flow-directories. Make sure you disable your own/current TTS Beheer flow.

Oops :slight_smile: thnx for noticing… now i do think that it is a problem for in the garden, the sonos. That one i do use for playing music… ah well… what does it matter then, it will be a nice sunny day when that is the case, so i can’t miss a thing as long as i have a beer in my hand :slight_smile:

1 Like

duplicated devices? What do you mean with that?

And this is very interesting, that app allready had but i dont understand a thing of it :slight_smile:

Maybe it will change by this flow… however, the TTS cards did not come through. So i have to add them manualy. But… everytime i want to select “Tekst 1” my browser crashes :frowning:

Edit: oops… it crashes on my ipad pro 2022… but it also crash on laptop with linux and brave browser :frowning:
Edit: hummm after multiple tries… it works… weird!!
But the TTS card now gives a network error, while it does work…

This is very interesting but i have no idea how this now works.
I have a similar flow for the containers… interested? :smiley: hahaha

Did you import the TEF?

Easiest thing is
Goto https://tools.developer.homey.app/tools/app-settings on your browser.
Then to Device Capabilities.
Then click on Import:

image

[TEF:FLOWS:H4sIAAAAAAACA9Va224bRxL9FYHIo9vp+4VvWSxgZF9j7AJrGEJfqmXCFEchR0ocr/8l35Iv29NDUhEpSmknjmw/yBLJcU33qVOnTjXn/azM5u9nUgsbqURGwQmmfdAsZW2ZdJKSKlp7Kdt1q9l89vLlD2c/LGO8ehsvaT17Nst4cxjf4O8Pz2bSlcBlQiRvNdPWK5YiJ8Zt0FW6JJKlu5F+ovXbk4EiOZEld6x455kWMrAki2WhRLIqhOhTvBvoIq4ujmOoGgPPJTOZiJjO2bDkqmPc8CpSKtokc7CYYVidXEyIFJXIAkswBoGkZckUzYRNQVUeawr2bqDxerE6jIEg1+2K7IWQvhKjWrEtGxzzxntWhbEUBXat3D7Sd+sFnf3r+dmLoWzym7h8O4W5aR8nEtFrBZhNzUw7A5hFjSzwGokrToB7H+bFMFws6ewXuhixphHvbMb1Amg1lKPjJhTBTBEKcYizGE1mXnjtfE41xrqP8/3b335NtPrt1wV+CuFFLHu0WtQ0DEuKqxbWI/kql8SsKJXpFIklKpJZb31NlULl5l7Y4Wobdrih9XIYru6HrdrJJKVivCjkk8eMsBYwyuxjdYmXpB9c7eYuZ48CWxdTErEyX2pBu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7WLvIxAAA=]

Paste the TEF and press Read Flows.

After that, you will get this list:


The left side shows my devices.
The right selectionboxes show with which of your devices to replace mine in the flow.
So, you need to select each of your own device, like in the image above.
And select the correct user.

After this, press Update text and run the script.
Now the flows should contain your TTS cards again.

I did just find a bug in the TFE.
Doesn’t matter for this flow, but it didn’t find all Advanced Trigger names.

I did all that…the flow is now complete, u were still typing while i was updating my previous post :stuck_out_tongue:

Ps: o wow, better logic is updated since 3 years :slight_smile: haha

I great! Hoped so, because it worked perfectly for me, importing your flow (after creating a few fake TTS devices).

Yeah! :birthday: :cake: :cupcake: :clock1:

Did you get a nice notification?

Ya hahaha, just yet

1 Like

I will activate this new flow to check how it works for me…
Is it possible to explain what actually happen in this flow? I installed advanced triggers earlier but did not understand a thing about it, even not after reading the topic about it.

image

Sure, well, the left card above will execute the right card and i will pass along the arguments (Google says and GoogleVolume).
Now, the right card has been put on mode: sequential, meaning, trigger all incoming executions, but serial to each other, or, in a line after each other: once one execution is done, the next one waiting in line will start.

image
And to do this right, i used the available Google Services TTS And/condition card: it has a wait-to-finish. This way the right part of the flow will be finished only when the speech is finished also.
So the next execution in line will execute after speech is done.
Also, i placed the tokens from the AdvancedTriggers-When-card in the TTS card, because the GoogleZegt tag could already have been overwriten when the TTS card is executed, while the Text1 and Number1 will contain the "old"value when the execution was requested (making it almost scoped variables).

Oke oke… sounds very nice… i wil study this well :slight_smile:

But, for now, it does not work… when i change “google zegt” it does not trigger…