sonos-controller icon indicating copy to clipboard operation
sonos-controller copied to clipboard

Manage the SONOS event system

Open vmichalak opened this issue 7 years ago • 1 comments

Sonos systems have an UPnP pub / sub event system. This system permit to receive a notification when subscribed service push informations (for exemple: When the volume changes.)

SoCo already have implemented this in python: https://github.com/SoCo/SoCo/blob/master/soco/events.py

On the SONOS forum, a thread talk about it: https://en.community.sonos.com/advanced-setups-229000/upnp-event-subscription-net-c-34484

Specs of UPnP event system (start at page 86) : http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf

vmichalak avatar Nov 09 '17 13:11 vmichalak

I implemented parts of the event system and forked your repository at https://github.com/KilianB/Java-Sonos-Controller. As I need the changes to be available via maven within days and changed quite some methods a pull request is out of question. But maybe it give you an idea how to further proceed.

While I published my code under GPLv3 you may adapt anything you wish and still use your MIT license terms.

KilianB avatar May 10 '18 14:05 KilianB