-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No Sonos zone found" #9
Comments
If you installed the app from my launchpad repository or if you bold the app from source you can start the app with flag --debug as the following:
Else if you installed the app from SNAP then type the following:
The discovering section looks like that:
|
Thanks! Looks like it's not specific to this app. The same discovery issue is occurring on all 3rd part apps supporting Sonos, eg. VOX, airsonos. Seems like they've restricted it on purpose. |
This is no longer an issue! |
I have this error. Can it be because i have my Sonos system connected via a sonos bridge? |
Hi. Seems there isn't any response from the sonos. You have to be in the same wifi or wired network as the sonos. The app works like the android or ios app, so if it works with one of these, it will work with the app. |
Hi janbar. My topology is like this |
The timeout message is "normal": the app is awaiting a feedback from the device. Also that timeout seems the app found a device... mmm. |
After checking my code, the timeout occurs when discovering devices. So for your case none player device has been found. |
Maybe its the looking after "...player:1", that's the culprit. |
It should be. But the sonos specs are not opened and it requires reverse engineering. If you know C++ a little you can try to update the code here:
to print the discovered device string for your system. Then to try to match the string updating the code here:
In the README file of the project I explain how to compile the app on Ubuntu 16.04 or 16.10. |
Yep, I'm getting the same issue with just a Play 1 connected to the same AP. Sniffing the packet gives me: And: |
And: And: Not sure which packet is the discover and which the app should be looking for. |
@shed909 , thanks for your feedback. I found the issue. Seems the reponse of your devices doesn't return the ST string, and my code check for it. It isn't a requirement, and I could continue the handshake. |
I figured something like that was happening. Glad I could help! |
I pushed a commit in master including the check's removing. Also the snap package has been build and it is available from the store. |
Will do some more tests tonight! |
I refactored the app for Ubuntu 17.10 and later. No SNAP package is available for this version. You have to install the deb package from my PPA. |
Hi, I am on ubuntu 17.10. I installed the noson app 3.0.3 from the ppa package without issue. As it seems to work for a lot of people, I do not understand what I am doing wrong. Below you'll find the debug logs (nothing to see unfortunately, and I clicked to search zones three times). "using file ':/i18n/noson_fr.qm ' for translations." Thanks in advance. |
@GuenMat , strange output. Mine looking like:
As you can see, the app create a network socket on a port (1400) at line 2. Then have you the log line |
Hi, thanks for the reply. When the app is started, I can see the following on the browser at http://localhost:1400
For the logs, I have now the following:
If i use a curl call on the controller from my computer to get what is currently playing (conky), it works:
So the sonos devices are visible and accessibles. All the sonos devices are in firmware 8.2.2. |
Hi again, everything is working fine. It was a firewall issue. UFW is configured on my computer, and I allowed the ports documented on the sonos documentation But then I tried to disabled the firewall and check the ports used by the app. Here are too attempts:
So a random port is used on sonos detection at each startup (54202 then 54354). And they were blocked by the firewall. I suppose it is UPNP protocol. So allowing connection from my computer to the sonos controller did the trick. Really sorry for making lose your time. It works now perfectly well. It is nice to control sonos from a linux desktop. Thank you for your work |
@GuenMat, that's great to work now. It is a good report for any others users using firewall. |
Problem for me seemed to be the Hue Bridge within the same network. Noson only discoverd that. After disconnecting and reconnecting it, everything now magically works. |
My problem was a firewall problem as well. Allowing incomming packets from my zone made everything work. |
Okay, I had the exact same problem (the device was discovered but the zone didn't show up). I solved w/ Unfortunately this wasn't mentioned in the README |
@denysvitali , the range 1400-1409 can be bound by the app for the upnp callback. |
I've just installed noson on my new openSUSE Leap 15.2 system and also get "No Sonos zone found". The debug output is as follows:
I'm connected to the same network as my Sonos Play 1 and my mobile phone. My phone connects successfully yet my computer doesn't. I have no firewall rules yet:
(It was working on my now defunct laptop with Manjaro and previously Ubuntu 18.04.) |
Hi,
Just tried to test this app out and received "No Sonos zone found".
It's a fresh install of 16.04, no VPN or anything, just connected directly to the network the Sonos Play is on.
Are there any logs I can access?
The text was updated successfully, but these errors were encountered: