Sonos - The Beginning

Posted on
Mon Dec 30, 2013 2:24 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

Nick, thanks for the great support! I am out of town now and will return on Thursday to try these latest suggestions. Thanks again and Happy New Year!

John R Patrick
Author of
Home Attitude

Posted on
Fri Jan 03, 2014 11:40 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

I installed the new version. Here is what I got....

Sonos Debug Method: runConcurrentThread
Sonos Debug Running Concurrent Thread
Reloading plugin "Sonos 0.6.14"
Stopping plugin "Sonos 0.6.14" (pid 21771)
Sonos Debug Method: stopConcurrentThread
Sonos Debug Method: stopConcurrentThread
Sonos Debug Stopping device: Sonos - Living Room
Sonos Debug Stopping device: Sonos - Master BR
Sonos Debug Stopping device: Sonos - Playbar
Sonos Debug Method: shutdown
Stopped plugin "Sonos 0.6.14"
Starting plugin "Sonos 0.6.14" (pid 21776)
Sonos OSTYPE: 13
Sonos Subscribing on port: 9999
Started plugin "Sonos 0.6.14"
Sonos Your plugin version, v0.6.14, is current.
Sonos Debug Getting Plugin Configuration Settings
Sonos Debug Reference ZP IP: 192.168.1.62
Sonos Debug Publish/Subscribe Port: 9999
Sonos Debug Pandora: True
Sonos Debug Pandora User ID: john353
Sonos Debug Pandora Email Address: john@patrickweb.com
Sonos Debug SiriusXM: True
Sonos Saved Plugin Configuration
Sonos Debug Loading Playlists...
Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 58, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 126, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1132, in getPlaylistsDirect
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 240, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 860, in endheaders
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 732, in _send_output
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 699, in send
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 683, in connect
<class 'socket.timeout'>: timed out

Sonos Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Sonos Debug Method: runConcurrentThread
Sonos Debug Running Concurrent Thread

Jan 3, 2014, 12:39:00 PM
Action Group Sonos - LR - Mute
Sonos Debug Sonos Action: Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 108, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 503, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

John R Patrick
Author of
Home Attitude

Posted on
Mon Jan 06, 2014 8:25 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Sonos - The Beginning

eme jota ce wrote:
nlagaros wrote:
Appreciate the feedback. Can you give me some detail on your configuration? How many ZonePlayers do you have configured in Indigo? I see what is happening, but am surprised that an error is being thrown. I'll have to add some debugging entries and/or rework the logic.


Seven zones are configured in Indigo. Those seven are every component of our Sonos system, except for two bridges. They are ZP100's, ZP80's, ZP90's and Connect Amps. Each receives a static IP from an ASUS router ranging from 10.0.1.102 to ...108. I double checked the IP's listed in Indigo. They are correct in Indigo and show the same IP's listed in Sonos and the router.


Hi Nick,

Upgraded to v0.6.14 and also ran an ethernet cable to the sonos zone player that was farthest away / had the weakest connection. Seeing the same error message in the Indigo log:
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 138, in actionZP_RT_FavStation
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 683, in actionDirect
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 243, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 1199, in getreply
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 928, in getresponse
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 385, in begin
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 343, in _read_status
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/socket.py", line 372, in readline
<class 'socket.timeout'>: timed out


Does it matter which zone is listed as the Reference Player in the plugin setup?

Posted on
Mon Jan 06, 2014 8:56 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

My latest test produced the following....

Jan 6, 2014, 9:54:33 AM
Action Group Sonos - LR - Mute
Sonos Debug Sonos Action: Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 108, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 503, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

John R Patrick
Author of
Home Attitude

Posted on
Sat Jan 11, 2014 5:41 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

I just posted v0.6.15. This may help with the problem we are having here. Thanks.

eme jota ce wrote:
eme jota ce wrote:
nlagaros wrote:
Appreciate the feedback. Can you give me some detail on your configuration? How many ZonePlayers do you have configured in Indigo? I see what is happening, but am surprised that an error is being thrown. I'll have to add some debugging entries and/or rework the logic.


Seven zones are configured in Indigo. Those seven are every component of our Sonos system, except for two bridges. They are ZP100's, ZP80's, ZP90's and Connect Amps. Each receives a static IP from an ASUS router ranging from 10.0.1.102 to ...108. I double checked the IP's listed in Indigo. They are correct in Indigo and show the same IP's listed in Sonos and the router.


Hi Nick,

Upgraded to v0.6.14 and also ran an ethernet cable to the sonos zone player that was farthest away / had the weakest connection. Seeing the same error message in the Indigo log:
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 138, in actionZP_RT_FavStation
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 683, in actionDirect
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 243, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 1199, in getreply
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 928, in getresponse
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 385, in begin
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 343, in _read_status
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/socket.py", line 372, in readline
<class 'socket.timeout'>: timed out


Does it matter which zone is listed as the Reference Player in the plugin setup?

Posted on
Sat Jan 11, 2014 5:42 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

And to answer your question, it does not matter which ZonePlayer is the reference as long as you do not use the Bridge ip address.

