I have a timer automation, when it ends there is a text to speech announcement. Depending if music is playing on my sonos speaker or not the annoucment is very quiet.
Is there an option to set the volume of the announcement and then go back to the previous volume level? I tried to just set the volume to a fixed level but that only makes the music louder not the announcement.
#Make announcement louder
1 messages · Page 1 of 1 (latest)
Are you using the Announce option?
"Playing TTS (text-to-speech) or audio files as alerts (e.g., a doorbell or alarm) is possible by setting the announce argument to true. Using announce will play the provided media URL as an overlay, gently lowering the current music volume and automatically restoring to the original level when finished.
An optional volume argument can also be provided in the extra dictionary to play the alert at a specific volume level. Note that older Sonos hardware or legacy firmware versions (“S1”) may not fully support these features."
Failing that...
You could use the Chime_TTS Integration https://github.com/nimroddolev/chime_tts with your automation which you might find easier. It supports Sonos and does exactly what you are looking for.