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

<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 5, 2022, 11:42am 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/323 "2022-11-05T11:42:57Z")

</div>

Did you setup a voice in app settings?

---

<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 5, 2022, 5:03pm 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/324 "2022-11-05T17:03:13Z")

</div>

Yes, the very catchy one, af-ZA-Standard-A (FEMALE)

The copied JSON file is massive, the private key is many lines long.

I don’t have a Google Cloud Project (for translate) name entered as I’m not translating anything, also don’t have google API for Youtube as I’m not doing that yet

Dont know if this is helps but 04849596-977b-4171-b8e4-be9183d6112c

---

<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 5, 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/325 "2022-11-05T19:07:48Z")

</div>

> [@Philip\_Montgomery](#):
>
> Yes, the very catchy one, af-ZA-Standard-A (FEMALE)

Hey, where are you from?

---

<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 5, 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/326 "2022-11-05T19:18:24Z")

</div>

> [@Philip\_Montgomery](#):
>
> I don’t have a Google Cloud Project (for translate) name entered as I’m not translating anything, also don’t have google API for Youtube as I’m not doing that yet

Since you can select a voice from the list, everything should already be alright.  
You only get a list of voices after the JSON file is correctly entered and you project is valid.  
Actually, as soon as the list or voices is shown, it should just work.

Straigns thing is, in the diagnostic, it showed that your voice is undefined when the Url is requested.

So either its not correctly saved (open settings, if the voice is shown, it’s saved).  
Or your flowcard has a non-empty-but-empty voice added to it?

Show me your flow?  
Because the error seems to be between the flowcard and what it sends to Homey.

---

<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 5, 2022, 8: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/327 "2022-11-05T20:41:56Z")

</div>

I’m from the UK

---

<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 5, 2022, 8:44pm 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/328 "2022-11-05T20:44:55Z")

</div>

```auto
[tef:FLOWS:"H4sIAAAAAAACA7WTTYvbMBCG/0rQOSq2rE/fSim99AO2ewshjKVR1mwSBVtZsoT97x053nYLpQRKfZE1Hr8zz6vRhQXWXljtNBrnLJcKI5daOe5sMDxI0TkTvfHelLwDa9mnlLY7XHzYpVNY3N9/XwR86j2yJfP0NeUHHNjLkglnPGiIXISKdENjuOu846IRqo5COw36VfJz/9Qftou7lPaLrzjmWWs8IjwWNZID1q4urKcoovdCkWYHleFS+MCdd/TmVOMqDBBFRwJvWi1Nfjwfcej3eCjiyNo8nHCqcmFCaaibIHhUquHSOsc7XVteNQbJGGWaSpS8M2tFtWTPtJQ1UYGHtMfn9mpAe5OJy4nBF/NOw26Th367JcQlyxT+tRsJl+naxwqi442FjkuDyKFBzUVntI8KJELH1pM3l+LRTflXEGn/RnLT2c0kMOb3p9CnGQF87tOBXZtihEix1WoGa9tbvG5b+m29no69U421hUZYTZ6qRnIHaDkqaWwIOljtZyR9JVKFqHQyZhjyq5V11GCN1dyooElHAtVVHY+AUZbJkR2wdRlbhS5GMLypa0keCsvpWCsuQWpbaeOiey0o5mmQ1b9OQzqEvti22U4DO01HzuOGLgCGzbHP/mG292cq7RMFVvPxs4zn8v1LGh4XHna7cp++DSOWxOkeUeAOMk1+/a6ql+wq2lbF5JvM+Z1Zif/E/AfOt3z7t3xp4nuhZ/3yA6GvXnjJBAAA":/tef]

```

---

<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 5, 2022, 8:58pm 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/329 "2022-11-05T20:58:43Z")

</div>

Okay, next time, place it in a preformated-text-block, so the quotes and other chars remain programing code 😉  
But thanks

---

<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 5, 2022, 9:01pm 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/330 "2022-11-05T21:01:11Z")

</div>

