Sonos plugin error with 2022.2, Sonos 1.1.17c

Seeker
Posts: 441
Joined: Mon Aug 05, 2013 5:08 am

Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by Seeker »

plugin "Sonos 1.1.17c" may not be compatible with next Indigo release without an update

is there an update for this?
Londonmark
Posts: 510
Joined: Wed Feb 29, 2012 12:57 pm

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by Londonmark »

Sadly we've not seen Nick for a long time - although others may have more info. The last I heard was that the upgrade was more complex than he anticipated but he was working on it. But that's several months ago.

In the meantime, I've been playing around with the new Shortcuts functionality in Indigo and have found a way to control my Sonos devices from Indigo using Shortcuts. The key is an app called Soro that adds Sonos commans to the Shortcuts app (both on iOS and MacOS. That way you can write shortcuts that will do whatever you want to your Sonos system and run them from Indigo using run shell script (eg. /usr/bin/shortcuts run "Play Favorite").

It only took me a few minutes to get working which means it must be really easy. Obviously a bit clunky for more complex applications but as a means of adding a bunch of playlists to a control page it's good. Or - next plan - having a light switch that's current programmed to run a good night sequence instead run a time appropriate playlist / radio station earlier in the day.
gt3mike
Posts: 225
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by gt3mike »

This is pretty cool. Thanks for sharing! I don't do anything terribly complex with the Sonos plugin, and this might meet my needs.
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by shapa »

Brilliant. I will try it now.

Unfortunately, the plugin is mostly dead today. Anyway, massive respect for Nick for the many years of support and development.
gt3mike
Posts: 225
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by gt3mike »

Yep, this will work for me. Goodbye Sonos Plugin. Thanks for everything, Nick!
User avatar
norcoscia
Posts: 1213
Joined: Wed Sep 09, 2015 5:54 am

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by norcoscia »

Is their a step by step guide for this (for dummies) - I don’t plan to keep upgrading if I loose the ability to use Sonos - any help would be appreciated!
_______
Norm
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by shapa »

Unfortunately, you have no choice. Soon the plugin will stop working as the Python v2 will be deprecated. The only way is to re-write the plugin, which is hard, and the author is busy with something else.

It's a massive problem for Indigo now, as Sonos integration is essential for me. I'm building a new house and plan to have Sonos virtually in every room.
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by shapa »

BTW, Announcements will not work with the Soro / Shortcuts.

Contacting the author to enable announcements functionality could be a good idea.
ryanbuckner
Posts: 1086
Joined: Sat Oct 08, 2011 12:33 pm
Location: Northern Virginia
Contact:

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by ryanbuckner »

Without the Sonos plugin and the Nest plugin for python3 I might be stuck on this version of Indigo too .
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by siclark »

You could always look to use node red which also has sonos functionality. Not sure how much but that might help you
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by shapa »

So the announcements are coming to Soro.

"Hi There, thanks for the feedback about the Soro app!

That’s actually something I am working on. However, very early stages so far, hope to have something usable ready in the coming months.

Laszlo

> Could you please add some kind of "announcement" functionality? To use Apple TTS to generate speech file to announce via a Sonos speaker? It will help a lot for many SmartHome automation.
>"
shapa
Posts: 483
Joined: Mon Sep 08, 2014 6:51 am
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by shapa »

ryanbuckner wrote:Without the Sonos plugin and the Nest plugin for python3 I might be stuck on this version of Indigo too .
The new Nest plugin (via Starling bridge) Is available. Much better than the old one. But you will need to buy some small hub.

viewtopic.php?f=369&t=26172
Londonmark
Posts: 510
Joined: Wed Feb 29, 2012 12:57 pm

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by Londonmark »

Happy to see the shortcuts option is potentially helpful. I reckon with a bit of effort and a few shortcuts it’s possible to replicate most if not all of the plug-in functionality. One thing I am looking at is using indigo variables to define which player I want to send a command to and which playlist or favourite I want to access. That would massively reduce the number of shortcuts.

So idea would be to have an action group that set a variable for player X and another for playlist Y. That would get communicated via a Soro shortcut to say set player x to playlist y and then hit play.

Feels as if there are loads of options.
hamw
Posts: 1240
Joined: Mon Mar 31, 2008 7:45 pm

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by hamw »

Any update on this? I am interested in getting a Sonos unit for my whole house audio system and it would be great if there was an easy way to write a shortcut.
Londonmark
Posts: 510
Joined: Wed Feb 29, 2012 12:57 pm

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Post by Londonmark »

Can confirm that it’s extremely easy to write a shortcut and to call the shortcut from indigo. You might need to create quite a lot of shortcuts though to control everything the way you might want.

I’ve not tried getting the state of players back into Indigo. Would imagine that’s quite doable though so in the end there could be a way to use Sonos without an updated plugin.
Post Reply

Return to “Sonos”