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

<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 13, 2021, 1: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/163 "2021-04-13T13:50:25Z")

</div>

Hey Dirk,

The Non-Cloud and Cloud devices are deferent, but build in the same way.  
But if you want the new voices, always use Cloud TTS.

As for your questions, yes, the idea is to create a TTS (Cloud or Non-Cloud) for each output device, that way you can configure volume and other settings specificly for each device.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 13, 2021, 4: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/164 "2021-04-13T16:06:10Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> But if you want the new voices, always use Cloud TTS.

I use the Cloud TTS devices, it was a mistake.

> [@Arie\_J\_Godschalk](#):
>
> you can configure volume and other settings specificly for each device.

What I want/need is to adjust the volume of **one** speaker for different flows.

Example:  
– For the weather forecast announcement I need 15 %  
– For the announcement of the radio station name I need 20 %.  
– For the announcement in case of a burglary I need 75 %.

How can I realize this?

---

<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 14, 2021, 6:04am 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/165 "2021-04-14T06:04:38Z")

</div>

I just submitted version 1.8.2 to the store.

I have added an action and a condition card for TTS with volume, so you can set volumeGain per-flow.

---

<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 14, 2021, 7: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/166 "2021-04-14T07:16:31Z")

</div>

@DirkG  
1.8.2 is LIVE: volume adjustable through conditioncard/actioncard.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 14, 2021, 7:43am 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/167 "2021-04-14T07:43:38Z")

</div>

Works perfect, thx!

There is no option to choose the voice and language. But the test I did was with the right voice/language combination. But why?

---

<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 14, 2021, 8: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/168 "2021-04-14T08:06:14Z")

</div>

@DirkG  
Just submitted Version 1.8.3.  
I have added a condition and actioncard containing Volume AND Voice arguments.

(Default voice can be set through App Settings)

---

<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 14, 2021, 8:13am 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/169 "2021-04-14T08:13:03Z")

</div>

Indeed, i also have experimented A LOTT! during developement, but i also use this very much within my house, announcements are a real part of our house now-a-days.  
And i use WAVENET with SSML, still, i only use about 1% or 2% of the 1 milion char’s a month.

Using SSML increases the usage/count a lott, since the complete text is counted as characters.  
But with the experience in the last 6 months, i cannot imagine that anyone would reach the 1 million characters, and certainly not the 4 million non-wavenet voices.

---

<div class="post-metadata">

**Author:** ![Bart\_De\_Worm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_de_worm/32/9939_2.png) [@Bart\_De\_Worm](https://community.homey.app/u/Bart_De_Worm)\
**Post date:** [April 14, 2021, 12:46pm 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/170 "2021-04-14T12:46:42Z")

</div>

Hi! Thanks for developing this APP! It works very smoothly.  
Later I wil try some SSML 😃

---

<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 15, 2021, 8:28am 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/171 "2021-04-15T08:28:11Z")

</div>

@DirkG Version 1.8.3 is live

---

<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 15, 2021, 5:13pm 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/172 "2021-04-15T17:13:53Z")

</div>

Update: Added a YouTube device to search YouTube.  
In process of submission.

---

<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 15, 2021, 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/173 "2021-04-15T18:02:18Z")

</div>

Its in Test right now: Search YouTube.

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [April 15, 2021, 8:45pm 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/174 "2021-04-15T20:45:41Z")

</div>

What does it do?

---

<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 15, 2021, 9:04pm 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/175 "2021-04-15T21:04:53Z")

</div>

You can search YouTube and it will trigger the Device trigger with the YouTube id and url of the first result.  
But I will add functionality for playing lists and create an API so other apps and HomeyScript can consume it/search YouTube.

So, it will replace the functions of the current YouTube app that doesn’t work anymore because of the Google restriction. The (free) api from YouTube is very limiting, that’s why the app stopped working.

But since my Google Service App allows people to use there own google account/keys, it will keep well within the YouTube limits, because you only use it yourself.

Personally, I use it a lot through speech. when I say for instance: YouTube fireplace, it will turn on the TV with a (random) fireplace YouTube clip.  
I can say anything much faster then typing it with my remote.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 22, 2021, 12: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/176 "2021-04-22T12:58:32Z")

</div>

> [@DirkG](#):
>
> Works perfect, thx!

Regarding the possibility to adjust the volume unfortunately I have to relativize my statement a bit.

The problem I notice is this:  
In order to be able to adjust the volume level up and down, the volume level of the trigger flow must be set relatively high.  
My flow for this looks like that:  
When…  
– URL triggered  
Then…  
– Play URL at volume 50%

If I want to play an announcement at about 15% volume (original Sonos speaker/app setting), I need to set the volume on the Google TTS “Start saying at volume” card to about -6.  
But the problem I notice is, that the speech starts silent and then fades to the desired volume.

Has anyone noticed this as well?

---

<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 22, 2021, 1: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/177 "2021-04-22T13:10:12Z")

</div>

Try to add a pre-pause in the device settings. It will add a pause and that will give Sonos speakers time to adjust the volume

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 22, 2021, 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/178 "2021-04-22T14:14:16Z")

</div>

I add a pause of 50 ms, but didn’t work expected.  
The volume of one flow wasn’t adjustable at all. And the announcement starts silent and than went louder. The same behavior as before.  
So I rebuild the URL trigger flow, but without success.  
Than I changed the mean volume from 50 to 30% and now it seems to work perfect again. Don’t know why… 🤷🏼‍♂️

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 12, 2021, 8: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/179 "2021-05-12T20:00:03Z")

</div>

@Arie_J_Godschalk Hi Arie. I’m eager to get this working as the _old_ Google TTS voice really sounds like a moron. Now I think I did everything right…but still don’t get it working.  
I got until copy pasting the JSON (using notepad is that ok?) into the app settings via the developer page.  
For some reason I don’t get to select a default voice, the drop down stays empty.

Then of course when trying to run a flow according to your example it fails and asks whether I have setup the JSON and default voice.  
Any tips on where to search what I did wrong?

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 13, 2021, 7: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/180 "2021-05-13T07:50:06Z")

</div>

Hmm. Apparently i had not enabled the TTS API, now I did and i can choose a default voice in google services via Homey developer.  
But i still get the error message when trying to execute the flows. It still questions whether i have setup JSON and choose a voice

---

<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:** [May 13, 2021, 8: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/181 "2021-05-13T08:05:11Z")

</div>

Did you enable/setup billing?

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 13, 2021, 8:09am 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/182 "2021-05-13T08:09:23Z")

</div>

Yep, i did.

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

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