Sonos

Posted on
Sun Aug 03, 2014 5:25 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos

Glad to hear it is working. I did notice that the GA does not perfectly restore the new "playlist" source. A playlist source is created when one selects and album or artist from the Sonos app itself and adds to the queue. I'm working on that.

haavarda wrote:
nlagaros wrote:
I think I fixed the issue with the radio station flipping back after the group announcement. Can you please download the latest version and give this another try. Thanks.

haavarda wrote:
Has there any movement on this? I am waiting eagerly because my announcement system is down due to some error in this plugin.
There has been done some great work on this, so I hope these small issues can be fixed!

Håvard



The new version works. I can restore play back, and it loads the line in again.

Thanks for the update!


Håvard

Posted on
Mon Aug 04, 2014 7:04 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos

Hi Nick,

I was able to get my Sonos working In Indigo but for some reason I do not see any custom stats. I can control it using triggers and schedules. but not seeing any stats when I select the device. I'd appreciate any help or direction you could offer.

Thanks,

Larry
Attachments
Screen Shot 2014-08-04 at 8.59.34 PM.png
Screen Shot 2014-08-04 at 8.59.34 PM.png (108.85 KiB) Viewed 9072 times

Larry

Insteon, Z Wave, Hue, Sonos

Posted on
Tue Aug 05, 2014 5:22 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos

Larry,

It appears that the SonosEvents process is not forwarding information to the main plugin. Can you post the contents of the coherence.log file in the Sonos plugin directory.

Thanks,
Nick

Indy_Larry wrote:
Hi Nick,

I was able to get my Sonos working In Indigo but for some reason I do not see any custom stats. I can control it using triggers and schedules. but not seeing any stats when I select the device. I'd appreciate any help or direction you could offer.

Thanks,

Larry

Posted on
Tue Aug 05, 2014 8:35 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos

Hi Nick,

I installed the desktop app thinking maybe the plugin required it. But still didn't make a difference. Thanks for your help.

WARN coherence Aug 03 15:57:50 Coherence UPnP framework version 0.6.6.2 starting... (coherence/base.py:283)
WARN coherence Aug 03 15:57:50 hostname can't be resolved, maybe a system misconfiguration? (coherence/base.py:291)
WARN coherence Aug 03 15:57:50 detection of own ip failed, using 127.0.0.1 as own address, functionality will be limited (coherence/base.py:308)
WARN webserver Aug 03 15:57:50 WebServer on port 64107 ready (coherence/base.py:124)
./lib/coherence/extern/louie.py:44: UserWarning: extern.louie will soon be deprecated in favor of coherence.dispatcher.
warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.")
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.
WARN event_protocol Aug 03 16:27:21 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:21 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./SonosEvents.py", line 275, in zone_player_found
client.audio_in.subscribe_for_variable('AudioInputName', Son_ZP[SonosPlayer.SonosCount_ZP].state_variable_change)
exceptions.AttributeError: 'ZonePlayerClient' object has no attribute 'audio_in'
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./SonosEvents.py", line 251, in media_renderer_found
client.av_transport.subscribe_for_variable('LastChange', Son_MR[SonosPlayer.SonosCount_MR].state_variable_change)
File "./lib/coherence/upnp/services/clients/av_transport_client.py", line 30, in subscribe_for_variable
self.service.subscribe_for_variable(var_name, instance=0, callback=callback,signal=signal)
File "./lib/coherence/upnp/core/service.py", line 267, in subscribe_for_variable
variable.subscribe(callback)
File "./lib/coherence/upnp/core/variable.py", line 197, in subscribe
callback( self)
File "./SonosEvents.py", line 211, in state_variable_change
os.system(indigohost + "\'indigo.server.log(\"SonosEvents: Error Publishing: " + clean_debug(msg.encode('utf-8')) + "\")\'")
exceptions.UnboundLocalError: local variable 'msg' referenced before assignment
WARN event_protocol Aug 03 16:27:23 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)

Larry

Insteon, Z Wave, Hue, Sonos

Posted on
Wed Aug 06, 2014 7:02 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos

This is the smoking gun:

WARN coherence Aug 03 15:57:50 hostname can't be resolved, maybe a system misconfiguration? (coherence/base.py:291)
WARN coherence Aug 03 15:57:50 detection of own ip failed, using 127.0.0.1 as own address, functionality will be limited (coherence/base.py:308)

Do you have DNS and your server's hostname properly setup on the machine running Indigo? What version of OS X? Quite a few folks have had this issue and it turned out to be misconfiguration of the host.

Indy_Larry wrote:
Hi Nick,

I installed the desktop app thinking maybe the plugin required it. But still didn't make a difference. Thanks for your help.

