I want to use 1 Domoticz button to start the chomecast audio and play and Spotify playlist.
I hope this can be done by sending one JSON string "PUT/GET" to the Chromecast. I was able to do this for the squeezebox. This enabled my daughter to push 1 button to start her favourite song.
Is this possible with Chromecast Audio and Spotify?
For Youtube it looks like this:
send youtube video to chromecast:
Code: Select all
curl -H “Content-Type: application/json” http://10.0.1.2:8008/apps/YouTube -X POST -d ‘v=oHg5SJYRHA0’