Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Help installing on Asustor NAS #41

Closed
Fidicinal opened this issue Oct 6, 2014 · 2 comments
Closed

Help installing on Asustor NAS #41

Fidicinal opened this issue Oct 6, 2014 · 2 comments

Comments

@Fidicinal
Copy link

I have a PlayBar and a Play:1 installed only. I initially had a Bridge but I couldn't get airsonos to recognize any components at all until I got rid of the bridge. It now seems to work properly running on my macbook. I got the package installed in a debian chroot on the Asustor NAS but when I run it I get the following output:

Searching for Sonos devices on network...
Setting up AirSonos for Living Room {192.168.0.10:1400}

Error: dns service error: unknown
at new Advertisement (/usr/lib/node_modules/airsonos/node_modules/nodetunes/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create as createAdvertisement
at NodeTunes. (/usr/lib/node_modules/airsonos/node_modules/nodetunes/lib/server.js:65:21)
at Server.g (events.js:180:16)
at Server.emit (events.js:92:17)
at net.js:1055:10
at process._tickCallback (node.js:419:13)

Here is the output of --diagnostics:

*** WARNING *** The program 'nodejs' 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=nodejs
*** WARNING *** The program 'nodejs' 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=nodejs&f=DNSServiceRegister
AirSonos Diagnostics
node version v0.10.32
operating sys linux (ia32)

Searching for Sonos devices on network...

Device {"host":"192.168.0.18","port":1400} (ZPS1)
- attrs: {"CurrentZoneName":"Kitchen", "CurrentIcon":"x-rincon-roomicon:kitchen", "CurrentConfiguration":"1"} - info: {"SoftwareVersion":"27.2-80271",
"DisplaySoftwareVersion":"5.1",
"HardwareVersion":"1.8.3.7-1",
"IPAddress":"192.168.0.18",
"MACAddress":"XX:XX:XX:XX:XX:34",
"CopyrightInfo":"© 2004-2014 Sonos, Inc. All Rights Reserved.",
"ExtraInfo":"OTP: ",
"HTAudioIn":"0"}
`- topology: [{"group":"RINCON_000E58B9C13C01400:13",
"coordinator":"true",
"wirelessmode":"1",
"channelfreq":"2442",
"behindwifiext":"0",
"location":"http://192.168.0.10:1400/xml/device_description.xml",
"version":"27.2-80271",
"mincompatibleversion":"26.0-00000",
"legacycompatibleversion":"24.0-0000",
"bootseq":"12",
"uuid":"RINCON_000E58B9C13C01400",
"name":"Living Room"},{"group":"RINCON_000E58B9C13C01400:13",
"coordinator":"false",
"wirelessmode":"1",
"channelfreq":"2442",
"behindwifiext":"0",
"location":"http://192.168.0.18:1400/xml/device_description.xml",
"version":"27.2-80271",
"mincompatibleversion":"26.0-00000",
"legacycompatibleversion":"24.0-0000",
"bootseq":"5",
"uuid":"RINCON_B8E9375FFB3401400",
"name":"Kitchen"}]

Device {"host":"192.168.0.10","port":1400} (ZPS9)
- attrs: {"CurrentZoneName":"Living Room", "CurrentIcon":"x-rincon-roomicon:living", "CurrentConfiguration":"1"} - info: {"SoftwareVersion":"27.2-80271",
"DisplaySoftwareVersion":"5.1",
"HardwareVersion":"1.9.1.10-1",
"IPAddress":"192.168.0.10",
"MACAddress":"XX:XX:XX:XX:XX:3C",
"CopyrightInfo":"© 2004-2014 Sonos, Inc. All Rights Reserved.",
"ExtraInfo":"OTP: ",
"HTAudioIn":"21"}
`- topology: [{"group":"RINCON_000E58B9C13C01400:13",
"coordinator":"false",
"wirelessmode":"1",
"channelfreq":"2442",
"behindwifiext":"0",
"location":"http://192.168.0.18:1400/xml/device_description.xml",
"version":"27.2-80271",
"mincompatibleversion":"26.0-00000",
"legacycompatibleversion":"24.0-0000",
"bootseq":"5",
"uuid":"RINCON_B8E9375FFB3401400",
"name":"Kitchen"},{"group":"RINCON_000E58B9C13C01400:13",
"coordinator":"true",
"wirelessmode":"1",
"channelfreq":"2442",
"behindwifiext":"0",
"location":"http://192.168.0.10:1400/xml/device_description.xml",
"version":"27.2-80271",
"mincompatibleversion":"26.0-00000",
"legacycompatibleversion":"24.0-0000",
"bootseq":"12",
"uuid":"RINCON_000E58B9C13C01400",
"name":"Living Room"}]

Thanks

@stephen
Copy link
Owner

stephen commented Oct 10, 2014

This is likely a bug with https://github.com/agnat/node_mdns - it seems the copy of avahi on your machine doesn't play well with the pacakge. Might be more conducive to debug the issue there.

@stephen
Copy link
Owner

stephen commented Oct 16, 2014

Closing for now if this is only an issue with the mdns package, as it's not in the scope of airsonos. Feel free to reopen if there are other issues here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants