# \[APP\]\[Pro\] Google Services - App for Translate and new Text-to-Speech for any device with url input

**URL:** <https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [February 25, 2021, 10:50am UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257 "2021-02-25T10:50:00Z")\
**Posts on this page:** 20\
**Page:** 18

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 7, 2022, 6:12pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/343 "2022-11-07T18:12:17Z")

</div>

OK, I made the flow send a notification with the local variables [Text] and [URL]

![Screenshot from 2022-11-07 19-13-20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e020bfbcc2d5927584e6661bdd65530b1b94b580.png)

This is returned:

> ![Screenshot from 2022-11-07 19-09-47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/b/3ba07cab80b9d92c41ebb9b3f3a8470f57ca25b2.png)

As you can see in the flow (shown in my previous post), I use the [text] var in the ‘Cast audio URL’ card and it works.

Why don’t you just try my flow for yourself, instead of theoretical thinking how it should work?

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [November 7, 2022, 6:57pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/344 "2022-11-07T18:57:55Z")

</div>

Imported the TEF, but it doesn’t do anything on my Mini…

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 7, 2022, 11:50pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/345 "2022-11-07T23:50:58Z")

</div>

Is there any way you can download th4e file from the url, save it to LAN and send the url (as correct .mp3 url) to the Mini to test if it works than?  
I need to know what is wrong, because it’s nothing about the Google Service App perse, and im willing to build in another webserver to host the file, but only if i know that’s the solution.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 7, 2022, 11:59pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/346 "2022-11-07T23:59:08Z")

</div>

That’s really odd. I did nothing special. Just added the TTS device, created the flow, entered ‘Diner is ready’ manually.

@Arie_J_Godschalk I changed the text in the flowcard “Start saying”, and the “URL triggered” card produced the following URL, it works when played in Firefox:  
[https://translate.google.com/translate\_tts?ie=UTF-8&q=Good%20evening%2C%20Arie&tl=nl-NL&total=1&idx=0&textlen=18&client=tw-ob&prev=input&ttsspeed=1](https://translate.google.com/translate_tts?ie=UTF-8&q=Good%20evening%2C%20Arie&tl=nl-NL&total=1&idx=0&textlen=18&client=tw-ob&prev=input&ttsspeed=1)

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [November 9, 2022, 2:14pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/347 "2022-11-09T14:14:13Z")

</div>

Not sure what is going on, but now the url works for me as well! 🤔

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/7/279de9ff151b7af822e2dddc304166bf99bc7362.png)

I can just use the TTS device or cast the url directly now:  
[https://translate.google.com/translate\_tts?ie=UTF-8&q=testing%20testing%201-2-3&tl=en-GB&total=1&idx=0&textlen=21&client=tw-ob&prev=input&ttsspeed=1](https://translate.google.com/translate_tts?ie=UTF-8&q=testing%20testing%201-2-3&tl=en-GB&total=1&idx=0&textlen=21&client=tw-ob&prev=input&ttsspeed=1)

Using the text tag does not work though, but that’s expected IMO.

Just missing an option to set the language/speed/volume/speed etc.

None of the related apps were updated, which is weird.  
Maybe just a temporary Google or network issue…

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 9, 2022, 2:15pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/348 "2022-11-09T14:15:54Z")

</div>

But you are better off creating one trigger flow with the triggered card.  
Then you only need one flowcard for speech instead of those two.

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [November 9, 2022, 2:22pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/349 "2022-11-09T14:22:51Z")

</div>

Thanks! But I think for now I’ll just keep using the Google TTS app, since I just need it for very basic TTS in some specific scenario’s/text… 🙂

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 9, 2022, 3:02pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/350 "2022-11-09T15:02:06Z")

</div>

