-
Notifications
You must be signed in to change notification settings - Fork 220
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
Does not appear as airplay speaker #509
Comments
I'd need a log to see what is being detected. Just launch it manually and copy/paste the screen or look at the command line help to log tings in a file |
is that what you mean ?
|
Yes. It seems you have launched it in a docker or behind a NAT. Per doc, it can't work, it must be on the same network as the devices. If this so docker, use host mode. Homebridge would have to be configured for that. I think AirConnect has a prebuilt HB package. |
Can you tell me more about? What exactly should I do ? I'm not exactly a raspbian pro. How to launch it outside of the docker ? |
I disabled all dockers on another pi and followed instructoions and still nothing
|
Can you tell me a bit how your network is configured? What is where in term of segments? |
Not sure if that's what your asking but I have a router and all the devices connected to it via WiFi. 2 raspberry pi's included. The Sonos speaker is also connected via WiFi. Is that what you wanted to know ? Let me know what info you need. |
Oh and that homebridge is also using zigbee athena for lights |
No I mean are they on the same subnet or do you have a different subnet for your players versus homebridge versus other devices. If your router is subdividing your network or you did or your router is having some weird protection sets, like IGMP routing, it's preventing devices to be discovered when they are on different segments. As long as they are all on WiFi (and the searcher) then that would be fine. Still it seems that you are launching AirConnect in a class A network which is pretty unusual unless it's dockerized or beyond some kind of NAT. That's my highest probable suspicion but it can be some thing preventing multicast traffic between branches of your network as well. If you are not familiar with these topics, I suggest you google them |
Will it help if I provide you with multicast.pcap? |
Tried on my windows pc and its just seeing my TV(its already airplay) and doesnt see the sonos speaker [15:47:35.366] main:1390 Starting airupnp version: v1.5.4 (Dec 6 2023 @ 18:22:05) [15:47:45.197] handle_rtsp:374 [00577190]: received SETUP [15:47:45.209] rtp_thread_func:728 [005C3570]: 1st NTP packet received [15:47:45.225] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:45.241] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:45.249] ActionHandler:544 Error in action callback -- 606 (cookie 00000000) [15:47:45.294] handle_rtsp:374 [00577190]: received TEARDOWN [15:47:45.374] rtsp_thread:348 RTSP close 572 [15:47:48.514] handle_rtsp:374 [00577190]: received SETUP [15:47:48.531] rtp_thread_func:728 [005BB568]: 1st NTP packet received [15:47:48.546] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:48.563] rtp_thread_func:634 [005BB568]: 1st RTP packet received [15:47:48.587] ActionHandler:544 Error in action callback -- 606 (cookie 00000003) [15:47:48.958] search_remote_cb:632 [00577190]: found ActiveRemote for 4724A545234BEDC6 at 192.168.0.216:49482 [15:47:49.318] rtsp_thread:348 RTSP close 604 [15:47:53.020] handle_rtsp:374 [00577190]: received SETUP [15:47:53.031] handle_rtsp:374 [00577190]: received RECORD [15:47:53.045] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:53.069] rtp_thread_func:634 [005BB568]: 1st RTP packet received [15:47:53.111] handle_rtsp:374 [00577190]: received FLUSH [15:47:53.176] ActionHandler:544 Error in action callback -- 606 (cookie 00000004) [15:47:55.018] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:55.027] handle_rtsp:374 [00577190]: received SET_PARAMETER [15:47:55.184] http_thread_func:949 [005BB568]: got HTTP connection 1220 (silent frames 0) [15:47:55.187] handle_http:1124 [005BB568]: responding: HTTP/1.0 200 OK [15:47:55.188] http_thread_func:969 HTTP close 1220 [15:47:57.187] handle_http:1124 [005BB568]: responding: HTTP/1.0 200 OK [15:47:57.188] _buffer_get_frame:891 [005BB568]: drain [level:513 gap:-2329] [W:40476 R:39963] [R:0 S:0 F:0] |
I can't tell for sure but I think you have one of these wifi network system that wants to be smart but potentially interfere a lot with broadcast and multicast and that's in the way here, likely. Try any UPnP tool that discovers players and try to see, from the same Windows machine, if it sees the Sonos (I'm not talking about the Sonos app, but about a vanilla UPnP controller). |
The gupnp-tools is a quite good tool for debuging UPNP stuff. You can install it on raspian by running My speaker shows up as:
Runing a discover will show what UPNP renderers are visible to your Raspbian. It can be as Philippe said that you have a router which handles the cabled and wireless as two different network and therefore the devices cant see each other. You might have a setting for this on your router / wifi box. |
I just noted that you are running aircast on your Raspbian, shouldn't it be airupnp for Sonos? |
I'll try what you said asap. And yes I was trying aircast but with airpnp it was the same situation |
This is what I get when I connect via eth cable
|
It doesn't list any renderers, if you look at my example it listed the description URL of my renderer. I also find the interface a bit weird as it scans usb0. You might want to run a |
Is your wifi maybe acting as a "guest network" if so, then it might behave in such a way that devices are not able to see each other. What brand and model is your router? |
I'm using virgin media hub 4 |
I'm trying to get the set up working
I have :
sonos play 1
raspberry pi 4b (using Homebridge on it btw)
and after following the instructions and running Airconect on my raspberry, speaker still comes up on spotify as a wifi speaker not Airplay like my homepod or even TV.
Please tell me what I should do what info you need to be able to help me. I really want to make it work
The text was updated successfully, but these errors were encountered: