Home Assistant with Plex or Jellyfin and Google Home to play music from NAS

I am trying to setup our Google Home speaker to play music from our network attached storage device. Looking into trying to do this lead me to Home Assistant. I followed the steps I found online to setup both Plex and JellyFin but on the last step of exposing the entities it says “Not supported by this assistant.” for both Plex and JellyFin.

Is there a way to get this to work or am I out of luck?

Thanks

Rich

Music assistant would be better / easier

1 Like

Hi -

I clicked on the link but got a 404 error?

Rich

Fixed link

You will need to add cast provider to support Google home

You can connect the media library as a music provider

You can cast music to Google home device
I don’t use Google home but do similar with HA voice it this works well

Hi –

Thanks for much!

I tried to do the “easy” install but got this error

This redirect is not supported by your Home Assistant installation. It needs either the Home Assistant OS or Home Assistant Supervised installation method. For more information, see the documentation.

Do I have to reinstall HA? I installed it solo for the purpose of playing music on Google Home so there is nothing on it to save.

I am running a Synology NAS which has Docker support so I could also go that method but I’ll defer to whichever you think is the better solution.

Also, will I need the Home Assistant Cloud for this? I signed up for a trial because it appeared I needed it for Plex / JellyFin.

I appreciate your help.

Thanks

Rich

Are you new to HA or use for other things?
What method did you use to install HA?

I’m thinking docker install for music assistant is best unless you are using HA OS already for other purposes

Music assistant does not require HA and may at the moment be easier to use from its webUI directly.

Hi –

New to Home Assistant, just trying to set it up to play music from our Google Home speaker.

I installed HA in a Docker container on my NAS and that is the instance that gave me the error I copied previously.

I’m new to using Docker as well so it make take some trial and error to get Music Assistant set up in Docker but I’ll give that a shot.

Thanks

Rich

Also, can I download the image to install on the Synology NAS?

I tried adding https://ghcr.io to the Docker registry on the NAS but I am not able to locate music-assistant/server when I search for it.

Thanks

Rich

My guess is you did not add registry or maybe reboot / docker restart is needed?
you need github account to use i believe.

I added my Github login to the registry setting but I still do not see the music-assistant project. I am searching for “music-assistant/server” Is that correct?

Is there a direct URL for the Docker container? There is an option in the NAS to add a container by URL.

Thanks

Rich

ghcr.io/music-assistant/server:latest
dockerhub is default but when pulling from other repository you must specify so docker know where to look.

If you not using already, you can try portainer-ce.

portainer/portainer-ce:2.33.4

It is UI for docker. I read that adding repository is easier if using portainer.

or

you can build the dockerfile locally and run that.

Thanks for all this info. I will try to get this going later today.

Rich

Hi -

I was able to install the Music Assistant in a container by using SSH to connect to the NAS and run the Docker command. I think I have everything set up correctly but when I ask Google to play music it always plays from YouTube.

Thanks for all your help.

Rich

Google Assist will not choose music assistant as a source. I am not sure it is possible. I am unable to confirm.

You can use Music assistant UI to play music on Google home device
You can use Home Assistant Voice to tell Music Assistant to play music on Google home device.

If you connect Google Home device to HA, you may use that connection to tell HA to play music from Music Assistant on the google home device.

Google assistant uses Googles software / hardware infrastructure for voice control and will use google service by default. Google expect users to use the “cast” function to play local files

In case of Home assistant you must replicate that infrastructure / hardware locally. By doing this you may use local services.

Ok thanks. I’ll dig into this more over the weekend.

Rich