# \[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:** 23

<div class="post-metadata">

**Author:** ![Nadine\_Kole](https://avatars.discourse-cdn.com/v4/letter/n/439d5e/32.png) [@Nadine\_Kole](https://community.homey.app/u/Nadine_Kole)\
**Post date:** [September 28, 2023, 1:00pm 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/444 "2023-09-28T13:00:18Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> quired for using Text-to-

Great it now works, thank you!

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [November 16, 2023, 3:30pm 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/445 "2023-11-16T15:30:56Z")

</div>

@Arie_J_Godschalk  
TTS  
I have an issue with the last letters of each sound file being cut.  
For instance: “Good night” is pronounced “Good nigh”.  
«The alarm system is noe activated» is pronounced “The alarms system is now activat”.

---

<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 17, 2023, 1:51pm 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/446 "2023-11-17T13:51:14Z")

</div>

Hey @Jahn_K , please create a ticket and ill look into it.

---

<div class="post-metadata">

**Author:** ![Philippe\_Mucher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philippe_mucher/32/73654_2.png) [@Philippe\_Mucher](https://community.homey.app/u/Philippe_Mucher)\
**Post date:** [January 5, 2024, 11:27am 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/447 "2024-01-05T11:27:12Z")

</div>

Dear Arie,

I got TTS local to work, which is nice.  
After browsing through this thread and looking through google cloud services, it is starting to dawn on me what you need to do if you want to use google TTS cloud to get better sounding voices. I have never known or used Google cloud resources or API’s so I will recap some of my understanding and I hope you can look at it and tell me if I am getting this straight.

- I need a project. To get a project I need an organization. The get an organization I need a cloud identity and a workspace account. Workspace accounts are billed separately.
- I need to set up billing for the project. I can get 300$ free, but I have no idea how much my TSS cloud activity will cost after that.

I am pretty ok with dealing with a cloud API, but this whole development organizational stuff is faaaar beyond me, and I don’t think I can learn all this infrastructure just for the benefit of using google cloud TTS.

Am I getting this straight, and can you suggest an easier way to get to better voices for use in Homey?

Thanks in advance for anything you can share with me!

-edit 1: I found out I don’t need an organization and that within certain limits the service will be free even beyond the trail - correct, right?  
-edit 2: I actually got it to work. Amazing! Thank you for all the documentation, could not have done it without it!

---

<div class="post-metadata">

**Author:** ![Philippe\_Mucher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philippe_mucher/32/73654_2.png) [@Philippe\_Mucher](https://community.homey.app/u/Philippe_Mucher)\
**Post date:** [January 5, 2024, 1:55pm 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/448 "2024-01-05T13:55:09Z")

</div>

Dear Arie, @Arie_J_Godschalk

now I got it all to work, and I am very happy. But I am now running into the first issue I cannot resolve.  
Playing a google cloud TTS URL with the Chromecast app to a Nest Audio doesn’t have any issues. But when I cast a TTS URL to my Sonos Arc with the play URL card from the Sonos app, the text keeps repeating, even if I insert a repeat off card. Heres an image of the flow.

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

Would you have any idea what I am doing wrong?

---

<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:** [January 5, 2024, 2:17pm 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/449 "2024-01-05T14:17:23Z")

</div>

> [@Philippe\_Mucher](#):
>
> Would you have any idea what I am doing wrong?

It doesnt look like you do something wrong actually.  
But tey the Play URL with volume once?

---

<div class="post-metadata">

**Author:** ![Philippe\_Mucher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philippe_mucher/32/73654_2.png) [@Philippe\_Mucher](https://community.homey.app/u/Philippe_Mucher)\
**Post date:** [January 5, 2024, 2:25pm 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/450 "2024-01-05T14:25:59Z")

</div>

@Arie_J_Godschalk  
Like this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8bdd7c8116ef070639b31ae612b1e2269133d58f.png)  
I can’t see any options for number of times to play or using the duration in the Sonos cards.

It’s still repeating with this flow.

---

<div class="post-metadata">

**Author:** ![Philippe\_Mucher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philippe_mucher/32/73654_2.png) [@Philippe\_Mucher](https://community.homey.app/u/Philippe_Mucher)\
**Post date:** [January 7, 2024, 8: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/451 "2024-01-07T20:12:15Z")

</div>

Hi Arie, @Arie_J_Godschalk

When asking in the Sonos forum, it was suggested it is the URL trigger that keeps triggering somehow. When I use the cast cards with a fixed URL, they do not repeat. Like so:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/4/94bf833eaa1d86e6b974499ce8df07befe3ec511.png)

So it has to be something is the google services flow in my previous reply that causes the repeat or that possibly makes it trigger repeatedly.

Is this what is happening, you think, and, if so, is this behavior as intended and how can I prevent it? Maybe I should use a disabled trigger flow that I enable in the TTS say card in the end and that triggers the casting flow and disables itself again? Or maybe I should use the finished trigger card (the function of which I do not really understand). I just cannot figure out what I am missing.

I hope you can help me out, with my thanks in advance.

---

<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:** [January 7, 2024, 11: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/452 "2024-01-07T23:15:44Z")

</div>

> [@Philippe\_Mucher](#):
>
> Or maybe I should use the finished trigger card (the function of which I do not really understand).

No, that’s just if you want to run things after the speech is done.  
Please use a log loke Simple (sys) logging to see if the Triggered really Triggered multiple times.  
It should not.

---

<div class="post-metadata">

**Author:** ![Philippe\_Mucher](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philippe_mucher/32/73654_2.png) [@Philippe\_Mucher](https://community.homey.app/u/Philippe_Mucher)\
**Post date:** [January 8, 2024, 11:02am 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/453 "2024-01-08T11:02:26Z")

</div>

Hi again @Arie_J_Godschalk,

Thank you for that suggestion.  
Logging shows only one trigger. It’s not that. I’ll check back with JP in the Sonos topic.

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [April 8, 2024, 7:52am 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/454 "2024-04-08T07:52:06Z")

</div>

Just came across this topic and have a question. I have a Google mini speaker and I was wondering if I can do the following with this app, and if so, how to do it.

Before I go out, I receive a voice message inside the house that my door(s) are still open, or windows and which ones. Is that possible?

---

<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:** [April 9, 2024, 5:57am 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/455 "2024-04-09T05:57:28Z")

</div>

> [@EdNL](#):
>
> if I can do the following with this app, and if so, how to do it.

Yes you can.  
Please follow the instructions in the first post of this topic.

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [June 7, 2024, 2:43pm 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/456 "2024-06-07T14:43:35Z")

</div>

It seems the doesn’t work today @Arie_J_Godschalk …  
Diagnostic report: a3e90eb0-0a8d-4569-95fd-3b420dc4d92a

The audio output seems to be empty.

 ![IMG_0706](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/6/365ef091be7756169e8db5f8ce4e7a0bcf16cf8b.jpeg)

Every other time when testing a flow, this happens:

 ![IMG_0705](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/9/b94156247c26ae82a049fb8facdbb2ff244b797b.jpeg)

---

<div class="post-metadata">

**Author:** ![Hielke\_de\_Jong](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hielke_de_jong/32/79029_2.png) [@Hielke\_de\_Jong](https://community.homey.app/u/Hielke_de_Jong)\
**Post date:** [June 7, 2024, 3:19pm 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/457 "2024-06-07T15:19:39Z")

</div>

Did you set the configuration in the app, like:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b636e162c0dbe359e25906c78039896dcd241ea2.png)

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [June 7, 2024, 3:31pm 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/458 "2024-06-07T15:31:20Z")

</div>

Yes.  
After some more research, it seems like it fails when I add an MP3 to the action card.  
Has worked for several years…  
When use plain text it works, but when I use:

 ![IMG_0708](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c78eaf3ef94165ba38423e185584ef90415c0347.jpeg)

it fails…

 ![IMG_0709](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a5721a90f734a47d635020bb4c50fa73afd7bfd1.jpeg)

---

<div class="post-metadata">

**Author:** ![Hielke\_de\_Jong](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hielke_de_jong/32/79029_2.png) [@Hielke\_de\_Jong](https://community.homey.app/u/Hielke_de_Jong)\
**Post date:** [June 7, 2024, 3: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/459 "2024-06-07T15:50:36Z")

</div>

Cannot use the card from Google Chromecast for this? the card you are showing is as far as I know for speaking text and not playing mp3.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f48b6579bd9ac3f9f136222b52213ec11ac8437f.png)

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [June 7, 2024, 3:56pm 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/460 "2024-06-07T15:56:38Z")

</div>

No, I need to play both an audio file and text.  
Has worked for nearly two years…

This is still possible @Arie_J_Godschalk ?

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [June 8, 2024, 8:12am 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/461 "2024-06-08T08:12:43Z")

</div>

Anyone else having problems after yesterday?

---

<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:** [June 8, 2024, 10:47am 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/462 "2024-06-08T10:47:24Z")

</div>

> [@Jahn\_K](#):
>
> This is still possible @Arie_J_Godschalk ?

Actually, i have never used an audio source element within GS tts.  
I havent changed anything in the app.  
And my app is still working normally.

But if i understand it correctly, “normal” speech still works for you?  
(If so, its not a configuration fault or expired creditcard i guess)

---

<div class="post-metadata">

**Author:** ![Jahn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jahn_k/32/1150_2.png) [@Jahn\_K](https://community.homey.app/u/Jahn_K)\
**Post date:** [June 8, 2024, 1:08pm 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/463 "2024-06-08T13:08:20Z")

</div>

«Normal» speech still works.  
Maybe Google has made a change in their API?

[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=22)

[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=24)
