nfarina / homebridge-sonos

Sonos plugin for homebridge: https://github.com/nfarina/homebridge
155 stars 52 forks source link

No Response #37

Closed lrozema closed 7 years ago

lrozema commented 7 years ago

On the Homebridge app it says No Response, This accessory is not responding.

Whenever Home app is started I see this:

[9/16/2016, 10:57:49 AM] [Speakers] Ignoring request; Sonos device has not yet been discovered.

The plugin says when starting Homebridge:

[9/16/2016, 10:57:48 AM] [Speakers] Found device at 192.168.0.15
  sonos Sonos.getZoneAttrs(undefined, %j) +0ms
  sonos Sonos.request("/DeviceProperties/Control", "\"urn:schemas-upnp-org:service:DeviceProperties:1#GetZoneAttributes\"", "\"<u:GetZoneAttributes xmlns:u=
\"urn:schemas-upnp-org:service:DeviceProperties:1\"></u:SetZoneAttributes>\"", "u:GetZoneAttributesResponse", undefined) +1ms
  sonos Sonos.getTopology(undefined) +44ms
  sonos <?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="/xml/review.xsl"?><ZPSupportInfo><ZonePlayers><ZonePlayer group='RINCON_B8E937E5650001400:0' coordinator='true' wirel
essmode='1' wirelessleafonly='0' hasconfiguredssid='1' channelfreq='2437' behindwifiext='0' wifienabled='1' location='http://192.168.0.15:1400/xml/device_de
scription.xml' version='33.15-32291' mincompatibleversion='32.0-00000' legacycompatibleversion='25.0-00000' bootseq='50' uuid='RINCON_B8E937E5650001400'>Liv
ing Room</ZonePlayer></ZonePlayers><MediaServers><MediaServer location='192.168.0.23:3401' uuid='mobile-iPhone-CB81E3CA-A7DB-4345-A3BE-E88802B76FCA' version
='' canbedisplayed='false' unavailable='false' type='0' ext=''>Lourens iPhone</MediaServer></MediaServers></ZPSupportInfo> +60ms
OnAfterConnect
  sonos Sonos.getZoneAttrs(undefined, %j) +69ms
  sonos Sonos.request("/DeviceProperties/Control", "\"urn:schemas-upnp-org:service:DeviceProperties:1#GetZoneAttributes\"", "\"<u:GetZoneAttributes xmlns:u=
\"urn:schemas-upnp-org:service:DeviceProperties:1\"></u:SetZoneAttributes>\"", "u:GetZoneAttributesResponse", undefined) +1ms
  sonos Sonos.getTopology(undefined) +51ms
  sonos <?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="/xml/review.xsl"?><ZPSupportInfo><ZonePlayers><ZonePlayer group='RINCON_B8E937E5650001400:0' coordinator='true' wirel
essmode='1' wirelessleafonly='0' hasconfiguredssid='1' channelfreq='2437' behindwifiext='0' wifienabled='1' location='http://192.168.0.15:1400/xml/device_de
scription.xml' version='33.15-32291' mincompatibleversion='32.0-00000' legacycompatibleversion='25.0-00000' bootseq='50' uuid='RINCON_B8E937E5650001400'>Liv
ing Room</ZonePlayer></ZonePlayers><MediaServers><MediaServer location='192.168.0.23:3401' uuid='mobile-iPhone-CB81E3CA-A7DB-4345-A3BE-E88802B76FCA' version
='' canbedisplayed='false' unavailable='false' type='0' ext=''>Lourens iPhone</MediaServer></MediaServers></ZPSupportInfo> +10ms

My config contains this:

                {
                        "accessory": "Sonos",
                        "name": "Speakers",
                        "room": "LIVING ROOM"
                }

What am I doing wrong?

lrozema commented 7 years ago

Ok so LIVING ROOM as written in the iOS Sonos app actually is Living Room when looking in the OS X App, now it works.