WARN coherence Aug 03 15:57:50 Coherence UPnP framework version 0.6.6.2 starting... (coherence/base.py:283)
WARN coherence Aug 03 15:57:50 hostname can't be resolved, maybe a system misconfiguration? (coherence/base.py:291)
WARN coherence Aug 03 15:57:50 detection of own ip failed, using 127.0.0.1 as own address, functionality will be limited (coherence/base.py:308)
WARN webserver Aug 03 15:57:50 WebServer on port 64107 ready (coherence/base.py:124)
./lib/coherence/extern/louie.py:44: UserWarning: extern.louie will soon be deprecated in favor of coherence.dispatcher.
warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.")
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.
WARN event_protocol Aug 03 16:27:21 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:21 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./SonosEvents.py", line 275, in zone_player_found
client.audio_in.subscribe_for_variable('AudioInputName', Son_ZP[SonosPlayer.SonosCount_ZP].state_variable_change)
exceptions.AttributeError: 'ZonePlayerClient' object has no attribute 'audio_in'
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 16:27:22 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./SonosEvents.py", line 251, in media_renderer_found
client.av_transport.subscribe_for_variable('LastChange', Son_MR[SonosPlayer.SonosCount_MR].state_variable_change)
File "./lib/coherence/upnp/services/clients/av_transport_client.py", line 30, in subscribe_for_variable
self.service.subscribe_for_variable(var_name, instance=0, callback=callback,signal=signal)
File "./lib/coherence/upnp/core/service.py", line 267, in subscribe_for_variable
variable.subscribe(callback)
File "./lib/coherence/upnp/core/variable.py", line 197, in subscribe
callback( self)
File "./SonosEvents.py", line 211, in state_variable_change
os.system(indigohost + "\'indigo.server.log(\"SonosEvents: Error Publishing: " + clean_debug(msg.encode('utf-8')) + "\")\'")
exceptions.UnboundLocalError: local variable 'msg' referenced before assignment
WARN event_protocol Aug 03 16:27:23 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 03 19:19:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 04 20:35:51 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "./lib/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "./lib/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "./lib/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "./lib/coherence/dispatcher.py", line 81, in deferred_emit
dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs))
--- <exception caught here> ---
File "./lib/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./lib/coherence/dispatcher.py", line 17, in __call__
return self.callback(*args, **kw)
File "./lib/coherence/upnp/devices/control_point.py", line 151, in remove_client
client.remove()
File "./lib/coherence/upnp/devices/media_renderer_client.py", line 79, in remove
self.rendering_control.remove()
File "./lib/coherence/upnp/services/clients/rendering_control_client.py", line 21, in remove
self.service.remove()
exceptions.AttributeError: 'NoneType' object has no attribute 'remove'
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)
WARN event_protocol Aug 05 21:17:53 response with error code '412' received upon our 'subscribe' request (coherence/upnp/core/event.py:233)

Posted on
Wed Aug 06, 2014 7:44 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos

Wow Nick, you pegged it. Thanks for you quick replies and your help getting this figured out for me.

Larry

Insteon, Z Wave, Hue, Sonos

Posted on
Thu Aug 07, 2014 4:51 am
Seeker offline
Posts: 440
Joined: Aug 05, 2013

Re: Sonos

can you explain what you did to fix this?

Posted on
Thu Aug 07, 2014 7:47 pm
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos

Hey Nick,

In OS X Server I changed the hostname of my HA server from a server.mynetworkname.private (I had done some testing) to serverpro.local. after doing this, I restarted Indigo server and my router and noticed that the stats started to populate.

I hope this helps you and possibly others.

Larry

Larry

Insteon, Z Wave, Hue, Sonos

Posted on
Tue Aug 12, 2014 12:23 pm
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Sonos

Seem to have lost the ability to have the plugin make an announcement.

Now, when I try to have an announcement made, the following error is reported in the log:
Code: Select all
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 159, in actionZP_announcement
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 898, in actionAnnouncement
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 884, in actionStates
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 255, 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


Any suggestions? I've been out of the loop for about 5 weeks, but have updated to latest plugin / Indigo.

Posted on
Mon Aug 18, 2014 6:32 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos

Are all your Sonos ZonePlayers online? It seems like something base. BTW, I just updated the plugin - added an option to stream TTS directly from Google.

Posted on
Sun Aug 31, 2014 3:02 pm
DU Lou offline
Posts: 279
Joined: Mar 08, 2012
Location: Florida

Re: Sonos

I am having a blast playing with group announcements. How do I tell SONOS to resume playing "TV" on my playbar and surrounds after an announcement has been executed?

Thanks,
~Lou

Posted on
Sun Aug 31, 2014 3:25 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos

Good question. I still have not unboxed my Playbar yet. I will see what I can do once I get it plugged in.

DU Lou wrote:
I am having a blast playing with group announcements. How do I tell SONOS to resume playing "TV" on my playbar and surrounds after an announcement has been executed?

Thanks,
~Lou

Posted on
Sun Aug 31, 2014 3:47 pm
DU Lou offline
Posts: 279
Joined: Mar 08, 2012
Location: Florida

Re: Sonos

nlagaros wrote:
Good question. I still have not unboxed my Playbar yet. I will see what I can do once I get it plugged in.

DU Lou wrote:
I am having a blast playing with group announcements. How do I tell SONOS to resume playing "TV" on my playbar and surrounds after an announcement has been executed?

Thanks,
~Lou


Wow that is discipline! I think I waited a whole 3.5 minutes after FedEx delivered mine before I opened it... :D
In any case curious to see what you can determine. I wonder if what is going on is a similar behavior to that of a playlist restarting after a GA executes rather than picking up where it left off??

~Lou

Posted on
Mon Sep 01, 2014 8:00 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Sonos

The soundboard with the subwoofer + 4 speakers in the corners. That's a real man cave. The whole house shakes. Better that cinema.


Sent from my iPhone using Tapatalk

Posted on
Tue Sep 02, 2014 11:36 am
Indy_Larry offline
Posts: 133
Joined: Dec 03, 2013
Location: Indianapolis

Re: Sonos

Sonos just announced they now work over existing wifi network for basic listening.

Larry

Insteon, Z Wave, Hue, Sonos

Who is online

Users browsing this forum: No registered users and 3 guests