I have several Google Home Mini Speakers in my house and use the “Chromecast Audiogroup” as default sink for my audio output.The say command works perfect when using the default audio sync.
Here are my things settings:
chromecast:audio:Flur [ ipAddress="192.168.0.220" ]
chromecast:audio:Schlafzimmer [ ipAddress="192.168.0.219" ]
chromecast:audio:Wohnzimmer [ ipAddress="192.168.0.218" ]
chromecast:audio:Buero [ ipAddress="192.168.0.217" ]
chromecast:audio:Bad [ ipAddress="192.168.0.216" ]
/* Chromecast Audio Group for my Google Home Mini's */
chromecast:audiogroup:Haus [ ipAddress="192.168.0.220", port=42576]
Now I want to say something when motion is detected in a special room. See this example:
say("Hello, you are in the bathroom now","voicerss:deDE","chromecast:audio:Bad")
But I do not get any audio output.
When I do the default say command:
say("Hello, you are in the bathroom now")
this ouput works (of course then on all my Google Home Speakers).
Does anyone of you have figured out how to say something on just one Google Home (Chromecast) device?
yes, I use chromecast devices, audiogroups and other devices selectively. Have you had a look in the karaf shell and list the sinks? I assume that - even if you set friendly, readable names in your textual config - the internal name of the sink is still the auto-generated ID or something else:
Could you please post one example of your “say” command.
@luckymallari Of course late I would like to play more usefull things like the time of the day or a newscast, but for testing I choose a useless sentence
Sorry, just saw this now. Feel free to @mention people you answer to, so they get notified
Even worse, I don’t have a good answer. I only use playSound and these - as you already found out - work fine. Never tried say because there are very few sentences that I generate for very low prices at online services and save them as mp3 files for openHAB to play.