> [@Philip\_Montgomery](#):
>
> ```auto
> [tef:FLOWS:"H4sIAAAAAAACA7WTTYvbMBCG/0rQOSq2rE/fSim99AO2ewshjKVR1mwSBVtZsoT97x053nYLpQRKfZE1Hr8zz6vRhQXWXljtNBrnLJcKI5daOe5sMDxI0TkTvfHelLwDa9mnlLY7XHzYpVNY3N9/XwR86j2yJfP0NeUHHNjLkglnPGiIXISKdENjuOu846IRqo5COw36VfJz/9Qftou7lPaLrzjmWWs8IjwWNZID1q4urKcoovdCkWYHleFS+MCdd/TmVOMqDBBFRwJvWi1Nfjwfcej3eCjiyNo8nHCqcmFCaaibIHhUquHSOsc7XVteNQbJGGWaSpS8M2tFtWTPtJQ1UYGHtMfn9mpAe5OJy4nBF/NOw26Th367JcQlyxT+tRsJl+naxwqi442FjkuDyKFBzUVntI8KJELH1pM3l+LRTflXEGn/RnLT2c0kMOb3p9CnGQF87tOBXZtihEix1WoGa9tbvG5b+m29no69U421hUZYTZ6qRnIHaDkqaWwIOljtZyR9JVKFqHQyZhjyq5V11GCN1dyooElHAtVVHY+AUZbJkR2wdRlbhS5GMLypa0keCsvpWCsuQWpbaeOiey0o5mmQ1b9OQzqEvti22U4DO01HzuOGLgCGzbHP/mG292cq7RMFVvPxs4zn8v1LGh4XHna7cp++DSOWxOkeUeAOMk1+/a6ql+wq2lbF5JvM+Z1Zif/E/AfOt3z7t3xp4nuhZ/3yA6GvXnjJBAAA":/tef]
> 
> ```

Yeah, i really love this!

You have the wrong flowcard, you are just retrieving an Url, not starting speech.

Here you go, try this.

```auto
[tef:FLOWS:"H4sIAAAAAAACA62ST4vbMBDFv0rQOVOs/5JvPZSeSqG7txDCWBplzWbjxVbKLiHfveMk29JS2kDri/DT6I1+T3MUWbRHoSmEEI0B65QCk3QEdKqA8yVLk3xWEue6vWjF/f3d4m7YD9NCiqVIrAz1gUZxOi0FF62OomfNGWtdpxrQPgcwXecBdW4gRpRESqdUAh+fDT8Ow3ZHi9n3w8szjf0T7aviTRJtHQ90bnIUyjqUOiso1mowIUbonAzQaE8yOut1o+a6F9GqZileeZnXgTs8DE/02mb62idqb2JdniHSbjjkw7jb1LHfbplxKSrLP/4m5hVOptJgiaADdmA8EaOSA9V5l4pFQ9iJ9Tmc4xzSTfUXEBP+RKKiT+iwgMoNZ5y1h9ilCEorK4ty0aF7I8Gpvj/kfrgiYKr9sBeXSwlGZG21uoK17S1Zty0fW6/P795ZzaEyjQqugLHaQEQKQNb4kLPLwaUrkrsQ2ZlovslUcaxvUcriMPjgwNvs2Mcg97UdFKRiTGTfDsWaGypLsRT0oKU0nKEKEB01YNC40DgfS3xrqK7TYJp/nYZhn/s5ts32PLHn6ah12kzPRHnz3Nf0cI33eyn/Dyysrs8vKr3M+5+G8XGRcLfr99vF53GiuZBt8JGFL1h58uW7Ri7FxbRt5pBvCudnZqv+G/OEr79w/4b1L4wn/tanbxugwtx0BAAA":/tef]

```

---

<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 6, 2022, 9:40pm 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/331 "2022-11-06T21:40:22Z")

</div>

Sorry Arie, just getting to try this now and, while the flow is created, I am getting the exact same error with the new card as with the old. Whe importing the flow I did tell Device Capabilities app to replace TTS Sonos 1 (I don’t have any Sonos) with Google Cloud TTS device

---

<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, 8:16am 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/332 "2022-11-07T08:16:48Z")

</div>

Quick question: I am trying to use basic TTS on a Google Mini, without having to setup a Google Cloud account.

Is this how it is supposed to work?

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

Unfortunately that doesn’t here (no response on mini), although a TTS card using the “Google TTS” app does work fine (but the app seems to be abandoned). The generated url looks valid.

