-
Notifications
You must be signed in to change notification settings - Fork 256
Stuck on Searching for Sonos (--diagnostics works though) #252
Comments
Best fix I have for you right now is if you're using a bridge, un plug that and connect the speaker to your router via ethernet. |
I'm also having the same issue, running. node version v0.10.40 stuck at "Searching for Sonos devices on network..." disconnected the bridge and hooked up the playbar directly ethernet. |
Not sure at this point, will let you know as soon as possible. A good thing to try in the meantime is using node v12.4 and see if that does anything. Also check various open/closed issues for your version of Linux (as linux is a general term) and see if people have had any similar issues and possible solutions. As you can see his issue is Mac OSX, although it has similar framework, it still can have different issues and different problems that persist from different areas. |
I posted on #239 It seems like it has something to do with topology. If I remove all items from my PB+SUB+LS+RS combo then its detected without problems. I also tried plugging ALL items in using ethernet still no go (without bridge.) If there is something that I can test for you please let me know. |
Just to provide some more info, I'm also experiencing this with the following on OS X 10.11.2:
|
I'm having a similar issue. I've just tried this out and with node
With all three the --diagnostics flag shows all my stuff. With the first the program runs without error but never finds my devices. With the last two it throws the following error: node@airsonos:~$ airsonos --verbose
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Searching for Sonos devices on network...
/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/bluebird/js/main/promise.js:677
throw e;
^
Error: Method Not Allowed
at maybeWrapAsError (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/bluebird/js/main/util.js:70:12)
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/bluebird/js/main/promise_resolver.js:41:50
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/lib/logicalDevice.js:112:20
at done (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:126:15)
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:32:16
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/lib/logicalDevice.js:106:22
at done (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:126:15)
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:32:16
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:251:17
at done (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:126:15)
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:32:16
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:248:21
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/async/lib/async.js:572:34
at /home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/lib/events/volumeListener.js:24:14
at Listener.<anonymous> (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/lib/events/listener.js:123:9)
at Request.self.callback (/home/node/.npm-packages/lib/node_modules/airsonos/node_modules/sonos/node_modules/request/request.js:129:22) Here's the first part of the diagnostics: airsonos --diagnostics
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
AirSonos Diagnostics
node version v4.0.0
operating sys linux (x64)
ip address 192.168.15.69
Searching for Sonos devices on network... |
Hello wondering if there was any headway in figuring out why airsonos does not work with PB/SUB/LS?RS combo. |
This is just to add results from experimenting, it also appears for me to be PB/SUB/L/R that breaks things. |
I am also having this issue where I just get Searching for Sonos devices on network... All the devices are on the same WiFi network, and the pi can see the devices. In fact, if I manually run the search function from the sonos library, it finds all 6 devices on the network. I am not familiar with node or js for that matter, so I don't really know where to start debugging this. I just know that the search can find the speakers, but the airsonos is not running properly. I am using airsonos 0.2.6 output of diagnostics:
output of search:
If anyone can give me a few pointers, I can do some more diagnostics. |
Hi,
So i'm on the below.
OSX 11.10.2 (El Capitan)
Node 4.2.3
--configuration detects the equipment but running it without, it just hangs....
XXX:node_modules user$ airsonos --diagnostics
AirSonos Diagnostics
node version v4.2.3
operating sys darwin (x64)
ip address 127.94.0.1
Searching for Sonos devices on network...
Device {"host":"192.168.1.116","port":1400,"state":{}} (ZPS9)
- attrs: {"CurrentZoneName":"Living Room", "CurrentIcon":"x-rincon-roomicon:living", "CurrentConfiguration":"1"}
- info: {"SoftwareVersion":"31.3-22220","DisplaySoftwareVersion":"6.0",
"HardwareVersion":"1.9.1.10-2",
"IPAddress":"192.168.1.116",
"MACAddress":"XX:XX:XX:XX:XX:2D",
"CopyrightInfo":"© 2004-2015 Sonos, Inc. All Rights Reserved.",
"ExtraInfo":"OTP: ",
"HTAudioIn":"21"}
`- topology: [{"group":"RINCON_5CAAFD1A502D01400:1",
"coordinator":"true",
"wirelessmode":"1",
"hasconfiguredssid":"1",
"channelfreq":"2437",
"behindwifiext":"0",
"wifienabled":"1",
"location":"http://192.168.1.116:1400/xml/device_description.xml",
"version":"31.3-22220",
"mincompatibleversion":"29.0-00000",
"legacycompatibleversion":"24.0-00000",
"bootseq":"5",
"uuid":"RINCON_5CAAFD1A502D01400",
"name":"Living Room"}]
The text was updated successfully, but these errors were encountered: