core: Google Cast Integration on 0.113 does not discover cast devices.
The problem
Google Cast Integration is not working properly, upon upgrading from 0.112 to 0.113 all the google cast devices (7 devices and 12 entities) are reported as unavailable.
Tried to upgrade to 0.113.1 which includes the zeroconf fix. But the Google Cast integration is still broken.
I can check the Google Cast in integrations page and the devices (7 devices and 12 entities) appear listed, but when you click on them they’ve all gone to “Unavailable”, also all scripts/automations start complaining that the media_players for the chromecasts devices cannot be found.
Futher more, If I delete the Google Cast integration from the home assistant integrations and add it up again to rediscover the cast devices, the integration is added back to home assistant but the devices are not (no devices or entities will get listed).
I check the mDNS for possible networking issues by using avahi-browse on the machine that is hosting the docker container for home assistant and I get all the google cast devices listed on their proper _googlezone._tcp on both the ethernet and hassio interfaces (I’m running home assistant in a docker container with network set to host as per instructions to prevent Cast from not seeing the mDNS devices, so Home Assistant should be able to see the devices on the ethernet interface).
Here’s an output of the avahi-browse command output.
+ hassio IPv4 Google-Cast-Group-15fe5a1a894046f08b2d5b97bd0bf59b-1 _googlecast._tcp local
+ hassio IPv4 Google-Cast-Group-65960e1f6b5f4c1fb5a3ab39d6b13ded-1 _googlecast._tcp local
+ hassio IPv4 Google-Home-Mini-fbc25febe2ec729843007ff31b26fddf _googlecast._tcp local
+ hassio IPv4 Chromecast-Audio-1b63445d57ba95512995fda4f15414d0 _googlecast._tcp local
+ hassio IPv4 Chromecast-Audio-5a42ba468ea176e0fcffe108efef3968 _googlecast._tcp local
+ hassio IPv4 Google-Home-Mini-d89dcba4b7a4969404637c2862938a33 _googlecast._tcp local
+ hassio IPv4 Chromecast-Audio-a5192a18f9071e5730ab4efbcdfbba77 _googlecast._tcp local
+ hassio IPv4 Google-Cast-Group-a973dd3b98cd47b29d8ddd3c344a01cf-1 _googlecast._tcp local
+ hassio IPv4 Google-Cast-Group-99d051e540584f018c3ba3ccd0387c95-1 _googlecast._tcp local
+ hassio IPv4 Google-Cast-Group-4a6947d5bd9e4bf396d92db53391e97c-1 _googlecast._tcp local
+ hassio IPv4 Google-Home-Mini-b625feb6b48d53d53f035ef8f2699d3f _googlecast._tcp local
+ hassio IPv4 Chromecast-Audio-ca308f46511bcaf5586bf5e591c7c636 _googlecast._tcp local
+ enp1s0 IPv4 Google-Cast-Group-15fe5a1a894046f08b2d5b97bd0bf59b-1 _googlecast._tcp local
+ enp1s0 IPv4 Google-Cast-Group-65960e1f6b5f4c1fb5a3ab39d6b13ded-1 _googlecast._tcp local
+ enp1s0 IPv4 Google-Home-Mini-fbc25febe2ec729843007ff31b26fddf _googlecast._tcp local
+ enp1s0 IPv4 Chromecast-Audio-1b63445d57ba95512995fda4f15414d0 _googlecast._tcp local
+ enp1s0 IPv4 Chromecast-Audio-5a42ba468ea176e0fcffe108efef3968 _googlecast._tcp local
+ enp1s0 IPv4 Google-Home-Mini-d89dcba4b7a4969404637c2862938a33 _googlecast._tcp local
+ enp1s0 IPv4 Chromecast-Audio-a5192a18f9071e5730ab4efbcdfbba77 _googlecast._tcp local
+ enp1s0 IPv4 Google-Cast-Group-a973dd3b98cd47b29d8ddd3c344a01cf-1 _googlecast._tcp local
+ enp1s0 IPv4 Google-Cast-Group-99d051e540584f018c3ba3ccd0387c95-1 _googlecast._tcp local
+ enp1s0 IPv4 Google-Cast-Group-4a6947d5bd9e4bf396d92db53391e97c-1 _googlecast._tcp local
+ enp1s0 IPv4 Google-Home-Mini-b625feb6b48d53d53f035ef8f2699d3f _googlecast._tcp local
+ enp1s0 IPv4 Chromecast-Audio-ca308f46511bcaf5586bf5e591c7c636 _googlecast._tcp local
I’m kinda lost, as I don’t know if I’m the only one having this Google Cast Integration issue, and if its something I may have misconfigured and had been working up until now that 0.113 breaks it. The only changes I’ve seen for the Google Cast Integration on 0.113 is the upgrade to pychromecast 7.1.2.
In the mean time I downgraded to 0.112 and The Google Cast Integration works perfectly.
Thank you.
Environment
arch | x86_64
-- | --
chassis | laptop
dev | false
docker | true
docker_version | 19.03.9
hassio | true
host_os | Ubuntu 20.04 LTS
installation_type | Home Assistant Supervised
os_name | Linux
os_version | 5.4.0-40-generic
python_version | 3.7.7
supervisor | 229
timezone | America/Monterrey
version | 0.112.0
virtualenv | false
- Home Assistant Core release with the issue: 0.113
- Last working Home Assistant Core release (if known): 0.112
- Operating environment (OS/Container/Supervised/Core): Ubuntu 20.04 LTS / Home assistant in Docker Container
- Integration causing this issue: Google Cast
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/cast/
Problem-relevant configuration.yaml
Don’t use Yaml configuration for Google Cast Integration, I use the Integration directly from the UI.
Traceback/Error logs
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 37 (21 by maintainers)
I am having the same issue; however, removing Spotcast did not resolve my problem.
All of my google cast devices just suddenly stopped working with TTS audio, but spotcast audio continued to work fine. So I…
After finding this issue, I also did the following…
As a side note, my issue has nothing to do with TTS as the files are always generated, they just weren’t playing on the google cast devices. I can cast from various devices to my google homes, so I know they work correctly and are not the problem. I cannot send any media from Home Assistant to a google cast device. Last time everything worked, before upgrading to 0.113.0, also not fixed with 0.113.1.
In the case that custom components has something to do with this problem, I do have the following additional HACS installed: aarlo, browser_mod, fedex, looko2, nwsradar, unifigateway, ups, xboxone
I attempted removal of the following components and integrations, then rebooted and attempted to install Google Cast again, still no devices were discovered: aarlo, browser_mod, xboxone and the official Spotify integration.
I do not know if any of the following integrations also use pychromecast as you guys have mentioned here, but my system does include the following integrations as well: COVID-19, HACS, IFTTT, Internet Printing Protocol, Meteorologisk institutt, Mobile App, ring, Samsung Smart TV, SmartThings, Ubiquiti Unifi, UPnP, Withings, Z-Wave