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

Airsonos never completes search #215

Open
sehlstrom opened this issue Sep 13, 2015 · 3 comments
Open

Airsonos never completes search #215

sehlstrom opened this issue Sep 13, 2015 · 3 comments

Comments

@sehlstrom
Copy link

I have followed the instruction in issue #212 however I do not get it to work.

Airsonos never completes the search. Actually, I don't get any output after "Searching for Sonos devices on network..." appears on the screen and I have had to terminate using ctrl + c.

Running

sudo airsonos --diagnostics

gives the following output (truncated after first of four devices in the network). So it seems airsonos finds my Sonos speakers but never prints the output of the search nor ends the script.

AirSonos Diagnostics
node version     v0.10.40
operating sys    linux (arm)
ip address   10.0.1.191

Searching for Sonos devices on network...

Device  {"host":"10.0.1.21","port":1400,"state":{}} (ZPS1)
`- attrs:   {"CurrentZoneName":"Vardagsrum",
        "CurrentIcon":"x-rincon-roomicon:living",
        "CurrentConfiguration":"1"}
`- info:    {"SoftwareVersion":"29.5-91030",
        "DisplaySoftwareVersion":"5.4",
        "HardwareVersion":"1.8.3.7-2",
        "IPAddress":"10.0.1.21",
        "MACAddress":"XX:XX:XX:XX:XX:14",
        "CopyrightInfo":"© 2004-2014 Sonos, Inc. All Rights Reserved.",
        "ExtraInfo":"OTP: ",
        "HTAudioIn":"0"}
`- topology:    [{"group":"RINCON_000E58B7987F01400:3",
        "coordinator":"false",
        "wirelessmode":"0",
        "hasconfiguredssid":"0",
        "channelfreq":"2462",
        "behindwifiext":"0",
        "wifienabled":"1",
        "location":"http://10.0.1.23:1400/xml/device_description.xml",
        "version":"29.5-91030",
        "mincompatibleversion":"28.0-00000",
        "legacycompatibleversion":"24.0-0000",
        "bootseq":"4",
        "uuid":"RINCON_B8E93737EF7601400",
        "name":"Sovrum"},{"group":"RINCON_B8E9375C6C6E01400:2",
        "coordinator":"false",
        "htsat":"true",
        "wirelessmode":"0",
        "hasconfiguredssid":"0",
        "channelfreq":"5200",
        "behindwifiext":"0",
        "wifienabled":"1",
        "location":"http://10.0.1.22:1400/xml/device_description.xml",
        "version":"29.5-91030",
        "mincompatibleversion":"28.0-00000",
        "legacycompatibleversion":"24.0-0000",
        "bootseq":"12039",
        "uuid":"RINCON_B8E9375C6C6E01400",
        "name":"Vardagsrum"},{"group":"RINCON_000E58B7987F01400:3",
        "coordinator":"true",
        "wirelessmode":"0",
        "hasconfiguredssid":"0",
        "channelfreq":"2462",
        "behindwifiext":"0",
        "wifienabled":"1",
        "location":"http://10.0.1.20:1400/xml/device_description.xml",
        "version":"29.5-91030",
        "mincompatibleversion":"28.0-00000",
        "legacycompatibleversion":"24.0-0000",
        "bootseq":"20",
        "uuid":"RINCON_000E58B7987F01400",
        "name":"Vardagsrum"},{"group":"RINCON_B8E9375CE31401400:7",
        "coordinator":"false",
        "htsat":"true",
        "wirelessmode":"0",
        "hasconfiguredssid":"0",
        "channelfreq":"5200",
        "behindwifiext":"0",
        "wifienabled":"1",
        "location":"http://10.0.1.21:1400/xml/device_description.xml",
        "version":"29.5-91030",
        "mincompatibleversion":"28.0-00000",
        "legacycompatibleversion":"24.0-0000",
        "bootseq":"12037",
        "uuid":"RINCON_B8E9375CE31401400",
        "name":"Vardagsrum"}]```
@rudivandrunen-spronq
Copy link

got the very same behaviour. RPi 2, airsonos 0.2.5, node v4.2.4.
Found the workaround to this issue: it worked when I removed the IP number alias on eth0 I set up.

Rudi.

@pencerw
Copy link

pencerw commented Apr 20, 2016

@rudivandrunen-spronq can you clarify your fix at all? I'm getting the same issue but don't think I have any IP aliases set up.

@bbrendon
Copy link

bbrendon commented May 1, 2016

I have something similar. When I run airsonos --diagnostics the search never completes. When I run plain ol' airsonos it only finds one speaker. This is a raspberry pi 1 with node v4.4.3

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

4 participants