nlagaros wrote:
I just posted v0.6.15. This may help with the problem we are having here. Thanks.

eme jota ce wrote:
eme jota ce wrote:
nlagaros wrote:
Appreciate the feedback. Can you give me some detail on your configuration? How many ZonePlayers do you have configured in Indigo? I see what is happening, but am surprised that an error is being thrown. I'll have to add some debugging entries and/or rework the logic.


Seven zones are configured in Indigo. Those seven are every component of our Sonos system, except for two bridges. They are ZP100's, ZP80's, ZP90's and Connect Amps. Each receives a static IP from an ASUS router ranging from 10.0.1.102 to ...108. I double checked the IP's listed in Indigo. They are correct in Indigo and show the same IP's listed in Sonos and the router.


Hi Nick,

Upgraded to v0.6.14 and also ran an ethernet cable to the sonos zone player that was farthest away / had the weakest connection. Seeing the same error message in the Indigo log:
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 138, in actionZP_RT_FavStation
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 683, in actionDirect
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 243, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 1199, in getreply
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 928, in getresponse
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 385, in begin
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 343, in _read_status
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/socket.py", line 372, in readline
<class 'socket.timeout'>: timed out


Does it matter which zone is listed as the Reference Player in the plugin setup?

Posted on
Sat Jan 11, 2014 5:44 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

I just posted an update. I don't think it will help, but think it is worth installing. Are your ZonePlayer states updating? Is it just the actions that are not working?

wideglidejrp wrote:
My latest test produced the following....

Jan 6, 2014, 9:54:33 AM
Action Group Sonos - LR - Mute
Sonos Debug Sonos Action: Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 108, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 503, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

Posted on
Sat Jan 11, 2014 9:35 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

Hello Nick. I am up and running again now. I changed the reference zone player and that did the trick. What does zone reference player mean? Does it matter which ZP you select? Seems some commands apply to only a specific ZP and other commands apply to all; for example, Sonos Stop. Right? One other question: Is there a way to make the Sleep function be 5 minutes instead of the current minimum of 15 minutes? Thanks!

John R Patrick
Author of
Home Attitude

Posted on
Sun Jan 12, 2014 7:37 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

I'm glad you got it working. The reference ZonePlayer can be any ZonePlayer in your system, but not a bridge. It is used to retrieve what is common across all systems like playlists, Pandora stations and RadioTime favorites. If you have ZonePlayers grouped, commands will be applied across all in the group.

As far as the sleep timer goes, I will add a 5 minute option and make it available in the next release.

wideglidejrp wrote:
Hello Nick. I am up and running again now. I changed the reference zone player and that did the trick. What does zone reference player mean? Does it matter which ZP you select? Seems some commands apply to only a specific ZP and other commands apply to all; for example, Sonos Stop. Right? One other question: Is there a way to make the Sleep function be 5 minutes instead of the current minimum of 15 minutes? Thanks!

Posted on
Sun Mar 02, 2014 4:11 pm
Rrich1125 offline
Posts: 2
Joined: Jan 07, 2013

Re: Sonos - The Beginning

It appears that the link does not work https://vulture.lagaros.com/wiki/pages/ ... lugin.html

I receive an error everytime I try to access it. Is there an updated link?

Posted on
Sun Mar 02, 2014 4:21 pm
Rrich1125 offline
Posts: 2
Joined: Jan 07, 2013

Re: Sonos - The Beginning

I upgraded to indigo 6.0.10. Before I upgraded, the sonos plugin worked fine. When I upgraded I started getting this error

Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 53, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 89, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1087, in getPlaylistsDirect
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 176, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 860, in endheaders
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 732, in _send_output
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 699, in send
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/httplib.py", line 683, in connect
<class 'socket.error'>: (60, 'Operation timed out')

Sonos Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Thu Apr 24, 2014 11:48 am
mattggarland offline
Posts: 49
Joined: Jan 06, 2013

Re: Sonos - The Beginning

Rrich, I am having the same issues and the same error messages. Please, someone help, I know no python what so ever!

Posted on
Sun Jun 08, 2014 4:47 am
haavarda offline
User avatar
Posts: 702
Joined: Aug 18, 2012
Location: Norway

Re: Sonos - The Beginning

There has been a long time since a update on this plugin. Has the development stopped? This is a very important plugin for many of us, so I hope someone can continue to work on it.

regards

Håvard

Posted on
Sun Jun 08, 2014 6:38 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

The Future of the Sonos Plugin

I too am hopeful that the Sonos plugin will have a continued future of development and support. I am most appreciative of this outstanding plugin. It is an integral and important part of my home automation environment.

John R Patrick
Author of
Home Attitude

Posted on
Mon Jun 09, 2014 8:07 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos - The Beginning

I just got my first Sonos for Fathers Day and have been working on trying to get the Sonos Plugin up and going in my HA environment as well.

Larry

Insteon, Z Wave, Hue, Sonos

Page 23 of 37 1 ... 20, 21, 22, 23, 24, 25, 26 ... 37

Who is online

Users browsing this forum: No registered users and 1 guest