Can't select Sonos Favourite or Playlist

Posted on
Fri Jan 06, 2017 5:20 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Can't select Sonos Favourite or Playlist

Hi Nick,

I've updated the plugin to latest version and when setting up a new action for one of my Play 1's I couldn't select either a favourite or a playlist, as in there are none to select even though I have both in the Sonos app.. My previous actions worked fine but couldn't create a new one. I then deleted my 2 Play 1 devices and reconnected them and no change, unfortunatley I now can only create an action to play or stop, can't select a source .

Any suggestions?

Colly

Posted on
Fri Jan 06, 2017 5:50 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Can't select Sonos Favourite or Playlist

Please restart the plugin in debug mode and post the output. It sounds like subscriptions are not working for your ZonePlayers. Thanks.

Colly wrote:
Hi Nick,

I've updated the plugin to latest version and when setting up a new action for one of my Play 1's I couldn't select either a favourite or a playlist, as in there are none to select even though I have both in the Sonos app.. My previous actions worked fine but couldn't create a new one. I then deleted my 2 Play 1 devices and reconnected them and no change, unfortunatley I now can only create an action to play or stop, can't select a source .

Any suggestions?

Colly

Posted on
Fri Jan 06, 2017 6:03 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Can't select Sonos Favourite or Playlist

Have I posted the correct info below? Still a bit of an Indigo novice...

Reloading plugin "Sonos 1.0.2"
Stopping plugin "Sonos 1.0.2" (pid 5760)
Stopped plugin "Sonos 1.0.2"
Starting plugin "Sonos 1.0.2" (pid 5770)
Started plugin "Sonos 1.0.2"
Sonos Your plugin version, v1.0.2, is current.

6 Jan 2017 23:57:49
Z-Wave Debug RCVD requestMeterLevel: 01 18 00 04 00 17 12 32 02 21 64 00 00 47 66 02 58 00 00 47 66 00 00 00 00 C9
Z-Wave Debug . . requestMeterLevel: node 023, endpoint None, meterType 01, raw value 6400...
Z-Wave Debug . . requestMeterLevel: 18.278 kWh (float: 18.278000)
Z-Wave Debug RCVD requestMeterLevel: 01 18 00 04 00 17 12 32 02 21 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83
Z-Wave Debug . . requestMeterLevel: node 023, endpoint None, meterType 01, raw value 7400...
Z-Wave Debug . . requestMeterLevel: 0.000 W (float: 0.000000)

6 Jan 2017 23:58:22
Z-Wave Debug RCVD requestMeterLevel: 01 10 00 04 00 03 0A 32 02 21 34 00 00 00 00 00 00 C7
Z-Wave Debug . . requestMeterLevel: node 003, endpoint None, meterType 01, raw value 3400...
Z-Wave Debug . . requestMeterLevel: 0.0 W (float: 0.000000)

