Is it possible with the recently released Sonos API to do this yet? I’d like to set the volume to a specific point, and play a specific playlist with a randomized song order.
Playing a Sonos Playlist, at a certain Volume, Randomized song order
I saw they released the API recently, but I haven’t played around with it.
I don’t know your infrastructure or technical abilities, but this works well for me. I run it on my local linux server. (Can also be run on windows or mac).
There is a way to do this now with webCoRE via Sonos’ IFTTT integration. (Scroll to the bottom of that page and click on ‘Actions’ to see the available options. Of course, you can set the volume of either a group or individual speaker with webCore only easily enough. However, if you want to set the volume of grouped speakers individually you will need to use IFTTT.
You can also add a playlist to your Sonos Favorites through the desktop app (the Sonos android app doesn’t do this for some reason, see here), then use IFTTT to select and play that playlist. It will shuffle the playlist automatically if shuffle is on (mine always is).
I’ve been looking at the new Sonos API to see what might be possible without using IFTTT, but haven’t gotten very far as yet. I’m hopeful someone more technically astute will beat me to the punch. It would be nice to have a DTH or Smartapp that takes advantage of API’s new capabilities.