Instructions on how to integrate a RoonLabs multi room player into Home Assistant.
Media Player
0.115
Local Push
true
@pavoni
roon
media_player
integration
The Roon integration allows you to control RoonLabs music players from Home Assistant.
This integration uses Roon Core, a Roon application that runs on a machine on your network. Via Roon Core, Home Assistant can control all the Roon music players on your network.
Configuration
From the Home Assistant front-end, navigate to Settings -> Devices & Services. Under Set up a new integration locate 'Roon' and click Configure.
Home Assistant will then try to find your Roon Core - if it is successful it will display Authorize HomeAssistant in Roon. Click Submit and skip to step 4
If your Roon Core is not automatically found you can enter the Hostname or IP address for the Roon Core machine when requested and click Submit.
Home Assistant will then contact your Roon Core and ask to be authorized. You will need to enable this extension in the Room Application. Go to Settings and then Extensions, there you will see an entry for Home Assistant with a button next to it. Click Enable.
Roon core will then provide Home Assistant with the details of your media players.
In Home Assistant you can then pick an area for each of your music players, and add them to Home Assistant.
Services
Service media_player.play_media
Roon uses a path based on the roon browser hierarchy to specify which media to play. You can find this by using the media browser, or by following the examples below. If roon can't follow the path you will find an error in the log that will show which part of the path roon could not follow, and the possibilities at that point.
Service data attribute
Optional
Description
entity_id
yes
Target a specific media player. To target all media players, use all.
media_content_id
no
A path to specify the media you want to play, see examples below.
media_content_type
no
Only music is supported
For example to play the album Harvest by Neil Young you should set media_content_id to Library/Artists/Neil Young/Harvest and to play BBC Radio 4 you would set media_content_id to My Live Radio/BBC Radio 4