# Use smartthings to play music on a google home or google mini

**URL:** <https://community.smartthings.com/t/use-smartthings-to-play-music-on-a-google-home-or-google-mini/106409>\
**Category:** General Discussion\
**Tags:** uk\_ie\_specific\
**Created:** [November 22, 2017, 8:07am UTC](https://community.smartthings.com/t/use-smartthings-to-play-music-on-a-google-home-or-google-mini/106409 "2017-11-22T08:07:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![aniceberg](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/aniceberg/32/64703_2.png) [@aniceberg](https://community.smartthings.com/u/aniceberg)\
**Post date:** [March 8, 2018, 8:27pm UTC](https://community.smartthings.com/t/use-smartthings-to-play-music-on-a-google-home-or-google-mini/106409/8 "2018-03-08T20:27:42Z")

</div>

Follow the instructions here: [smartthings](https://vervallsweg.github.io/smartthings/)

Afterwards, you can use the “Speaker Companion” smartapp to play sounds.

In my case, I installed the [RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)](https://community.smartthings.com/t/release-generic-media-renderer-dlna-speakers-cheap-sonos-alternative-update-v2/11176) smartapp to trigger sounds or to render custom speech.

For playing particular online “stations”, I crafted URLs that follow the castweb URL scheme and saved those URLs presets as buttons. For example:

> [http://my.fakedomain.com:3000/setMediaPlayback?address=192.168.1.70:42929&mediaType=audio/mp3&mediaUrl=http://167.114.131.90:6100/;stream/1&mediaStreamType=LIVE&mediaTitle=Funky%20Radio&mediaSubtitle=Building%20a%20Stronger%20Future&mediaImageUrl=​http://is1.mzstatic.com/image/thumb/Purple49/v4/6c/2f/94/6c2f946a-45d0-07e7-0e15-05cf07fe36a8/source/1200x630bb.jpg](http://my.fakedomain.com:3000/setMediaPlayback?address=192.168.1.70:42929&mediaType=audio/mp3&mediaUrl=http://167.114.131.90:6100/;stream/1&mediaStreamType=LIVE&mediaTitle=Funky%20Radio&mediaSubtitle=Building%20a%20Stronger%20Future&mediaImageUrl=%E2%80%8Bhttp://is1.mzstatic.com/image/thumb/Purple49/v4/6c/2f/94/6c2f946a-45d0-07e7-0e15-05cf07fe36a8/source/1200x630bb.jpg)

When that URL is posted to the castweb server ([http://my.fakedomain.com:3000](http://my.fakedomain.com:3000)), my Google Home speaker group (192.168.1.70:42929) is instructed to start streaming the specified mediaURL ([http://167.114.131.90:6100/;stream/1](http://167.114.131.90:6100/;stream/1)).

---

_[View the full topic](https://community.smartthings.com/t/use-smartthings-to-play-music-on-a-google-home-or-google-mini/106409)._
