Sonos - The Beginning

Posted on
Tue Mar 17, 2015 6:25 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

Nick,, thanks for your great work. I use the plugin every day all day. However, I consistently get the following error throughout the day. Is there something I should do about it?

Sonos Error SOAPSend warning: waiting for command execution [192.168.1.61:0]
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 175, in actionZP_Pandora
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 968, in actionDirect
<type 'exceptions.UnboundLocalError'>: local variable 'pstation' referenced before assignment

John R Patrick
Author of
Home Attitude

Posted on
Tue Mar 24, 2015 12:32 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Please download the latest version of the plugin I just posted (v0.8.10). It has fixes for changes Pandora made to their website.

Posted on
Tue Mar 24, 2015 6:29 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

Nick,

just upgraded to v0.8.10 but I still can't get announcements to work? I am running 10.10.2 on a Mac mini and I just rebuilt this server from scratch. I had announcements working on Yosemite until I updated the plug-in.

Any help would be greatly appreciated, for an otherwise awesome plug-in.


Trigger SONOS Announcement Test
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 169, in actionZP_announcementMP3
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1048, in actionAnnouncement
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1035, in actionStates
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 433, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 348, in read
<class 'socket.error'>: [Errno 54] Connection reset by peer

Posted on
Wed Mar 25, 2015 6:18 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Can you give me some detail on your configuration - as in what model ZonePlayers you have configured as devices in Indigo. Thanks.

mlooss wrote:
Nick,

just upgraded to v0.8.10 but I still can't get announcements to work? I am running 10.10.2 on a Mac mini and I just rebuilt this server from scratch. I had announcements working on Yosemite until I updated the plug-in.

Any help would be greatly appreciated, for an otherwise awesome plug-in.


Trigger SONOS Announcement Test
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 169, in actionZP_announcementMP3
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1048, in actionAnnouncement
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1035, in actionStates
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 433, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 348, in read
<class 'socket.error'>: [Errno 54] Connection reset by peer

Posted on
Wed Mar 25, 2015 12:18 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

Nick,

I have the following Sonos equipment:

2 x Play 5's (one each in a room)
2 x Play 1's (paired in stereo mode in another room)
1 x Playbar, 1 x Sub and 2 Play 1"s configured in surround sound
2 x Airport Express attached to the line-in on each Play 5
1 x Sonos Bridge (not configured in INDIGO)
1 x Sonos Boost (not configured in INDIGO)

