The Sonos plugin is getting problematic for me. the reliance on the UPNP event proxy and the verbosity in the logs creates problems and too frequent reload of luup to my state
I therefore started to write a ALTSONOS plugin. UI7 & ALTUI are supported. it also supports a set of UPNP action that are callable from scenes.
for those interested docs and plugin is available here. it is for now rudimentary but works
I am welcoming early testers to help me progress here. it is still very early code and not all functionality is yet there ( like for instance I do not manage the events coming back from sonos yet, but that will come )
it is a radical different approach from the current sonos plugin so there are things to know before you decide to jump on it.
Warning: read installation instructions at https://github.com/amg0/ALTSonos and be ready to use google cloud
- It makes uses of the new sonos developper API and sonos cloud : https://developer.sonos.com and therefore needs internet but the discovery of sonos players is therefore extremely reliable and does not rely on any tricky setup on vera ( like the upnp proxy )
- it will requires that you create an account client ID and client secret on sonos developper web site in the integrations screen
- it will also require a https , internet accessible function to act as a small proxy to the vera. this is only required for the OAuth authorization process ( only once ) because Sonos cannot call your vera directly. once authorized, the plugin will have a OAuth access token and refresh token and should not need the 3 leg OAuth ( with user consent ) any more unless you reset the plugin. The best way to create this proxy is to use a google cloud function, to do this small proxy. I give instructions and the cloud function code in the github repository