Sonos Capabilities & Attributes


(Serge Sozonoff) #1

Hi,

Where can I find the capabilities and attributes for the Sonos Device ?
For example if I want to query the Sonos if its currently playing or paused ?

Thanks,
Serge


(Ron S) #2

@ssozonoff

check capability.musicPlayer.

https://graph.api.smartthings.com/ide/doc/capabilities


(Serge Sozonoff) #3

Thanks and so if I want to know what sonos.status() returns without having to resort to trial and error ?

Serge


(Joshua Lyon (SharpTools.io Dashboard)) #4

Are you looking for the list of possible values for the status attribute for a Sonos device? (eg. playing, paused, etc)


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #5

Good point: There is a Documentation shortfall (@Jim ?).

Attribute “status” should be enumerated in the table (like “motion” above it).