Skip to main content
Contributor I
October 3, 2018
Answered

UPnP vs New API

I control my theater room with Demopad and it includes a Connect feeding into the system. After a lot of reading and learning and much trial and error, I've been able to build a Sonos page within Demopad using UPnP, that shows cover art, a progress bar for the current track, and a queue of the current track + the next three. It also has play, pause and track skip controls.

My question - should I be trying to move across to the new API ? Will it give me more control ? Will it make things easier ?

This is purely a hobby for me so forgive me if I'm misunderstanding how the new API works.
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Ryan S
Ryan SAnswer
Retired Sonos Staff
October 3, 2018
Hi Peter, there's a lot of functionality built into the new API. If you are curious, should definitely check it out: https://developer.sonos.com/
Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.

12 replies

Ryan S
Ryan SAnswer
Retired Sonos Staff
October 3, 2018
Hi Peter, there's a lot of functionality built into the new API. If you are curious, should definitely check it out: https://developer.sonos.com/
Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.
Peter WMAuthor
Contributor I
October 4, 2018
Hi Ryan,

So the whole API is open to hobbyists like me ?

Cheers,
Peter
Peter WMAuthor
Contributor I
October 4, 2018
Also - where is the best place to get detailed help on using the new API ?

Cheers,
Peter
Ryan S
Retired Sonos Staff
October 4, 2018
Yes, and that link has some resources and direction for if you need help.
Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.
Stanley_4
Grand Maestro
October 4, 2018
If you sign up you will get access to a lot of infirmation, examples and discussion, worth doing if you are interested in programming something.
Peter WMAuthor
Contributor I
October 5, 2018
Many thanks. Have signed up and will dive in and see how it goes.

Cheers,
Peter
controlav
Lead Maestro
October 20, 2018
The main thing missing from the Cloud API, and it is huge, is the ability to play anything other than Sonos Favorites. It covers discovery and av transport reasonably well, but choosing music to play is the big hole.
Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.
Trending Lyricist I
October 24, 2018
The main thing missing from the Cloud API is that it's not not a cloud based API.
October 24, 2018
The main thing missing from the Cloud API, and it is huge, is the ability to play anything other than Sonos Favorites. It covers discovery and av transport reasonably well, but choosing music to play is the big hole.
I guess the thing that puzzles me (and apparently folks at Control4 and others who depend on this) is why Sonos would write an API that is less capable than the UPnP interface?
Local music library with carefully constructed playlists - no shuffling!, Integration with Homeseer Automation, No touch screen devices, No streaming services, No Apple products ever
Peter WMAuthor
Contributor I
October 26, 2018
FWIW I've decided to stick with UPnP for now.