We have moved at community.getvera.com

Author Topic: [FIXED] Google TTS engine is no more working  (Read 40620 times)

Offline upinatem

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: [FIXED] Google TTS engine is no more working
« Reply #105 on: March 05, 2016, 02:03:33 pm »
Did all that...I assume Client ID is the Customer ID and Account Key is the Microsoft Client Secret.

Reloaded and rebooted, and it's quiet.

I got stuck on this too. It's not the same. I found in the instructions on how you have to set this up.
From the Microsoft Azure page you need to click on Developers on the left (https://datamarket.azure.com/developer/applications)

From there you can create the Client ID. The account Key will be filled in. You can just put in https://microsoft.com for the redirect URI

Offline Kryckmeister

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +1/-1
Re: [FIXED] Google TTS engine is no more working
« Reply #106 on: April 02, 2016, 12:46:07 pm »
Thanks. Now it at least works a bit.

Offline rchamp26

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: [FIXED] Google TTS engine is no more working
« Reply #107 on: December 30, 2016, 01:11:49 pm »
HI there, finally got a sonos play for xmas. Downloaded and installed upnp plugin and sonos plugin and followed instructions. I can control sonos (play, pause, skip, mute, volume, etc) but tts seems to not work.

The tts is set to Google english. In the Web page tts ui tab, there is only a say button but no area to enter text. I tried the lua test code in develop apps using my device id and also doesn't work. It pauses music, is silent for a few second, then skips to next song. It apears the tts isn't processing.

I attempted to use the Microsoft alternative instead, but azure marketplace is being discontinued on 12/31/2016 and existing accounts will be discontinued in april, so doesn't appear to be worth the effort.

Last, I tried downloading the latest trunk 230 from the repo and uploading the fIles manually but that didn't seem to make a difference either.

Any ideas?

Offline mrslother

  • Sr. Newbie
  • *
  • Posts: 30
  • Karma: +0/-0
Re: [FIXED] Google TTS engine is no more working
« Reply #108 on: February 20, 2017, 08:11:35 pm »
I have given up on the entire cloud effort for TTS. Google changes their APIs way too frequently causing disruptions and Microsoft's is just annoying to create & maintain. I find the cloud unacceptable since I use the TTS over sonos to alert my family on security issues like the garage door opens or someone left a door unlocked.

So, I wrote my own service to run on an a Windows IIS server on my network. It is written in .net and works well enough for me. I have it running on an old WinServer 2008R2 VM. Of course the IIS box has to have have Microsoft's TTS engine installed. I added additional high quality voices (ATT Natural Voices; http://rentanadviser.com/en/affiliates/att_natural_voices/att_natural_voices.aspx) so that it sounds less computer generated.

I configure the sonos plugin to use the OSX TTS server setting and point it to my IIS box. It isn't all that fancy but does the job.

PM me if you are interested.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2409
  • Karma: +112/-140
Re: [FIXED] Google TTS engine is no more working
« Reply #109 on: February 21, 2017, 03:10:47 pm »
Interesting. Would that work on Windows HomeServer 2011 as well? The TTS part is installed on it as it's basically a very neutered version of Server 2008.

I'm definitely interested as I to would prefer to keep it all local.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
Re: [FIXED] Google TTS engine is no more working
« Reply #110 on: February 23, 2017, 10:31:40 pm »
Responsive  http://responsivevoice.org/   it works well.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2409
  • Karma: +112/-140
Re: [FIXED] Google TTS engine is no more working
« Reply #111 on: February 24, 2017, 12:16:24 pm »
There is an updated version of the Sonos plugin that has support for responsivevoice built in floating around on these forums. I believe it is in the Sonos MS plugin thread.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline Matsohl

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +4/-1
Re: [FIXED] Google TTS engine is no more working
« Reply #112 on: March 04, 2017, 08:14:29 am »
Hi, bougth my first Sonos speaker today and I can control it from Vera but the tts only worked for 10 minutes. Now nothing happens but I can still control it. What can I do, I want my Vera to speak to me  ???
 
Vera Plus and Vera Edge with (Hue, Fibaro, Qubino, IKEA, Nexa, Sonos, Telldus, Sensative, Imperihome etc.) and Arduino, ESP8266

Offline Matsohl

  • Jr. Member
  • **
  • Posts: 64
  • Karma: +4/-1
Re: [FIXED] Google TTS engine is no more working
« Reply #113 on: March 04, 2017, 08:23:22 am »
Vera Plus and Vera Edge with (Hue, Fibaro, Qubino, IKEA, Nexa, Sonos, Telldus, Sensative, Imperihome etc.) and Arduino, ESP8266

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2409
  • Karma: +112/-140
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline pdipesh11

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-1
Re: Google TTS is now protected against robot and automation systems
« Reply #115 on: April 30, 2017, 01:45:57 am »
Thanks to this, I've installed MaryTTS (http://mary.dfki.de/) on my Raspberry PI (that was only running the Hue Server for the Amazon ECHO Workaround). This is for those that don't have a 24/7 Mac server running. Hopefully it helps :D

Here's what I did (Full Steps).

1. SSH into Raspberry PI

$ cd Downloads
$ wget https://github.com/marytts/marytts/releases/download/v5.1/marytts-5.1.zip
Unzip the application to the /usr/bin directory

$ sudo unzip marytts-5.1.zip -d /opt
At this point it will not run unless the you have already installed Java 1.7 you can determine the current version of Java by executing:

$ java -version
Install the required version of Java (also add openjdk-7-jdk if you intend to do any java development):

$ sudo apt-get install openjdk-7-jre
After installing the new java runtime (jre) it will still not be the default. To set the new jre to your default use:

$ sudo update-alternatives --config java

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 manual mode

Press enter to keep the current choice
  • , or type selection number: 2

Having selected option 2 the java version should return something similar to:

$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-5~deb7u1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
The runtime package delivers the scripts necessary to run the MaryTTS Server, which can be used via a browser of the client to synthesize speech. The server can be launched with:

$ /opt/marytts-5.1/bin/marytts-server.sh
This can then be used either through a browser or via the MaryTTS Client. The browser address will be:

http://(RaspPI_IP):59125
The MaryTTS Client, which is a Java GUI can be launched with:

$ /opt/marytts-5.1/bin/marytts-client.server
Launch the Server

2. Edit L_SonosTTS.LUA (Download Apps -> Develop Apps -> Luup files)

- edit the SAY_EXECUTE variable, replace the 5th line with the Google URL to:

http://(RaspPI_IP):59125/process?INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&FAKE=%s&INPUT_TEXT=%s&LOCALE=en_US&AUDIO=WAVE_FILE

* Please replace the (RaspPI_IP) with your device IP and make sure to put them inside the quotes.

- Upload, replace, restart LUUP.

3. Test and enjoy! Congrats, you're done. No more relying on other TTS servers.
Hi, I don't have sonos, is there any way I can connect Bluetooth speaker to Raspberry PI for announcement

thanks in advance

Thanks,
Dip

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2409
  • Karma: +112/-140
Re: [FIXED] Google TTS engine is no more working
« Reply #116 on: April 30, 2017, 10:53:12 am »
The commands that the Sonos plugin sends out to communicate with the speaker are Sonos specific and as such won't work with eg a Bluetooth speaker. You might be able to hack 'maryTTS (since it's http) to output to the locally attached speaker by sending it the correct HTTP command string directly without going through the plugin.
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W