I confirmed each INDIGO device is setup with the correct type and IP address (IP's are fixed by DHCP reservation)

Your plugin version, v0.8.10, is current.
Sonos Saved Plugin Configuration
Sonos Playlist: I removed all the playlist and Pandora stations to clarity
Sonos Adding ZonePlayer: RINCON_000E585C199401400
Sonos Adding ZonePlayer: RINCON_B8E937B8F3BA01400
Sonos Adding ZonePlayer: RINCON_B8E937B8F39401400
Sonos Adding ZonePlayer: RINCON_000E58840AB201400
Sonos Adding ZonePlayer: RINCON_B8E937BF82CC01400
Sonos Adding ZonePlayer: RINCON_B8E9378FCA9401400
Sonos Adding ZonePlayer: RINCON_B8E9377A416B01400
Sonos Adding ZonePlayer: RINCON_B8E9376106AE01400
Sonos Subscribing on port: 9999
Sonos SonosEvents INFO: Publishing on port: 9999
Sonos Event Ignition...
Sonos Serving HTTP Streamer on 10.0.1.137 [0.0.0.0], port 8888
Sonos LineIn: RINCON_000E585C199401400, AirPlay Device:Family Room
Sonos LineIn: RINCON_000E58840AB201400, AirPlay Device:Master Bedroom

Posted on
Wed Mar 25, 2015 12:22 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Can you edit the device settings for the SUB and make sure that you select SUB in the dropdown. I think that is what is causing the bomb.

Posted on
Wed Mar 25, 2015 5:49 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

Nick,

I reselected the Sub, it was already selected. I disabled communication for the Sub and then deleted the Sub device and I keep getting the same error message. I also reloaded the plug-in and get the same old error :-(

Posted on
Wed Apr 01, 2015 5:20 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Two things:
1. Please download the latest version of the plugin (.0.8.11) from my wiki.
2. If the error still persists, can you enable the debug options and post the output. I should be able to isolate the issue from there.

Thanks.

mlooss wrote:
Nick,

I reselected the Sub, it was already selected. I disabled communication for the Sub and then deleted the Sub device and I keep getting the same error message. I also reloaded the plug-in and get the same old error :-(

Posted on
Thu Apr 02, 2015 6:21 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

Hi Nick,

I upgraded to v0.8.11 and 0.8.12, I continue to get the same error? I enabled debugging and this is the error message I get. I reloaded the plug-in, restarted the INDIGO server and rebooted the Mac mini running INDIGO.

Trigger Sonos announcemnet test
Sonos Debug zoneIP: 10.0.1.110, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.110, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.12, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.12, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.13, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.13, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.196, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.196, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.208, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 172, in actionZP_announcementMP3
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1052, in actionAnnouncement
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1039, in actionStates
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 437, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 348, in read
<class 'socket.error'>: [Errno 54] Connection reset by peer


nlagaros wrote:
Two things:
1. Please download the latest version of the plugin (.0.8.11) from my wiki.
2. If the error still persists, can you enable the debug options and post the output. I should be able to isolate the issue from there.

Thanks.

mlooss wrote:
Nick,

I reselected the Sub, it was already selected. I disabled communication for the Sub and then deleted the Sub device and I keep getting the same error message. I also reloaded the plug-in and get the same old error :-(

Posted on
Fri Apr 03, 2015 1:53 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

OK.. this is a good start. What is the model of ZonePlayer with ip 10.0.1.208. This is the one that is causing the plugin to crash.

mlooss wrote:
Hi Nick,

I upgraded to v0.8.11 and 0.8.12, I continue to get the same error? I enabled debugging and this is the error message I get. I reloaded the plug-in, restarted the INDIGO server and rebooted the Mac mini running INDIGO.

Trigger Sonos announcemnet test
Sonos Debug zoneIP: 10.0.1.110, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.110, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.12, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.12, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.13, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.13, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.196, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Debug zoneIP: 10.0.1.196, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetPositionInfo
Sonos Debug zoneIP: 10.0.1.208, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: GetMediaInfo
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 172, in actionZP_announcementMP3
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1052, in actionAnnouncement
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1039, in actionStates
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 437, in SOAPSend
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/socket.py", line 348, in read
<class 'socket.error'>: [Errno 54] Connection reset by peer


nlagaros wrote:
Two things:
1. Please download the latest version of the plugin (.0.8.11) from my wiki.
2. If the error still persists, can you enable the debug options and post the output. I should be able to isolate the issue from there.

Thanks.

mlooss wrote:
Nick,

I reselected the Sub, it was already selected. I disabled communication for the Sub and then deleted the Sub device and I keep getting the same error message. I also reloaded the plug-in and get the same old error :-(

Posted on
Fri Apr 03, 2015 7:02 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

It is a Play 1 setup as the left surround speaker.


Sent from my iPad using Tapatalk

Posted on
Fri Apr 03, 2015 7:14 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Can you pull up this url in a browser: http://10.0.1.208:1400/status/zp

mlooss wrote:
It is a Play 1 setup as the left surround speaker.


Sent from my iPad using Tapatalk

Posted on
Fri Apr 03, 2015 7:16 pm
mlooss offline
Posts: 184
Joined: Sep 05, 2013

Re: Sonos - The Beginning

Yes, I can, here is a screenshot of the page that loads.

Image


Sent from my iPad using Tapatalk

Posted on
Fri Apr 03, 2015 7:23 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Can you turn on the XML debug in the Plugin options and try the action again. Thanks.

Posted on
Sat Apr 04, 2015 4:19 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Please turn on the event debugging as well and include the startup events that show each ZonePlayer getting the first batch of state updates. Thanks!

nlagaros wrote:
Can you turn on the XML debug in the Plugin options and try the action again. Thanks.

Page 30 of 37 1 ... 27, 28, 29, 30, 31, 32, 33 ... 37

Who is online

Users browsing this forum: Google [Bot] and 15 guests

cron