stephen / airsonos

:musical_note: AirPlay to Sonos
MIT License
2.1k stars 255 forks source link

Extended Wifi Network Discovery Issue #198

Open caracturus opened 9 years ago

caracturus commented 9 years ago

I have AirSonos installed on a Synology DS1512+ and it works fine. Many thanks. Great program! However, I have a wifi router added to the network as an extension of the main Wifi network. The Sonos devices are discovered fine if you are on the main Wifi network but are not discovered on the extended Wifi network. Is there anything I can do here?

Thanks.

stephen commented 9 years ago

Hmm, I'm not familiar enough with how discovery happens across an extended network. Does the official controller work across that setup? It'd be nice to see what node-sonos is seeing for network discovery and comparing that to what the sonos controller is doing.

The former you could get by running airsonos --verbose, but the latter would be more tricky.. You'd have to install pcap software (i.e. https://www.wireshark.org/) and record the outgoing network transmission while starting up the official sonos controller. Is that a possibility?

caracturus commented 9 years ago

Sorry for the silence. I will try to get some data and come back to you! Thanks.

caracturus commented 9 years ago

I can confirm that the Sonos devices work across the extended Wifi network. I have installed wireshark but I am not sure what I am looking for or the expression to write - suggestions welcome!

Also I am using Docker on Synology to run AirSonos with the following command line:

docker run -d --restart=always --net="host" --name="airsonos" -p 5000-5050:5000-5050/tcp justintime/airsonos

Where do I put the --verbose in the above line please. Thanks!