Sonos Capabilities & Attributes

(Serge Sozonoff) #1


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 ?


(Ron S) #2


check capability.musicPlayer.

(Serge Sozonoff) #3

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


(Joshua Lyon ( Dashboard)) #4

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

( 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).