Skip to main content
Contributor I
Oct 3, 2018 8:01 AM UTC
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
Oct 3, 2018 4:36 PM UTC
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
Oct 3, 2018 4:36 PM UTC
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/
Translate
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
Oct 4, 2018 3:49 AM UTC
Hi Ryan,

So the whole API is open to hobbyists like me ?

Cheers,
Peter
Translate
Peter WMAuthor
Contributor I
Oct 4, 2018 7:40 AM UTC
Also - where is the best place to get detailed help on using the new API ?

Cheers,
Peter
Translate
Ryan S
Retired Sonos Staff
Oct 4, 2018 3:04 PM UTC
Yes, and that link has some resources and direction for if you need help.
Translate
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
Oct 4, 2018 4:39 PM UTC
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.
Translate
Peter WMAuthor
Contributor I
Oct 5, 2018 12:32 AM UTC
Many thanks. Have signed up and will dive in and see how it goes.

Cheers,
Peter
Translate
controlav
Lead Maestro
Oct 20, 2018 2:35 PM UTC
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.
Translate
Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.
Trending Lyricist I
Oct 24, 2018 1:04 AM UTC
The main thing missing from the Cloud API is that it's not not a cloud based API.
Translate
Oct 24, 2018 1:36 PM UTC
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?
Translate
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
Oct 26, 2018 3:05 AM UTC
FWIW I've decided to stick with UPnP for now.
Translate