How to send play tunein radio to google home

I use:

- service: media_player.play_media
    entity_id: media_player.office
    data:
      media_content_id: http://icepe5.infomaniak.ch/jazzblues-high.mp3
      media_content_type: audio/mp4

where “office” is the name of my Google Home.

You can get the stream URL by playing the TuneIn station in your browser, inspecting elements on the page, and then searching for “jp_audio” in the source code on the elements tab.

9 Likes