> [@JeeHaa](#):
>
> Using the text tag does not work though, but that’s expected IMO.

Thanks! I didn’t know yet it worked with just those 2 cards 😛.  
For me it works fine with the text tag

> ![Screenshot from 2022-11-09 15-59-50](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/1/51a86d1a7f67c1c2702b2d3397e235aeeb219782.png)

When I use the URL tag, it speaks the text twice 🤨

> [@Arie\_J\_Godschalk](#):
>
> creating one trigger flow with the triggered card.  
> Then you only need one flowcard for speech instead of those two

Can you share a flow screenshot, please, I don’t follow you here?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 9, 2022, 7:12pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/351 "2022-11-09T19:12:40Z")

</div>

> [@Peter\_Kawa](#):
>
> When I use the URL tag, it speaks the text twice 🤨

Well Peter, i think because the sending the Text **will not work** , how could it?  
So, appareantly, you still have a flow somewhere with a Url Triggered card that cast to your chromecast.

That is, in my eyes, the only explaination for what you are writing.

> [@Peter\_Kawa](#):
>
> Can you share a flow screenshot, please, I don’t follow you here?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/09bc1e6017e2bfce616ef3b80f6e8b05de13fca6.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 9, 2022, 9:16pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/352 "2022-11-09T21:16:06Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> you still have a flow somewhere with a Url Triggered card that cast to your chromecast.

Ah 😵‍💫, good point: That will be my first GS standard test flow . Did not realize it ‘listens’ to all url’s getting triggered.  
Now I get why it spoke twice when I selected the URL tag instead of the Text tag.  
So after disabling it, it works only with the URL tag.  
Way to confusing to me.  
I just now realize I can, and have to, add a TTS device for every Chromecast device I use. B/c I saw your TTS device is in zone Woonkamer and is called TV Bar TTS.

So I think I now know how this app works 🙃 😜

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 9, 2022, 9:29pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/353 "2022-11-09T21:29:29Z")

</div>

Indeed, as is writen in my PA announcement topic: best is to create one tts device per speaker, and configure it for the best sound for that speaker.  
Then set one url-triggered for each tts.

Ofc, if you use sonos like me, you might want one tts per zone and work with grouping etc.

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [November 10, 2022, 10:37am UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/354 "2022-11-10T10:37:28Z")

</div>

That does work via the chromecast app, it does send Testing Testing to my Nest Mini and speech happens

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 10, 2022, 10:38am UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/355 "2022-11-10T10:38:48Z")

</div>

And ty the same url but remove the `.mp3` from the end which i added?

Does it **not** work again?

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [November 10, 2022, 11:00am UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/356 "2022-11-10T11:00:57Z")

</div>

If I use

[https://translate.google.com/translate\_tts?ie=UTF-8&q=Testing](https://translate.google.com/translate_tts?ie=UTF-8&q=Testing) testing.&tl=en-GB&total=1&idx=0&textlen=16&client=tw-ob&prev=input&ttsspeed=1&

It still works

![Screenshot_20221110_110127](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc55593fb76e6ecb443233599f34d7c58ff5759e.png)

This works as well

 ![Screenshot_20221110_104849](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6ae78003ef0f1abda5595a76133b1d0e256434d.png)  
So I can have the text created using a non cloud device and then sent to my nest mini speaker via the Cloud TTS device and can change the voice, pitch and speed

Sorry there was meant to be an extra then box at the end with the chromecast, used wrong screenshot

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 10, 2022, 7:18pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/357 "2022-11-10T19:18:54Z")

</div>

# New in [Google Services test](https://homey.app/a/nl.qluster-it.GoogleServices/test/).

BLL coding support:

### Example 1

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2bb2187b9603ef565beb52136f6b2339447d0415.png)

This will result in a Afrikaans voice saying (in Afrikaans): “Hello there, today it is thursday 10 november 2022.”  
The date is automaticly build upon the selected voice-language.

### Example 2

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/17e4682a52846d7f303cac3bdb41de1be093f01a.png)

This will result in a Dutch voice saying (in Dutch): “Hello there, today it is thursday 10 november 2022.”

### Example 3

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/152997838a13d319cd7c831ddc53dcba4e1ee5d3.png)

This will result in a Dutch voice saying (in Dutch): “Hallo daar, vandaag is het donderdag 10 november 2022 om 20:17:01 Midden-Europese standaardtijd.”  
Translation: “Hi there, today is Thursday, November 10, 2022 at 20:17:01 Central European Standard Time.”

### Other coding

Or you can use other datecodings, see the BLL Users Topic for more information on coding.

> [@\[APP\]\[Pro\] Better Logic Library - For Users](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/3):
>
> BLL Coding BLL codings are expressions within text-arguments in flowcards. In every App that supports BLL coding, for each text-argument in flowcards that goes through the BLL decoder, you can use {[expression]} . Within these expressions, you can use build-in modules, functions and your own customisable functions. Modules \_ Lodash 4.17.21 math Math.js 11.3.3 Example The last one is: {[\_.last(["1", "2"]) ]}. Result: The last one is: 2. Build-in functions date(format, date?, loca…

---

<div class="post-metadata">

**Author:** ![Pieter\_Pessers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieter_pessers/32/8848_2.png) [@Pieter\_Pessers](https://community.homey.app/u/Pieter_Pessers)\
**Post date:** [November 15, 2022, 4:41pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/358 "2022-11-15T16:41:26Z")

</div>

Hello.

I used the app “google sevice” a long time. It works great. But i now installed the v1.9.24 and now i get the message “starting google service error: [object object]”.

Do you know what it is?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 15, 2022, 6:11pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/359 "2022-11-15T18:11:29Z")

</div>

Hey @Pieter_Pessers,

It might be the inclusion of the Better Logic Library app (which is optional, not required).

Send me a diagnostic please?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 15, 2022, 7:07pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/360 "2022-11-15T19:07:05Z")

</div>

> [@Pieter\_Pessers](#):
>
> Hello.
> 
> I used the app “google sevice” a long time. It works great. But i now installed the v1.9.24 and now i get the message “starting google service error: [object object]”.
> 
> Do you know what it is?

Okay, my bad, there was a bug when BLL is not installed. This is resolved in the current/new live version.  
Update to 1.9.25 and it should works as always.

Ofcourse, install the BLL app, and you will get some nice features in the google service app. 😉

---

<div class="post-metadata">

**Author:** ![Pieter\_Pessers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieter_pessers/32/8848_2.png) [@Pieter\_Pessers](https://community.homey.app/u/Pieter_Pessers)\
**Post date:** [November 15, 2022, 8:36pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/361 "2022-11-15T20:36:49Z")

</div>

Thank you, Arie. Installed v1.9.25 and got the same problem. Also “starting google service app error: [object object]”. Where can i find the BLL library"

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [November 15, 2022, 9:10pm UTC](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257/362 "2022-11-15T21:10:38Z")

</div>

> [@Pieter\_Pessers](#):
>
> Where can i find the BLL library

It’s the [Better Logic Library App](https://homey.app/a/net.i-dev.betterlogic/).  
And i ofcourse would love it if you installed BLL, but i would also very much like it if you could install 1.9.26 first, and tell me what the error message is now (it should not be object object anymore).  
It’s live now.

[Previous page](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257.md?page=17)

[Next page](https://community.homey.app/t/app-pro-google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257.md?page=19)
