hassio-addons / addon-aircast

AirCast - Home Assistant Community Add-ons
https://addons.community
MIT License
306 stars 18 forks source link

Disappearing devices - mDNS issue. #26

Closed JMuffin closed 4 years ago

JMuffin commented 4 years ago

Problem/Motivation

Starting service -> log says that 4 devices were found (TV + 2 speakers + 1 group of speakers) -> after few minutes speakers (HK Citation with Google Assistant) are disconnected with mDNS error.

Restarting service starts everything from the beginning. Tried with AirSonos, but HK speakers cannot be found.

Is there any option to solve this?

Log file:

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] aircast.sh: executing... [cont-init.d] aircast.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [13:11:43] INFO: Starting the AirCast server... [13:11:43.695656] main:945 Starting aircast version: v0.2.21.3 (Oct 4 2019 @ 14:01:55) [13:11:43.696318] Start:712 Binding to 192.168.1.30 [13:11:43.922327] AddCastDevice:649 [0x84138]: adding renderer (Citation TWO) [13:11:44.015539] AddCastDevice:649 [0x84aa8]: adding renderer (Citation ONE) [13:11:44.021581] AddCastDevice:649 [0x85418]: adding renderer (Citation BOTH) [13:12:59.944173] AddCastDevice:649 [0x85d88]: adding renderer (TV) [13:14:05.230160] mDNSsearchCallback:452 [0x84aa8]: removing renderer (Citation ONE+) 0 [13:14:05.233315] DeleteCastDevice:512 [0x84aa8]: Cast device stopped

addons-assistant[bot] commented 4 years ago

:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

frenck commented 4 years ago

Could you please test this with the latest release? As it addresses some small things around mDNS.

JMuffin commented 4 years ago

Unfortunately, still the same.

Latest log:

[22:11:13.858146] AddCastDevice:649 [0x84138]: adding renderer (Citation ONE) [22:13:14.198392] mDNSsearchCallback:452 [0x84138]: removing renderer (Citation ONE+) 0 [22:13:14.201547] DeleteCastDevice:512 [0x84138]: Cast device stopped [22:23:25.241637] AddCastDevice:649 [0x84138]: adding renderer (Citation TWO) [22:25:26.093354] mDNSsearchCallback:452 [0x84138]: removing renderer (Citation TWO+) 0 [22:25:26.096014] DeleteCastDevice:512 [0x84138]: Cast device stopped [22:29:30.387468] AddCastDevice:649 [0x84138]: adding renderer (Citation ONE)

frenck commented 4 years ago

Sorry to hear that, unfortunately, there is not much I can do at this point. Add-ons wrap existing applications, so I would highly suggest on reporting this to the upstream project: AirConnect.

jschwalbe commented 4 years ago

Came here to report the same issue :(

17:23:11.626288] mDNSsearchCallback:452 [0x695000]: removing renderer (SHIELD+) 176
[17:23:11.627001] DeleteCastDevice:512 [0x695000]: Cast device stopped

for all my devices.

@JMuffin trying to figure something out - what type of install are you on? I'm running (what was formerly known as hassio) with docker on Ubuntu w. Unifi as my wifi. And I feel like I have lots of mDNS issues lately (homekit sporadically works too).

addons-assistant[bot] commented 4 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.