Skip to content
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

Devices disappear after ~1-2 Minutes #189

Closed
IT-Lueg opened this issue Sep 10, 2019 · 9 comments
Closed

Devices disappear after ~1-2 Minutes #189

IT-Lueg opened this issue Sep 10, 2019 · 9 comments

Comments

@IT-Lueg
Copy link

IT-Lueg commented Sep 10, 2019

Airconnect runs on a Raspberry Pi 3B.
When I restart the service (service airconnect restart) I see my Sonos speakers on my iPhone.

IMG_1301

The service runs with the following settings...

[Unit]
Description=AirUPnP bridge
After=network-online.target
Wants=network-online.target

[Service]
Type=forking
ExecStart=/var/lib/airconnect/airupnp-arm -l 1000:2000 -z -f /var/log/airupnp.log
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target

But after ~1-2 minutes the devices simply disappear again.

IMG_1302

I use a unifi network.
IT looks like this...

Untitled Diagram

UPnP is enabled
UPnP

mDNS is enabled
mDNS

Multicast is enabled on my APs
mDNS-APs

and I tried it with IGMP-Snooping On & Off
IGMP Snooping

This is my Log...

airupnp.log

What am I doing wrong ???

@philippe44
Copy link
Owner

Your players (especially Esszimmer) explicitely send a UPnP disconnect, so AirConnect removes them. I Don't know why they do that

@IT-Lueg
Copy link
Author

IT-Lueg commented Sep 11, 2019

Is it this ?
disconnect

They're all Sono's speakers.
"Esszimmer" is a Sonos-Playbar.

Is there any way to do something about it?

@IT-Lueg
Copy link
Author

IT-Lueg commented Sep 11, 2019

And if "Esszimmer" sends a UPnP disconnect, why do all devices disapear ?

@philippe44
Copy link
Owner

I’ve not looked at the log in full details, but they all seem to disappear at some point

@IT-Lueg
Copy link
Author

IT-Lueg commented Sep 11, 2019

Can you take a closer look at it as soon as you have time?

Today I will try to turn off the device "Esszimmer" and test if it works.

@IT-Lueg
Copy link
Author

IT-Lueg commented Sep 11, 2019

soooo... I unplugged the "Esszimmer" Speaker and tried it again.

If i restart the Service everything works.
But after some time all the Speakers disappear.

I created a new (smaller) log.
Can you please look into it ?

airupnp.log

@philippe44
Copy link
Owner

That log simply shows a set of working stream session. I only can think of a problem with your wifi router which drops multicast requests / responses

@mav808
Copy link

mav808 commented Sep 22, 2019

@IT-Lueg I think it's the IGMP snooping on Unifi equipment. Try turning it off again, and then restarting your Sonos. It might work after that.

@philippe44
Copy link
Owner

Closed for inactivity

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

No branches or pull requests

3 participants