Sonos - Play Track & Resume Play


#1

1) Give a description of the problem
2 problems:

  • long pause before playing the track (5-10s pause), then plays the track fine
  • does not resume (regardless of previous state: music or TV)

Even just being able to detect the input (TV) and restore it would already be a big improvement.

2) What is the expected behaviour?
sonos would resume to previous input (music or TV)

3) What is happening/not happening?
does not resume (regardless of previous state: music or TV)

4) Post a Green Snapshot of the piston


Imgur link: https://imgur.com/igSAHvA
5) Attach logs after turning logging level to Full
Other user reporting similar issues:



This seems to be a documented issue (I have found other users complaining about it here).
Has anyone found a solution?
Or has anyone found where the problem is? Is it SmartThings, Webcore, Sonos?


#2

I switched to a node.js server running through a Raspberry Pi to manage all my Sonos devices long ago because of this and other issues. Easy to set up and far more powerful in terms of managing multiple groups, allowing a broad range of languages and voices, and consistently resuming the track, playlist or station (although, for some sources, it might skip to the next song). However, detecting and acting on a specific input, such as a TV, is not something with which I have any experience. I’d have to dig around to see if that is even possible.

In terms of where the problem is, generally speaking both SmartThings and webCoRE have to rely on the functionality that exists within the DTH, so most likely the ball is in Sonos’ court to expand the DTH’s capabilities The most recent updates to the API and DTH did add some useful features (while removing one or two others) that I’ve integrated in the example pistons I’ve posted on this forum, but the node.js server still provides me greater flexibility for most operations.

Sorry I can’t be more helpful.


#3

Thanks @bthrock.
I have an RPI and could replicate this setup.
Does the nodejs server have the ability to replicate “play track and resume”?
Can webcore trigger it?

thanks!


#4

Yes, see here: https://github.com/jishi/node-sonos-http-api