What I'm trying to do is have my Sonos speak something if a contact sensor is triggered when my Hubitat is armed at night. I have this working but I'm unhappy with the lack of control of the volume.
In Rule machine I under "Audio Notifications" you can set the Sonos to do TTS.
Under "On this Speech Device" you can do TTS, but it makes the Sonos talk at whatever the volume level it was previously set on. Most of my rooms I would want to play this message has the volume set very low - so you wouldn't hear anything - or it wouldn't wake you up.
Under "on this music device" you can do TTS and actually set the volume level.
This is better but not great. If you have music playing at 15% volume and then do a TTS @ 60% volume, the music you were playing comes right back to 60% volume when the TTS is finished.
Also annoyingly the TTS Alert also becomes the last thing on the Sonos play list, so if you walk up to the Sonos and hit the play button it's not turning on your last radio station, it's playing that alert.
I didn't purchase the Sonos for this purpose, I already had it. I had looked at working with Amazon Echos, but the auth key is too much maintenance for me.. The Amazon device is awesome but I really dont like the thought of people listening in on me.
Maybe I should scrap the Sonos idea and use something else?