Sonos plugin error with 2022.2, Sonos 1.1.17c

Posted on
Sun Mar 12, 2023 7:38 am
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Sonos plugin error with 2022.2, Sonos 1.1.17c

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

is there an update for this?

Posted on
Thu Mar 16, 2023 8:05 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Posted on
Thu Mar 16, 2023 11:17 am
gt3mike offline
Posts: 225
Joined: Dec 31, 2017
Location: Colorado

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

This is pretty cool. Thanks for sharing! I don't do anything terribly complex with the Sonos plugin, and this might meet my needs.

Posted on
Fri Mar 17, 2023 6:29 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Posted on
Fri Mar 17, 2023 7:52 am
gt3mike offline
Posts: 225
Joined: Dec 31, 2017
Location: Colorado

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Yep, this will work for me. Goodbye Sonos Plugin. Thanks for everything, Nick!

Posted on
Fri Mar 17, 2023 8:11 am
norcoscia offline
User avatar
Posts: 1206
Joined: Sep 09, 2015

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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

Posted on
Fri Mar 17, 2023 9:44 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Posted on
Fri Mar 17, 2023 9:48 am
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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

Contacting the author to enable announcements functionality could be a good idea.

Posted on
Fri Mar 17, 2023 9:57 am
ryanbuckner offline
Posts: 1075
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

Without the Sonos plugin and the Nest plugin for python3 I might be stuck on this version of Indigo too .

Posted on
Fri Mar 17, 2023 10:00 am
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

You could always look to use node red which also has sonos functionality. Not sure how much but that might help you

Posted on
Fri Mar 17, 2023 3:07 pm
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.
>"

Posted on
Fri Mar 17, 2023 3:10 pm
shapa offline
Posts: 483
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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

Posted on
Fri Mar 17, 2023 5:39 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Posted on
Mon Apr 03, 2023 7:59 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Posted on
Mon Apr 03, 2023 8:52 am
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: Sonos plugin error with 2022.2, Sonos 1.1.17c

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.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 8 guests