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

Follow the instructions here: 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) 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

When that URL is posted to the castweb server (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).

1 Like