Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical Device support #43

Closed
stephen opened this issue May 11, 2014 · 3 comments
Closed

Logical Device support #43

stephen opened this issue May 11, 2014 · 3 comments

Comments

@stephen
Copy link
Contributor

stephen commented May 11, 2014

Would like to add a "logical device" abstraction on top of the existing devices, and a search() function that groups these logical devices.

Logical device would essentially be any playable interface that Sonos supports via the controller - e.g. a Stereo Pair shows up as a single logical device; Grouped rooms show up as a logical device, etc.

@bencevans
Copy link
Owner

👍

@mrose17
Copy link
Collaborator

mrose17 commented May 12, 2014

@mrose17 - interested in this (now getting an email when the issue updates!)

@stephen
Copy link
Contributor Author

stephen commented Sep 7, 2014

Commands that need per-device logic:

  • getLEDState
  • setLEDState
  • setVolume
  • getVolume

Hm, so I'm wondering how we should handle volume controls for a logical device. From some packet sniffing, it appears that the Sonos controller itself does the calculations to find relative-volumes per each device that's grouped, then individually sends out the UPnP commands to each device.

Would require a) collecting the base volumes when a LogicalDevice is initialized, and b) some maths to figure out what the individual volumes should actually be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants