zamzon
(mads m)
November 26, 2018, 9:46pm
1
Hi
I am tyring th follow this guide
It’s correct. I added a note on top (intro). There is a Snapshot release of the addon that will work on rPis, but you need to run 2.4.0 Snapshot core to run it. Ref: Google TTS addon for OH2
Check (updated). The docs need update also in this case
Thanx!
Is it true that I can’t use the Google TTS service on my Raspberry pi 3?
I get this error when I try to install the add-on
2018-11-26 22:29:13.815 [ERROR] [b.voice.gtts.internal.GoogleCloudAPI] - The architecture is not x86_64 but ARM_32. Only x86_64 platforms are supported.
H102
(CM6.5 H102)
November 26, 2018, 9:47pm
2
See this link
If your not sure where to put the .jar file it’s /usr/share/openhab2/addons then restart openhab.
1 Like
zamzon
(mads m)
November 26, 2018, 10:39pm
3
i did try to install this jar file.
I get this error in the log
2018-11-26 23:15:10.088 [ERROR] [org.openhab.voice.googletts ] - bundle org.openhab.voice.googletts:2.4.0.201811120148 (303)[org.openhab.voice.googletts.internal.GoogleTTSService(313)] : The activate method has thrown an exception
And I am not able to select the Google TTS in the Configuration - system - Voice
when i log in to the console to shows the Google Cloud is active
303 │ Active │ 80 │ 2.4.0.201811120148 │ Google Cloud Text-to-Speech
I did try to reboot, but did not help.
Dim
(Angelos)
November 26, 2018, 10:51pm
4
OH 2.3.0 Stable?
If yes: upgrade to 2.4.0 Milestone 6 or latest Snapshot to use this testing jar
wborn
(Wouter Born)
November 27, 2018, 12:01am
5
Looks like the same exception caused by account/permissions misconfiguration in:
2018-11-26 11:02:19.407 [INFO ] [.googletts.internal.GoogleTTSService] - Using home folder: /var/lib/openhab2/googletts
2018-11-26 11:02:19.450 [INFO ] [.googletts.internal.GoogleTTSService] - Using cache folder /var/lib/openhab2/cache/org.openhab.voice.googletts
2018-11-26 11:02:19.461 [DEBUG] [.googletts.internal.GoogleTTSService] - Updating configuration
2018-11-26 11:02:19.483 [TRACE] [.googletts.internal.GoogleTTSService] - New configuration: GoogleTTSConfig{serviceAccountKey='{
"type":…
zamzon
(mads m)
November 27, 2018, 12:14pm
6
I am using 2.4.0 snapshot
H102
(CM6.5 H102)
November 27, 2018, 1:43pm
7
Set the log for this binding to TRACE and post the output.
zamzon
(mads m)
November 27, 2018, 6:31pm
8
Hi
It works now, thanks.
I did forget to activate billing
H102
(CM6.5 H102)
November 27, 2018, 6:46pm
9
Glad your up and running.
Please mark the post as solved by clicking the square box (lower right corner) on the post that provided the solution. Also change the title to include [Solved] at the beginning. e.g. [Solved] Google TTS voice service on RPI.
Thanks