Radio Browser
The Radio Browser integration allows you to use the directory of
radio stations collected on Radio Browser
Configuration
To add the Radio Browser service to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Radio Browser.
-
Follow the instructions on screen to complete the setup.
To start the Radio Browser, in Home Assistant, go to Media > Radio Browser and select the speaker.
Automation
You can also use the Radio Browser in automations. When creating an automation, use the Play Media action to pick a station from the directory. This allows you, for example, to create an automation that starts playing your favorite radio station on your Cast devices.
If you want to use a YAML for the automation, you would look like this:
action: media_player.play_media
target:
entity_id: media_player.YOUR_MEDIA_PLAYER
data:
media_content_id: media-source://radio_browser/963ccae5-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
See Media Player for more options.