Roon with Home assistant

I am trying to figure out how to integrate Roon with Home Assistant to schedule to play everyday morning. I am looking at integration to understand. I don’t mind playing only media located in the drive vs Qobuz if it makes easy. Let me know anyone can share steps or good documentation.

I am also about to start reading to understand. Appreciate it.

I’ve moved your post to the relevant forum where Community members may be able to help you.

It seems I need to use Home assistant media player with service ‘play media’ and select content id. What should be content id for the listed folder shown in the screen shot?

Also, media player is just HA generic player and there is nothing that says content id is from Roon. How does it find it is Roon path? Appreciate it.

BTW, do a search for “Home Assistant” here in the Tinkering forum - you’ll find posts discussing integrating Roon with Home Assistant.

1 Like

The way roon handles media ids is very different to home assistant, so you need to follow the specific documentation to specify a path as described here:

More info (as @Geoff_Coupe says) in this very long thread!

1 Like

There is a example here:

Appreciate replies. I am going to look at the other thread mentioned. But I see these two available

RoonLabs music player (HA integration)
GitHub - maniac0r/roon-hass: Roon component for HomeAssistant (HA custom integration)

What is the difference functionality-wise to explore one vs the other?

I installed roonlabs music player and it seems introduced the same media players (that I already added through Chromecast)with different entity ids. So, I have to use these to connect to Roon.

I am familiar to tinker HA to get into dockers or copy custom components etc. Interesting stuff for the weekend.

Marcel van der Veldt started development of the Roon / HA integration many years ago (as you will see from the other thread if you read it from the start).

He did a lot of hard work, but I think at some point he decided it wasn’t going to meet his needs, and so he stopped development. I think this was just at the point he was considering moving it away from being a user supported custom integration, to a core component of HA. He archived his work at this point.

(He has subsequently become the main mover behind music assistant - https://www.music-assistant.io/).

I think the repo you found is a clone of that original repo. If you look carefully you will see it hasn’t changed for 6 years!

Around this time I started using the integration, and having had precious experience in development of HA it make sense for me to get it properly integrated.

Marcel kindly un-achived and transferred ownership of both the HA integration, and his underlying python roon library to me.

I did some work on both, and then went through the process of getting it fully integrated into HA.

I have continued to maintain it - and make minor changes to fix bugs, or adapt to roon changes.

You should definitely use the current maintained version that is part of core home assistant!

1 Like

Thanks Greg, for taking the time to provide a detailed reply. I understood and stick to Roon Labs music player. It seems this has a dependency on Roonapi module(pyroon) and not on Roon module for HA

I am able to play media using Roon integrated media player and very happy to be able to enjoy. I am still working to figure out and enabled ‘debug’ level logging to understand the paths.

I already have these media players integrated through Google Cast integration and Roon integration created those again. I will start renaming it properly.

Appreciate contributing such a nice player to change our lives.

1 Like

All good.

I’m sure you’ll work out the media paths, but ask in the other thread if you need help.

1 Like