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
Google Cast error - Unable to find a view with path [X] #4614
Comments
Yes! Can't wait to get this fixed! Thanks, everyone! |
Having troubles as well. The Google Nest Hub just shows connected but doesn't do anything, while using cast.home-assistant.io works like a charm. However I want to launch HA Cast by a service call. I'm using nabucasa remote service. My http section in configuration.yaml is empty (just |
I too have this issue, it does however work if after a restart then going to my chrome browser connecting from there. Then I can use a service call from the UI to successfully show that view. |
Same issue here! Works one time out of five. |
Thanks, I have same issue. I'm waiting for a long time to be solved. |
I too have this issue. It used to work fine, now I get this every time I attempt to cast from an automation. |
Same issue here! can't wait for a fix |
This is the error message I get, if I get an error message, when trying to cast to my Lenovo Smart Display using a script. When running the script, I have three possible outcomes:
|
Also having this issue - worked fine up until yesterday. |
I'm having the same issue as @mpfl on a google home hub i.e. also, from yesterday on "successful" loading none of my mdi icons would load on the cast page |
Same here, it works after the pre-authorise step and otherwise it fails |
same issue for me also. |
Same here. Weird bug. |
Same issue for me - I can cast with numbered views: "1","2","3", etc. but when I go to use a named view/path it doesn't work. I've had some success after authorizing via via https://cast.home-assistant.io/ but still very inconsistent with named views/paths |
I am having the same issue. Very erratic behavior. Works 1 in 5 attempts. Sometimes it shows connected and sometimes the path is not found. Derrike, can you explain how can you cast using numbered views? I have tried to do it, but got the same path not found. |
Same for me, tested multiple times, you need authorize/cast from mobile phone, after that you will be able to cast from service all with numbered views, lovelace view id (in path) for example 0,1 |
gusfalconi, I'm not doing anything that you probably haven't already tried. I've included the yaml below - but this only works for lovelace views that I haven't set a path for previously. For example, I have one that I tried setting a path for "office" that worked before with the number method, but now doesn't work with the name. When trying to remove the path to set it back to just a number and use that to cast, it still doesn't work. entity_id: media_player.ghub_office
view_path: "1" |
I am having this exact issue and I hope this gets fixed soon! I can cast Funnily enough using the automation previously working reliably for me. I was using an automation to turn on the TV to the correct lovelace view as part of waking up. Would love to be able to do that again! I'm wondering if there's something in our configs that might be causing the issue? In any case it seems like this issue has been occurring for some for awhile while others maybe it just started recently? Hopefully we can pinpoint a cause and get our casting back soon! |
Same here.. seems to work with cast.home-assistant.io. I do also works with the default_view where it only shows the "states" page. As soon as you want to use the service: cast.show_lovelace_view it fails. Running 0.103.4 at the moment (Hassio). |
Same problem! Thanks |
I have the same issue, unfortunately. |
Same issue here.. I resolved using the automation with view_path: "5" (you need to replace the number with your desidered view) |
I did already try that. The problem is still that I need to first open cast.home-assistant.io and then do a first cast. Would be much better if you could just use the cast service directly. |
yes I noticed the same thing .. I always need to open cast.home-assistant.io before cast to a device .. If I don't connect to cast.home-assistant.io, it say "Connected but not able to find the path view" |
I am having the same issues as everyone else! Would love to see this fixed! Cheers 👍 |
Same issues with everyone here. I am trying to find out under what circumstances it works. I tried:
Stop casting via cast.homeassistant.io, and start casting again, sometimes this works - again very inconsistent. This feature is really incredible and I like it, we just need to make it consistent :) Looking forward to hear some info about what is the cause. p.s. Also I should mention that it did not always find the custom view, it seems "default_view" always work but not the other views. |
@balloob , this page (https://cast.home-assistant.io/) suggests letting you know about cast bugs, which I think this may be, so thought I would bring this to your attention if you aren't already aware. Cheers. |
I'm experiencing unreliable casts as well but I'm not seeing any correlation with cast.home-assistant.io. I've set up Node-Red to check the status of the cast devices and retry failed casts up to four times, and I usually get a successful cast within those five attempts. The number of attempts needed varies somewhat for each session, but it seems that some devices require more attempts on average than others. It also seems like the devices I cast to more frequently require fewer retries than those I cast to less frequently. Background: I've been using four Google/Nest Hubs and one Chromecast as my primary interfaces for Home Assistant for about 3 months now -- casting and re-casting several times per day, well over one hundred times altogether. |
I just had this issue and discovered that it really doesn't like the path being in quotes If you just put the path into your EDIT: Never mind, it must have been something else, still trying to crack this one... |
Same issue |
I can confirm that nothing has changed for me - same problem. |
After some time I tried this thing again and I found out something. I might found i workaround. This is the "payload" I'm sending entity_id: media_player.living_room_tv
dashboard_path: lovelace
view_path: lr-tv-dashboard By (just) sending this nothing happens, BUT if I send "wrong" payload (for example I write |
Try using this blueprint I made to also work around the issue that the hub stops the cast after 10 min : https://community.home-assistant.io/t/cast-and-re-cast-a-lovelace-view-to-a-google-hub/259631 |
yes, i found this too, that is a good workaround, for automations, it might work. The main issue i have right now is that custom cards don't work and you get a red square instead... why? |
I'm also having the same issue too, with the latest HA install but using the OVA VM install with the HassOS. |
Can confirm that this issue is still present. The workaround from @ajitam works, thanks! |
Yea, the workaround is the only way to be able to cast lovelace at the moment. But casting lovelace has some limitations too, eg some camera feeds can't be streamed, or some things with graphs won't/can't be shown. |
The recent 2021.4 update included: home-assistant/core#47232 (Add support for a list of known hosts to Google Cast). Does this help/affect this issue at all? EDIT: I just found that a post in the forums from last August about manually adding duplicate resources with Any hope of this being sorted out in the integration without workarounds @bramkragten ? Thanks! |
Each release, I check if casting works yet... but it still doesn't. |
If it is too much of a struggle to get the current casting to work, it might even be worth it to look at CATT (Cast All The Things) and potentially pull that into HA core? I have been using it as an add-on and it's been working without issues. |
i gave up on casting, the lack of compatibility with the GUI and some lovelace cards + the complex DNS/SSL setup makes it a complicated effort and little value. It is easier/cheaper to run an RPI in kiosk mode and connect to another HDMI input to TV |
Also intermittently getting this error when casting to Nest Hub. Sometime it works, sometimes it gives the error. |
I believe the issue is that the desired dashboard/view is being loaded before nabu casa is REALLY ready to load it. My rationale is that an Entities card with a Cast entity in it works every time. When you use a Cast entity card, there's a delay between connecting and showing a dashboard/view, because you're required to first connect and then forced to wait before you can click Show. Until this is fixed I am forced to do the workaround mentioned here. I'm using it in a script like so (note the
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Every new version of HA, I give this a try. Usually it doesn't work. This time (.11), it worked - once! I was so excited... until it didn't work after the very first time. |
Thankfully, version 2021.12 seems to have solved this - I'm very happy! |
yes, for me casting now also works as well. I also suffered from the
curious to hear what solved the timeout issue and whether it can be solved for CATT as well. |
@jtonk - does "reinstalling through HACS" mean pressing "Redownload"? I have some that work: button-card, mini-graph-card |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I'm fairly sure this is all working now! |
It’s been working for me for I think 2 or 3 months now too. Can’t quite recall which release but probably Feb or March. |
Home Assistant release with the issue:
Home Assistant 0.101.1 (hassio)
Last working Home Assistant release (if known):
na
Operating environment (Hass.io/Docker/Windows/etc.):
hassio
Integration:
Cast
(cast.show_lovelace_view)
Description of problem:
Summary:
cast.show_lovelace_view will not cast a lovelace view unless you "pre-authorise" via https://cast.home-assistant.io/ . You get an error on the cast device showing Error: Unable to find a view with path [path:]
See this thread:
https://community.home-assistant.io/t/google-cast-error-unable-to-find-a-view-with-path-xxxx/138180/3
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
Haven't raise many issues, so let me know if you need more info etc.
The text was updated successfully, but these errors were encountered: