I’ve recently added Google Home to my setup. Initially I tested it in a standalone environment to understand the best way to use it - things, items, sitemaps etc etc. This worked perfectly and allowed me to use it as an audio sink to say phrases and alerts.
Once I added it to my production environment, things started to behave differently. I’ve added it in the same way and it shows up in PaperUI as expected. The ‘control’ & ‘volume’ channels populate and link correctly based on the pre-defined items. I can control the volume via the slider in the PaperUI - and I hear it ‘pip’-ing as the volume changes. The PaperUI thing lists it as green ‘online’.
Once I trigger a test rule to say a pre-defined phrase, I hear the chirp of it getting ready to speak and then nothing else happens. The status of the device in the PaperUI things section turns grey and says ‘offline’.
Volume can still be changed via the PaperUI control menu and it still ‘pips’.
If I keep firing a rule to say a phrase the status will change to “Status: OFFLINE - COMMUNICATION_ERROR Unable to load media”.
If I then change the volume level via the PaperUI the status will revert to a simple ‘offline’ and the following appears in the logs.
20:50:44.337 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Lounge_GoogleHome_Volume' received command 18
20:50:44.355 [INFO ] [marthome.event.ItemStateChangedEvent] - Lounge_GoogleHome_Volume changed from 29 to 18
20:50:44.563 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'chromecast:chromecast:xxxxxxxxxxxxxxxxxxxxxxxxxx' changed from OFFLINE (COMMUNICATION_ERROR): Unable to load media to ONLINE
20:50:44.628 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Lounge_GoogleHome_Volume' received command 23
20:50:44.648 [INFO ] [marthome.event.ItemStateChangedEvent] - Lounge_GoogleHome_Volume changed from 18 to 23
20:50:44.938 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Lounge_GoogleHome_Volume' received command 30
20:50:44.956 [INFO ] [marthome.event.ItemStateChangedEvent] - Lounge_GoogleHome_Volume changed from 23 to 30
The PaperUI doesn’t change the status to ‘online’ though!
PaperUI -> Config -> Audio is all setup to use GoogleHome
PaperUI -> Config -> Voice is all setup to use VoiceRSS Text-to-Speech
Location and language are set correctly (‘en’ & ‘GB’).
I’m using ‘VoiceRSS Text-to-Speech’, but I’ve also tried the Mary-TTS as well with the same results. Plugging in the normal speaker gets the expected results when setup using the ‘System Speaker (with mp3 support)’.
The karaf logs give the following message"
20:34:58.331 [ERROR] [core.voice.internal.VoiceManagerImpl] - Error saying 'Hello this is a test': Unable to find a voice for language en
Using karaf to trigger a simple say also doesn’t work - the Google Home chimes and then nothing. The logs then show:
``
20:56:33.976 [INFO ] [me.event.ThingStatusInfoChangedEvent] - ‘chromecast:chromecast:xxxxxxxxxxxxxxxxxxx’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media
Has anyone else had this or similar situation with a Google Home? Any chromecast device? Any suggestions how to get the Google Home working as an audio sink?