Coder Social home page Coder Social logo

Comments (5)

home-assistant avatar home-assistant commented on July 2, 2024

Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (cast) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of cast can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign cast Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


cast documentation
cast source
(message by IssueLinks)

from core.

Melantrix avatar Melantrix commented on July 2, 2024

I have the same issue. Casting is using my internal url. While my external one is configured correctly..

from core.

phiberoptick avatar phiberoptick commented on July 2, 2024

I am experiencing this as well. I have for quite a while actually. It seems to be random.

Home Assistant is reachable internally or externally via the same host name. HTTPS works on both. If you query home assistant internally, the response is the internal IP. If you query it externally, the response is my routers external IP which is then port forwarded the internal IP. Like I said, both ways use the same FQDN and SSL is enabled and works either way you access it.

The really weird part is I'm able to set the volume and anything else with the speakers. In fact, I hear it set the volume which is in my automation before it should cast and then it does nothing and then the error. And then it sets the volume back like it is set to do after casting in the automation.

At some point it just stopped doing the casting at all. I haven't heard it actually cast the broadcast audio in a month or two maybe. I've lost track. Every time the automations fire, all I get are the volumes being set as it's configured to do but no cast audio in-between. I'm unable to even do it via a service call to the TTS say, the deprecated one or TTS speak. They both give me the same error. I've even tried to tell it to cache it. Hoping that it might mess up the first time but then just pull from the cache every other time. Hoping that maybe it was a latency thing and it was timing out. No luck.

from core.

nromagna avatar nromagna commented on July 2, 2024

In the same boat for the past couple of months... Any ideas?

from core.

phoenix-9 avatar phoenix-9 commented on July 2, 2024

I have the same issue. I use Chromecast dongles. I cannot cast local media or dashboards. The TV screen will go blank, and I get a spinning circle. If I cast one of my Unifi security cameras (rtsps) from Homeassistant, it does work. For me, casting local media and dashboards has never worked.
Homeassistant has an internal ip address (192.168.x.x). I also have an external ip address that the router forwards to the internal address. Homeassistant has a valid letsencrypt ssl certificate. Homeassistant is at version 2024.6.4.

When casting a local video file:
Failed to cast media https://hassio.mclemente.net:8123/media/local/Video/9.mkv?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJiMmI1Mzg5MzhlYjc0OWJjYWYxMjZjMmVmMzIzODc3MSIsInBhdGgiOiIvbWVkaWEvbG9jYWwvVmlkZW8vOS5ta3YiLCJwYXJhbXMiOltdLCJpYXQiOjE3MTkxOTc5NDEsImV4cCI6MTcxOTI4NDM0MX0.SYi903hDMGeNk6ZGWGAvWPIGMpUZftMnLiz3EI9jYU0 from internal_url (https://hassio.mclemente.net:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

When casting a deshboard:
Exception in _handle_signal_show_view when dispatching 'cast_show_view': ({'hass_url': 'https://hassio.mclemente.net:8123', 'hass_uuid': '60474ee72ca5422d9774c4a34e2e1b2d', 'client_id': None, 'refresh_token': 'c233b058e0c9b4b10a2ccd9146b22f3f6293d26527f307163358ef88395fe792d62fe0f7898f9e17d87198f3cc67469f11c9e79b0a1613d1901ead3ce5912ece'}, 'media_player.chromecast_basement', '0', None) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 1031, in _handle_signal_show_view self._hass_cast_controller.show_lovelace_view(view_path, url_path) File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 195, in show_lovelace_view self._send_connected_message( File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 221, in _send_connected_message self._connect_hass( File "/usr/local/lib/python3.12/site-packages/pychromecast/controllers/homeassistant.py", line 166, in _connect_hass raise PyChromecastError() # pylint: disable=broad-exception-raised ^^^^^^^^^^^^^^^^^^^^^^^^^ pychromecast.error.PyChromecastError

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.