Plugin not finding Play: 1's

Posted on
Fri Apr 27, 2018 10:23 am
bjones offline
Posts: 21
Joined: Oct 22, 2017

Plugin not finding Play: 1's

Hey Nick, new Sonos user here. I've gone through the initial setup of the plugin and I am getting the errors below. Indigo doesn't seem to see my speakers.

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 375, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 499, in socoSubTest
KeyError: (1202406921,)

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

Any help would be greatly appreciated!

Posted on
Fri Apr 27, 2018 11:27 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Plugin not finding Play: 1's

Can you restart the plugin and post all the log output. Thanks.

Posted on
Fri Apr 27, 2018 11:42 am
bjones offline
Posts: 21
Joined: Oct 22, 2017

Re: Plugin not finding Play: 1's

Thanks for the fast response, Nick. I restarted the plugin, cleared the prefs/reinstalled, and checked my port reservations. Here's the most recent log:

Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 375, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 499, in socoSubTest
KeyError: (1202406921,)

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

Posted on
Fri Apr 27, 2018 11:50 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Plugin not finding Play: 1's

There should be output before what you posted. It should look something like this:

Code: Select all
   Sonos                           Your plugin version, v1.0.12, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.0.62
   Sonos                           Loaded Sonos Favorites... [8]
   Sonos                           Loaded Playlists... [43]
   Sonos                           Loaded RadioTime Favorite Stations... [14]
   Sonos                           Loaded Sound Files... [0]
   Sonos                           Serving HTTP Streamer on 192.168.0.5 [0.0.0.0], port 8888
   Sonos                           Loaded Pandora Stations for Nick... [14]
   Sonos Error                     [Fri Apr 27 13:27:17 2018] SiriusXM SessionID error, check credentials
   Sonos                           Loaded IVONA Voices... [51]
   Sonos                           Loaded Polly Voices... [52]
   Sonos                           [Fri Apr 27 13:27:17 2018] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos                           Adding ZonePlayer: 192.168.0.63, RINCON_B8E93770DE6B01400, Sonos: Cave
   Sonos                           SoCo Reactor Ignition...

Posted on
Fri Apr 27, 2018 11:53 am
bjones offline
Posts: 21
Joined: Oct 22, 2017

Re: Plugin not finding Play: 1's

FYI I am running v1.0.12, both of my Play:1's are on 8.5 (build 42251240)

Code: Select all
Reloading plugin "Sonos 1.0.12"
   Stopping plugin "Sonos 1.0.12" (pid 7427)
   Sonos Error                     Cannot unsubscribe from avTransport events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from renderingControl events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from zoneGroupTopology events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from queue events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from groupRenderingControl events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from contentDirectory events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from groupManagement events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from avTransport events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from renderingControl events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from zoneGroupTopology events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from queue events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from groupRenderingControl events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from contentDirectory events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from groupManagement events for ZonePlayer: Living Room Sonos
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.12"
   Starting plugin "Sonos 1.0.12" (pid 7483)
   Started plugin "Sonos 1.0.12"
   Sonos                           Your plugin version, v1.0.12, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.7.116
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos                           Loaded Playlists... [0]
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.7.112 [0.0.0.0], port 8888
   Schedule                        Floor Lamp Dim
   Sent Hue Lights                 "Living Room Floor Lamp (White)" on to 2 at ramp rate 5.0 sec.
   Sonos                           Loaded Polly Voices... [52]
   Sonos                           [Fri Apr 27 13:52:46 2018] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos Error                     Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 36, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 286, in startup
  File "./lib/twisted/internet/posixbase.py", line 382, in listenMulticast
  File "./lib/twisted/internet/udp.py", line 178, in startListening
  File "./lib/twisted/internet/udp.py", line 198, in _bindSocket
CannotListenError: Couldn't listen on any:1900: [Errno 48] Address already in use.

   Sonos                           Adding ZonePlayer: 192.168.7.118, RINCON_7828CA2CA4E401400, Basement Sonos
   Sonos Error                     exception in deviceStartComm(Basement Sonos): need more than 0 values to unpack
   Sonos                           Adding ZonePlayer: 192.168.7.116, RINCON_7828CA22D40601400, Living Room Sonos
   Sonos Error                     exception in deviceStartComm(Living Room Sonos): need more than 0 values to unpack
   Sonos                           SoCo Reactor Ignition...

Posted on
Fri Apr 27, 2018 12:03 pm
bjones offline
Posts: 21
Joined: Oct 22, 2017

Re: Plugin not finding Play: 1's

See attached for current config. Thanks!
Attachments
Screen Shot 2018-04-27 at 2.02.35 PM.png
Screen Shot 2018-04-27 at 2.02.35 PM.png (260.89 KiB) Viewed 1912 times

Posted on
Fri Apr 27, 2018 12:05 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Plugin not finding Play: 1's

It looks like you have something else running that is locking port 1900. That is likely what is causing the errors.

bjones wrote:
FYI I am running v1.0.12, both of my Play:1's are on 8.5 (build 42251240)

Code: Select all
Reloading plugin "Sonos 1.0.12"
   Stopping plugin "Sonos 1.0.12" (pid 7427)
   Sonos Error                     Cannot unsubscribe from avTransport events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from renderingControl events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from zoneGroupTopology events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from queue events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from groupRenderingControl events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from contentDirectory events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from groupManagement events for ZonePlayer: Basement Sonos
   Sonos Error                     Cannot unsubscribe from avTransport events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from renderingControl events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from zoneGroupTopology events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from queue events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from groupRenderingControl events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from contentDirectory events for ZonePlayer: Living Room Sonos
   Sonos Error                     Cannot unsubscribe from groupManagement events for ZonePlayer: Living Room Sonos
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.12"
   Starting plugin "Sonos 1.0.12" (pid 7483)
   Started plugin "Sonos 1.0.12"
   Sonos                           Your plugin version, v1.0.12, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.7.116
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos                           Loaded Playlists... [0]
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.7.112 [0.0.0.0], port 8888
   Schedule                        Floor Lamp Dim
   Sent Hue Lights                 "Living Room Floor Lamp (White)" on to 2 at ramp rate 5.0 sec.
   Sonos                           Loaded Polly Voices... [52]
   Sonos                           [Fri Apr 27 13:52:46 2018] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos Error                     Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 36, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 286, in startup
  File "./lib/twisted/internet/posixbase.py", line 382, in listenMulticast
  File "./lib/twisted/internet/udp.py", line 178, in startListening
  File "./lib/twisted/internet/udp.py", line 198, in _bindSocket
CannotListenError: Couldn't listen on any:1900: [Errno 48] Address already in use.

   Sonos                           Adding ZonePlayer: 192.168.7.118, RINCON_7828CA2CA4E401400, Basement Sonos
   Sonos Error                     exception in deviceStartComm(Basement Sonos): need more than 0 values to unpack
   Sonos                           Adding ZonePlayer: 192.168.7.116, RINCON_7828CA22D40601400, Living Room Sonos
   Sonos Error                     exception in deviceStartComm(Living Room Sonos): need more than 0 values to unpack
   Sonos                           SoCo Reactor Ignition...

Posted on
Fri Apr 27, 2018 1:49 pm
bjones offline
Posts: 21
Joined: Oct 22, 2017

Re: Plugin not finding Play: 1's

Thanks, Nick! This has been resolved.

Looks like HD Homerun was messing with that. I wiped that out of existence and it is working as expected.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests