Home Assistant Community

Community Hass.io Add-on: Google Assistant Webserver (broadcast messages without interrupting music)

hassio-addon
Tags: #<Tag:0x00007f375158e0f0>
#509

Hi this component works great, I wish to make the broadcast at a certain volume level and then set the volume back at previous level.
Is this possible?

0 Likes

#510

Wow, that was easy! Thanks! Tried getting this to work for weaks!
Is there any way to pin this solution to the top so new users will find it?

1 Like

#511

Awesome project, nice job!
Is it possible to use this to cast YouTube/Spotify to a cast group/device on the network? From what I’ve found in the thread it doesn’t seem possible in the current implementation.
If not, would it be possible to implement with the current GA SDK?

Thanks!

0 Likes

#512

With this add-on it is not possible, but it should work with this: https://community.home-assistant.io/t/google-assistant-webserver-in-a-docker-container/

1 Like

#513

This is no hassio addon, sadly

0 Likes

#514

I ended up using @chocomega’s solution, has worked great so far!
Thanks @chocomega!

I then found this project built with Node.js, which might be an even better solution for some.

1 Like

#515

Hass.io runs in Docker, Hass.io addons are just “special” docker containers that can be managed through Hass.io and sometimes have tighter integration with Home Assistant. Neither of those are necessary so you should be able to run pretty much any Docker container in HassOS. The easiest way is to use Frenck’s Portainer Add-on. I’m also running Hass.io (in Ubuntu 18.04.1 on a VM) and the Docker container I linked to works perfectly.

1 Like

#516

Yes, maybe this is the best solution.
But we are in the hassio-addons section
and this is not an addon

I would like to have something like this, for the 64bit version, but here all scientists and programmers, you talk as if everyone has the ability to make an addon, it’s not always like that.

Anyway, I take this opportunity to thank you for the wonderful Lovelace custom card you’ve shared. Thank you!

0 Likes

#517

Yes, you are right,
But I thought I would share what I ended up going with anyway, perhaps it could be of help to someone.

Thank you, glad you like them!

1 Like

#518

I’ve been using gregs version for awhile now in a docker container, note it is not a hass.io addon. This user created a docker container awhile back but you can always create your own:

1 Like

#519

Cool, did you use this addon/project before switching over to assistant relay? If so, are there any benefits to using assistant relay?

0 Likes

#520

Im not using hass.io but gregs version supports quiet time and presets along with the usual broadcast and commands. Definitely recommend if you are using standard docker or can run your own container. Probably could turn it into a hassio addon with a few tweaks

1 Like

#521

Okay, thanks for the info!
I’m actually not running hass.io neither, and don’t really care about docker, so might just set up assistant-relay and run it with pm2.
Thanks again!

0 Likes

#522

I don’t mean to side-track this thread so maybe even if you could send a PM, but I just set up HassIO in Docker running on Ubuntu. The only way I got there was following tutorials and getting help so I still don’t really know what I’m doing when it comes to Linux. The instructions for setting up the assistant-relay rely on someone knowing what they are doing! Any chance of some sort of guide? The Docker version looks like it would be handy for my setup, I just don’t have much confidence in getting it installed myself

0 Likes

#523

Why would this solution be better? From the readme I didn’t notice any additional feature?

0 Likes

#524

Here’s a few

  • Multi user support
  • Quiet hours
  • Presets
  • Access to audio responses
  • Ability to set locale
  • Special chars such as “åäö” work

And it’s arguably easier to set up and maintain (personal preference).

0 Likes

#525

Hi
I kown it’s not possible to remove the “broadcast From [username]”… but is it possible to use the username of HA user ?

0 Likes

#526

I have the same problem. Anyone who can help?

0 Likes

#527

It uses the name in the account that the addon was authorized under. Personally, I have a “family” account with the name Home Assistant that I used for authorization so it says “Incoming Broadcast from Home Assistant…” I imagine the only way you could have it say different names would be to run multiple docker instances of the addon each with different ports and authorized under different users, then you would need to have whatever triggers the broadcast choose the proper endpoint to get the correct name.

1 Like

#528

Everything was ok, but this moring, when I try : /broadcast_message?message=test
status is ok but nothing is tell by the Google Home.
Is someone else getting this issue?

edit : works again today…

0 Likes