-
-
Notifications
You must be signed in to change notification settings - Fork 36.9k
Closed
Labels
Description
The problem
I was using 2 chromecast (audio / video) since a year, but it's not working anymore.
Environment
- Home Assistant Core release with the issue: 0.110.3
- Last working Home Assistant Core release (if known): 0.107.7
- Operating environment (Home Assistant/Supervised/Docker/venv): Docker
- Integration causing this issue: Cast
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/cast/
Problem-relevant configuration.yaml
logger:
default: warning
logs:
homeassistant.components.cast: debug
homeassistant.components.cast.media_player: debug
homeassistant.components.zeroconf: debug
pychromecast: debug
pychromecast.discovery: debug
pychromecast.socket_client: debug
zeroconf: debug
[...]
cast:
media_player:
- host: 192.168.XX.XX
- host: 192.168.XX.YYTraceback/Error logs
2020-05-27 20:57:37 DEBUG (SyncWorker_6) [homeassistant.components.cast.discovery] Starting internal pychromecast discovery.
2020-05-27 20:57:37 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/cast/discovery.py", line 90, in setup_internal_discovery
ChromeCastZeroconf.set_zeroconf(browser.zc)
AttributeError: 'bool' object has no attribute 'zc'Additional information
Docker is hosted inside a VM using proxmox as hypervisor.
I'm using network_mode: "host" to prevent mDNS problems.
It does not seems to be a mDNS problem, as from the docker VM I can see mDNS traffic:
tcpdump -ni eth0 -n host 224.0.0.251 and port 5353
22:54:27.617803 IP 192.168.XX.XX.5353 > 224.0.0.251.5353: 0*- [0q] 1/0/3 PTR b746f71a-sdfs-sgdsf-abcd-1578afdsff333._googlezone._tcp.local. (226)And I receive ping message to mDNS:
ping 224.0.0.251
64 bytes from 192.168.XX.XX: icmp_seq=14 ttl=64 time=2.21 ms
64 bytes from 192.168.XX.YY: icmp_seq=14 ttl=64 time=5.91 ms (DUP!)Reactions are currently unavailable