I have a year old Aeotec v3 hub with 70 devices including several Sonos speakers. The Sonos integration is mostly functional. For example, I have a speaker that can perform the following functions from Smartthings routines: play, pause, next, previous, mute, and volume. I’m not using groups. However “Play a favorite” does not function. I have several Sonos Favorites (not Sonos playlists). None of them work. Whatever is playing continues to play. No response, nothing shows in the event log for the speaker.
Are you trying to play the favorite from the device presentation in the SmartThings app or via a routine? The approach is very different for the two.
Within the device presentation, you choose a favorite by name. Within a routine, however, you need to use the id number for the favorite—not the name. You can get the id numbers from the ST Advanced Web App. See this post for where to find the numbers.
As an aside, playlists can also be assigned as a favorite and thus played in this manner.
Thanks! Using routines with ID works, but actual behavior is a little wonky.
Here’s the plan - I built a bar and added a speaker, but instead of using Sonos app I bought a 4 button scene controller with 4 functions per button. Top button for playback - play, pause, next, back. Works great. Middle button has 4 preset volume levels, works great. Last 2 buttons will select 8 favorites (1 button my favorites, other button for the wife.)
Expected behavior is speaker is playing Playlist 1, push button for Playlist 2, speaker immediately switches to Playlist 2.
What actually happens is when you push button for Playlist 2, Playlist 1 continues playing until the current song finishes, then it switches to Playlist 2.
So I’ll play around, maybe insert “Next” action before or after the “play a favorite” action. Pretty sure I’ll be able to make it work.
Thanks again. I’ll report back after I figure out how to get it working.