openhab> audio sinks
* Google Home (chromecast:chromecast:fc070cef4c0727c90482fabdccf82384)
System Speaker (javasound)
System Speaker (with mp3 support) (enhancedjavasound)
Web Audio (webaudio)
openhab> voice voices
Google Cloud TTS Service - alemán (Alemania) - de-DE-Standard-A (gtts:deDEStandardA)
Google Cloud TTS Service - alemán (Alemania) - de-DE-Standard-B (gtts:deDEStandardB)
Google Cloud TTS Service - alemán (Alemania) - de-DE-Wavenet-A (gtts:deDEWavenetA)
Google Cloud TTS Service - alemán (Alemania) - de-DE-Wavenet-B (gtts:deDEWavenetB)
Google Cloud TTS Service - alemán (Alemania) - de-DE-Wavenet-C (gtts:deDEWavenetC)
Google Cloud TTS Service - alemán (Alemania) - de-DE-Wavenet-D (gtts:deDEWavenetD)
Google Cloud TTS Service - coreano (Corea del Sur) - ko-KR-Standard-A (gtts:koKRStandardA)
Google Cloud TTS Service - coreano (Corea del Sur) - ko-KR-Wavenet-A (gtts:koKRWavenetA)
Google Cloud TTS Service - danés (Dinamarca) - da-DK-Standard-A (gtts:daDKStandardA)
Google Cloud TTS Service - danés (Dinamarca) - da-DK-Wavenet-A (gtts:daDKWavenetA)
Google Cloud TTS Service - eslovaco (Eslovaquia) - sk-SK-Standard-A (gtts:skSKStandardA)
Google Cloud TTS Service - eslovaco (Eslovaquia) - sk-SK-Wavenet-A (gtts:skSKWavenetA)
* Google Cloud TTS Service - español (España) - es-ES-Standard-A (gtts:esESStandardA)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Standard-A (gtts:frCAStandardA)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Standard-B (gtts:frCAStandardB)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Standard-C (gtts:frCAStandardC)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Standard-D (gtts:frCAStandardD)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Wavenet-A (gtts:frCAWavenetA)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Wavenet-B (gtts:frCAWavenetB)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Wavenet-C (gtts:frCAWavenetC)
Google Cloud TTS Service - francés (Canadá) - fr-CA-Wavenet-D (gtts:frCAWavenetD)
Google Cloud TTS Service - francés (Francia) - fr-FR-Standard-A (gtts:frFRStandardA)
Google Cloud TTS Service - francés (Francia) - fr-FR-Standard-B (gtts:frFRStandardB)
Google Cloud TTS Service - francés (Francia) - fr-FR-Standard-C (gtts:frFRStandardC)
Google Cloud TTS Service - francés (Francia) - fr-FR-Standard-D (gtts:frFRStandardD)
Google Cloud TTS Service - francés (Francia) - fr-FR-Wavenet-A (gtts:frFRWavenetA)
Google Cloud TTS Service - francés (Francia) - fr-FR-Wavenet-B (gtts:frFRWavenetB)
Google Cloud TTS Service - francés (Francia) - fr-FR-Wavenet-C (gtts:frFRWavenetC)
Google Cloud TTS Service - francés (Francia) - fr-FR-Wavenet-D (gtts:frFRWavenetD)
Google Cloud TTS Service - inglés (Australia) - en-AU-Standard-A (gtts:enAUStandardA)
Google Cloud TTS Service - inglés (Australia) - en-AU-Standard-B (gtts:enAUStandardB)
Google Cloud TTS Service - inglés (Australia) - en-AU-Standard-C (gtts:enAUStandardC)
Google Cloud TTS Service - inglés (Australia) - en-AU-Standard-D (gtts:enAUStandardD)
Google Cloud TTS Service - inglés (Australia) - en-AU-Wavenet-A (gtts:enAUWavenetA)
Google Cloud TTS Service - inglés (Australia) - en-AU-Wavenet-B (gtts:enAUWavenetB)
Google Cloud TTS Service - inglés (Australia) - en-AU-Wavenet-C (gtts:enAUWavenetC)
Google Cloud TTS Service - inglés (Australia) - en-AU-Wavenet-D (gtts:enAUWavenetD)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Standard-B (gtts:enUSStandardB)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Standard-C (gtts:enUSStandardC)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Standard-D (gtts:enUSStandardD)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Standard-E (gtts:enUSStandardE)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-A (gtts:enUSWavenetA)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-B (gtts:enUSWavenetB)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-C (gtts:enUSWavenetC)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-D (gtts:enUSWavenetD)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-E (gtts:enUSWavenetE)
Google Cloud TTS Service - inglés (Estados Unidos) - en-US-Wavenet-F (gtts:enUSWavenetF)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Standard-A (gtts:enGBStandardA)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Standard-B (gtts:enGBStandardB)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Standard-C (gtts:enGBStandardC)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Standard-D (gtts:enGBStandardD)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Wavenet-A (gtts:enGBWavenetA)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Wavenet-B (gtts:enGBWavenetB)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Wavenet-C (gtts:enGBWavenetC)
Google Cloud TTS Service - inglés (Reino Unido) - en-GB-Wavenet-D (gtts:enGBWavenetD)
Google Cloud TTS Service - italiano (Italia) - it-IT-Standard-A (gtts:itITStandardA)
Google Cloud TTS Service - italiano (Italia) - it-IT-Wavenet-A (gtts:itITWavenetA)
Google Cloud TTS Service - japonés (Japón) - ja-JP-Standard-A (gtts:jaJPStandardA)
Google Cloud TTS Service - japonés (Japón) - ja-JP-Wavenet-A (gtts:jaJPWavenetA)
Google Cloud TTS Service - neerlandés (Holanda) - nl-NL-Standard-A (gtts:nlNLStandardA)
Google Cloud TTS Service - neerlandés (Holanda) - nl-NL-Wavenet-A (gtts:nlNLWavenetA)
Google Cloud TTS Service - portugués (Brasil) - pt-BR-Standard-A (gtts:ptBRStandardA)
Google Cloud TTS Service - sueco (Suecia) - sv-SE-Standard-A (gtts:svSEStandardA)
Google Cloud TTS Service - sueco (Suecia) - sv-SE-Wavenet-A (gtts:svSEWavenetA)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Standard-A (gtts:trTRStandardA)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Standard-B (gtts:trTRStandardB)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Standard-C (gtts:trTRStandardC)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Standard-D (gtts:trTRStandardD)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Standard-E (gtts:trTRStandardE)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Wavenet-A (gtts:trTRWavenetA)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Wavenet-B (gtts:trTRWavenetB)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Wavenet-C (gtts:trTRWavenetC)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Wavenet-D (gtts:trTRWavenetD)
Google Cloud TTS Service - turco (Turquía) - tr-TR-Wavenet-E (gtts:trTRWavenetE)
it looks like it’s actually missing… strange
did you install it from PaperUI?
it should show (on 2.4.0.S1445)
21 x Active x 80 x 2.7.0.v20170129-0911 x com.google.gson
22 x Active x 80 x 18.0.0 x com.google.guava
23 x Active x 80 x 3.0.0.v201312141243 x com.google.inject
251 x Active x 80 x 2.4.0.201811281515 x org.openhab.voice.googletts
Clean tmp & cache also (stop OH2, delete everything within C:\openHAB2\userdata\tmp\ & C:\openHAB2\userdata\cache\ but not the folders themselves)
21:35:37.520 [INFO ] [smarthome.event.ItemStateChangedEvent] - Test changed from ON to OFF
21:35:37.557 [INFO ] [.smarthome.model.script.default.rules] - Try to say Bye!
21:35:38.845 [INFO ] [smarthome.event.ItemStateChangedEvent] - chromecast_chromecast_fc070cef4c0727c90482fabdccf82384_control changed from NULL to PLAY
21:35:38.847 [INFO ] [smarthome.event.ItemStateChangedEvent] - Google_Home changed from NULL to PLAY
21:35:47.636 [INFO ] [smarthome.event.ItemStateChangedEvent] - network_pingdevice_192_168_0_24_latency changed from 620.0 to 615.0
21:35:47.637 [INFO ] [smarthome.event.ItemStateChangedEvent] - network_pingdevice_192_168_0_24_lastseen changed from 2018-11-29T21:34:47.006+0100 to 2018-11-29T21:35:47.628+0100
21:36:07.789 [INFO ] [.smarthome.model.script.default.rules] - END BYE
21:36:07.790 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'chromecast:chromecast:fc070cef4c0727c90482fabdccf82384' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Waiting for response timed out
21:36:20.653 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'chromecast:chromecast:fc070cef4c0727c90482fabdccf82384' changed from OFFLINE (COMMUNICATION_ERROR): Waiting for response timed out to ONLINE
you are close… something is wrong with your chromecast (no clue what)
otherwise, the Voice & TTS setup looks good
try to send the output to the Web Audio to test if this part works (open a web browser to PaperUI and use your PC audio output)
openhab> log:display
21:55:28.509 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Test' received command OFF
21:55:28.510 [INFO ] [smarthome.event.ItemStateChangedEvent] - Test changed from ON to OFF
21:55:28.541 [INFO ] [.smarthome.model.script.default.rules] - Try to say Bye!
21:55:29.882 [INFO ] [smarthome.event.ItemStateChangedEvent] - Google_Home changed from NULL to PLAY
21:55:35.649 [INFO ] [smarthome.event.ItemStateChangedEvent] - network_pingdevice_192_168_0_24_latency changed from 341.0 to 877.0
21:55:35.652 [INFO ] [smarthome.event.ItemStateChangedEvent] - network_pingdevice_192_168_0_24_lastseen changed from 2018-11-29T21:54:34.701+0100 to 2018-11-29T21:55:35.642+0100
21:55:58.812 [INFO ] [.smarthome.model.script.default.rules] - END BYE
21:55:58.812 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'chromecast:chromecast:fc070cef4c0727c90482fabdccf82384' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Waiting for response timed out
Is the Chromecast allowed to connect to that IP and port? Cause that is how the TTS with a Chromecast works. openHAB will serve the audio file using the webserver and openHAB instructs the Chromecast to download it from that IP/port. Firewall rules and username/password authentication may be blocking it.
Sorry write this question in a solved post, but it’s related.
I don’t want to open the openHAB port and I’ve read in the post Securing access to openHAB with OpenHAB Cloud how to communicate with my openHAB instance with openHAB Cloud. This is already running, I put a switch that I can control with the Home app. Can I use the Cloud secure connection to send the audio to my Google Home?