6 Jan 2017 23:58:38
Sonos Error SOAPSend Error: HTTPConnectionPool(host='192.168.1.22', port=1400): Max retries exceeded with url: /MediaServer/ContentDirectory/Control (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10d7fe8d0>: Failed to establish a new connection: [Errno 60] Operation timed out',))
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 257, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2079, in closedPrefsConfigUi
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2380, in getSonosFavorites
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 588, in SOAPSend
UnboundLocalError: local variable 'response' referenced before assignment

Sonos Adding ZonePlayer: 192.168.1.9, RINCON_5CAAFD2D9AD001400, Sonos Kitchen
Sonos Adding ZonePlayer: 192.168.1.8, RINCON_5CAAFD2D999E01400, Sonos Master Bedroom

Posted on
Fri Jan 06, 2017 6:05 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Can't select Sonos Favourite or Playlist

Is 192.168.1.22 the IP address of one of your ZonePllayers? Looks like there is no response from that IP address.

Colly wrote:
Have I posted the correct info below? Still a bit of an Indigo novice...

Reloading plugin "Sonos 1.0.2"
Stopping plugin "Sonos 1.0.2" (pid 5760)
Stopped plugin "Sonos 1.0.2"
Starting plugin "Sonos 1.0.2" (pid 5770)
Started plugin "Sonos 1.0.2"
Sonos Your plugin version, v1.0.2, is current.

6 Jan 2017 23:57:49
Z-Wave Debug RCVD requestMeterLevel: 01 18 00 04 00 17 12 32 02 21 64 00 00 47 66 02 58 00 00 47 66 00 00 00 00 C9
Z-Wave Debug . . requestMeterLevel: node 023, endpoint None, meterType 01, raw value 6400...
Z-Wave Debug . . requestMeterLevel: 18.278 kWh (float: 18.278000)
Z-Wave Debug RCVD requestMeterLevel: 01 18 00 04 00 17 12 32 02 21 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83
Z-Wave Debug . . requestMeterLevel: node 023, endpoint None, meterType 01, raw value 7400...
Z-Wave Debug . . requestMeterLevel: 0.000 W (float: 0.000000)

6 Jan 2017 23:58:22
Z-Wave Debug RCVD requestMeterLevel: 01 10 00 04 00 03 0A 32 02 21 34 00 00 00 00 00 00 C7
Z-Wave Debug . . requestMeterLevel: node 003, endpoint None, meterType 01, raw value 3400...
Z-Wave Debug . . requestMeterLevel: 0.0 W (float: 0.000000)

6 Jan 2017 23:58:38
Sonos Error SOAPSend Error: HTTPConnectionPool(host='192.168.1.22', port=1400): Max retries exceeded with url: /MediaServer/ContentDirectory/Control (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10d7fe8d0>: Failed to establish a new connection: [Errno 60] Operation timed out',))
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 257, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2079, in closedPrefsConfigUi
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2380, in getSonosFavorites
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 588, in SOAPSend
UnboundLocalError: local variable 'response' referenced before assignment

Sonos Adding ZonePlayer: 192.168.1.9, RINCON_5CAAFD2D9AD001400, Sonos Kitchen
Sonos Adding ZonePlayer: 192.168.1.8, RINCON_5CAAFD2D999E01400, Sonos Master Bedroom

Posted on
Fri Jan 06, 2017 6:10 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Can't select Sonos Favourite or Playlist

No, have 2 Play 1's as highlighted below - these are the correct IP's.

Sonos Adding ZonePlayer: 192.168.1.9, RINCON_5CAAFD2D9AD001400, Sonos Kitchen
Sonos Adding ZonePlayer: 192.168.1.8, RINCON_5CAAFD2D999E01400, Sonos Master Bedroom

Posted on
Fri Jan 06, 2017 6:11 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Can't select Sonos Favourite or Playlist

Your reference ZonePlayer in the plugin configuration should then be one of these IP addresses. Please check that. Thanks.

Colly wrote:
No, have 2 Play 1's as highlighted below - these are the correct IP's.

Sonos Adding ZonePlayer: 192.168.1.9, RINCON_5CAAFD2D9AD001400, Sonos Kitchen
Sonos Adding ZonePlayer: 192.168.1.8, RINCON_5CAAFD2D999E01400, Sonos Master Bedroom

Posted on
Fri Jan 06, 2017 6:18 pm
Colly offline
Posts: 535
Joined: Jan 16, 2016
Location: Ireland

Re: Can't select Sonos Favourite or Playlist

:oops: :oops:
That was it. Had a day without electricity yesterday and when everything got back up and running the Play 1's had different IP's - I guess that must have been my problem as I just changed them at device level..
Thanks for the quick and helpful response - have been really enjoying the Sonos kicking in as I get to the bottom of the stairs each morning :) :)

Posted on
Fri Jan 06, 2017 7:06 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Can't select Sonos Favourite or Playlist

Cool! Glad you got it working.

Colly wrote:
:oops: :oops:
That was it. Had a day without electricity yesterday and when everything got back up and running the Play 1's had different IP's - I guess that must have been my problem as I just changed them at device level..
Thanks for the quick and helpful response - have been really enjoying the Sonos kicking in as I get to the bottom of the stairs each morning :) :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests