Google Assistant Broadcast Feature

googleassistant
Tags: #<Tag:0x00007fd0797959e0>

#1

Problem to solve:
tts.google_say interupts any media playing on a device and overrides it with the mp3 file with the speach

Solution:
Use the “broadcast” feature of the Google Assistant instead.

Further Explanation:
If I use Google Assistant on my smartphone and type to it “Broadcast [insert broadcast]” it will send those messages to my Google Homes throughout the house as Google Assistant speaking them, and if I say certain things like “Dinner Time” or “Good Morning” or “Goodnight” it broadcasts specific little Google Assistant clips for the message instead. I’d like for Home Assistant to be able to sent a notification to my Google Homes this way. Sure, the tts.googlesay technically can do something functionally similar to this already, but it overrides any media that may be playing on the speaker, where the broadcast feature does not.

I understand this would likely require an API key of some kind, just like the “sync devices” button does in the Google Assistant component, so maybe this just is an extra feature for that component specifically. I’d like to be able to say notify.googlehome “Dinner’s ready” and for HA to do the same thing that me doing “Broadcast Dinner’s ready” would do.


#2

I haven’t managed to get this working yet but others have:


#3

There is already one.

in my experience though, google assistant broadcast is garbage. not in sync and on multiple gh around the house, all being out of sync is yuck


#4

Yeah, I found that too and have been having problems figuring out how to get it set up, which is why I’m requesting it be built into the Google Assistant component specifically. It feels like more of a hacky solution than what it could be if it were just built in to the Google Assistant component as a notify platform instead of being an addon


#5

I guess it depends on your setup, if you have them all at max volume and close enough that you have the sounds overlapping I can see why that would be annoying, but I definitely would still prefer having them not be in sync to them having music/whatever cut off and totally stopped by a tts announcement from HA.


#6

i have 9 of them around the house, doing music is fine, do a broadcast, oh god its not pretty


#7

i also found an another project that does the same thing, but requires a separate server. but this has some built in commands ready to go.
which maybe an alternative


#8

I’ve got one in each room too, and it’s definitely not pleasant if one or more has the volume too high and they overlap with other speakers in the house, but even so, out of sync broadcasts are still MUCH more preferential to having existing playback overridden by a tts


#9

I’ll look into that too, thanks!


#10

i even tried the broadcast feature for broadcast the alarm being armed and disarmed. soon went back to tts to google group


#11

Well, I use it all the time manually and love it, and if I use it from home assistant I’m sure it would be even better.


#12

I’m still surprised Google implemented broadcasts this way. Especially when there usual use case is human voice broadcasts around the home. Hopefully in the future they will add some synchronisation.


#13

Made this feature request, which is a bit more broad than this request, but also would include this request.

Linking for reference: Add a service call for the ability to send a text command to Google Assistant


#14

I’ve posted a workaround for this , it might help.