This does not work either here:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/74556d47eec7e61019d71610a9cb717e959a357a.png)

---

<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, 8: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/333 "2022-11-07T08:57:14Z")

</div>

Try the URL on your PC or phone (LAN)?  
Does it 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, 9:05am 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/334 "2022-11-07T09:05:33Z")

</div>

Yes, on my PC it works fine from Chrome.  
Does that mean that it’s a Chromecast App issue then? Not sure if the TTS App that still works uses a different method?

---

<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, 9:05am 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/335 "2022-11-07T09:05:56Z")

</div>

Might be yeah, can you share the lasts part of the url?

---

<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, 9:06am 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/336 "2022-11-07T09:06:57Z")

</div>

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

---

<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, 9:17am 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/337 "2022-11-07T09:17:25Z")

</div>

Yeah, i think thats not gonna work with Chromecast, it needs an correct extention (mp3 in this case).  
I might have to build somthing in for that.

---

<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, 4: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/338 "2022-11-07T16:07:51Z")

</div>

If you send that URL to chromecast yourself, does it work?

and, try this URL for a moment please?  
[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&.mp3](https://translate.google.com/translate_tts?ie=UTF-8&q=Testing%20testing.&tl=en-GB&total=1&idx=0&textlen=16&client=tw-ob&prev=input&ttsspeed=1&.mp3)

---

<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, 5: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/339 "2022-11-07T17:55:57Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> [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&.mp3

No, that one does not work.  
I think I have a Nest Mini btw, may be different from other minis around…

---

<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, 5: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/340 "2022-11-07T17:57:39Z")

</div>

Do you know what might be wrong, @Peter_Kawa ?

---

<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: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/341 "2022-11-07T18:02:09Z")

</div>

This makes my mini talk; just enter what you’d like to hear by speech:

 ![Screenshot 2022-11-07 at 17-10-49 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19ec787f1447c764a9db3791998e0ff850c6e360.png)

It really speaks the words “Diner is ready”

TEF :

```auto
[tef:FLOWS:"H4sIAAAAAAACA6WTTWvcMBCG/4rROQP6si3pVmhpofSU3MKyjKWRY7q7DrbTJiz73zv+oCUhhw09WdaMXz2v3vFZJBHOwuaUkkUFpCoJNmEFLqoEnnSsvNOG6mbuO4kgvvZ9e6DiloZfXaSxuLu7LRLNa3EjIjf00wMN4nIjTMrRNa4BXXoC60wEp6IFZVB6rmlF1V/Vb/2Rih/dqSug+I5HVljVxkfCn7MeC6II92fR8W6JtaRUEjRWlmB1rAGV80C+8lqaqipVZIF3eb/c3nGJRJiGJ1oOOYtYRf5eWtDYMGqmBlxZR6ixNsopcqaiue9ZBHkjXkRQlp89yz8w90s44glbGkI+9L9ZfEZ8HPp2wOMRpy7up6Frub4feXFq9xO23DVx11bgt5HNCYrS+lw2kHVy7Et5QG0zWKNidFXOWmax46u4qnEFLvWGrF8hr5mFq6JfHY0TDtO+Xe5zmsY95s0ExqnrT5uH3ZLTWUz0PNc+dycaim4sBsL0ssRoPEaZawON9BxepAheOoQSS++t1yZV6g27se+xXzVgK3vEcfr0lLr+LfLC+jQceO/+fksjBMU8TnkJDINg0dTga5khyQYpWZt19iHMFne7xdM1H7waIPO/aTDz/t/0vDNLV13zltZswVd108RMUBsyYEllHqky849QcXRallTLzYJbPcj13GUuPjjBl8vu8gdJ910mfQQAAA==":/tef]

```

---

<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:06pm 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/342 "2022-11-07T18:06:56Z")

</div>

Mmmm… not sure how that could work. The text tag you use for casting contains the initial text string “Dinner is ready” as far as I can tell?

Maybe the original repo holds a clue how the Google TTS app does this:

> **[com.google.tts/node\_modules at master · denniedegroot/com.google.tts](https://github.com/denniedegroot/com.google.tts/tree/master/node_modules)**
>
> master/node\_modules

Maybe it generates an mp3 and streams that locally?

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

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