Google Cast error - Unable to find a view with path xxxx

Nope, can’t see them.

Today, I’m getting a “Not connected” error.

I’ve moved over to an alternative solution Catt. Still had a few networking headaches, but Catt seems to be working for me.

1 Like

I assume CATT is this https://github.com/skorokithakis/catt

Are you running it on a separate instance of Linux and what distro?

I’m running it on Hassio using this method. Have a read through that thread for options/experiences. It’s been working reliably for me. Using CATT

How are you casting an auth’d version of the HASS UI if going down the CATT route? This is the bit I can’t work out.

I have found that it (hopefully) reliably works for me if I send three service calls: turn off; then cast default_view; then cast the view I want.

I had also blocked the hub’s access to 4.4.4.4 and 8.8.8.8 as per some other suggestion. However, when I unblocked it, it continued to work.

The main problem now seems to be it only lasts about 10 minutes and then reverts to the clock/photos, so I have to keep re-casting.

I’m using HA Supervised 0.110.3 and I can see custom cards.

1 Like

Has anyone got a decent step by step guide to getting this working yet? I dont mean just the code but some of the stuff that people are finding helps e.g. blocking google DNS. I can get it casting from a webbrowser but cant get anything casting direct from HA to my nest hub.

This seems to work for me. A bit weird workaround, but better than getting stuck in the connected screen :slight_smile:

@radar

I have just recently started to cast lovelace view and your script worked.
Custom cards work for me if I put in Configuration/Lovelace Dashboards,
/local/community/path_to_custom_card, in addition to
/hacsfiles/path_to_custom_card. Both paths needs to be there,
which I learned from another thread.

Thanks. Unfortunately, I have already that in my Configuration>Lovelave Dashboards>Resources.

Oh… I see.
I am no expert in this field, but just to share my setup which might be relevant are,

  • external_url is https domain_name and internal_url is also https IP_address.
    because I cannot local access hassio with http. (I don’t know what is causing this)
  • I have not blocked anything like google’s 8.8.8.8 or 8.8.4.4.
  • I do not subscribe to Nabu casa cloud.
  • Firmware for nest hub shows,
    System firmware version: 229149
    Cast firmware version: 1.50.229149

One thing I would like to stop is the “Ding” sound when I see “Connected” at the
HA icon/heartmark/Nabu Casa screen.
Can I do that, without muting the whole volume, if you know please?

Hi, someone see my fault?

when i start a cast over the service like this:
image

and the path is set:

it say “Connected” Error: Unable to find a view with path fussball

ok, with this works:

entity_id: media_player.gh_kuche
view_path: fussball
dashboard_path: lovelace

but the customer Cards are not show?

Not working here but it seems that you need to add the custom cards paths in configuration>Lovelace Dashboard>Resources.

ok, but the resources are there?

Hi All,

I don’t understand what I’m doing wrong but I receive this message:
"Failed to call service cast/show_lovelace_view. "

I can cast from the browser: https://cast.home-assistant.io/

Please help me :slight_smile:

Solution:
Config => General => input and external link.

heyy guys, after several trial and error I found the following:

the cast service will only work if called twice and on the first call with the wrong dashboard_path.

my script:

cast weather:
alias: cast weather
  sequence:
  - service: cast.show_lovelace_view
    data:
      dashboard_path: lovelace2
      view_path: weather
      entity_id: media_player.rigel
  - delay: 00:00:05
  - service: cast.show_lovelace_view
    data:
      dashboard_path: lovelace
      view_path: weather
      entity_id: media_player.rigel
mode: single
icon: mdi:weather-cloudy

note that “lovelace2” does not exist.

also custom cards (from hacs) will not load, returning an error.

edit:
CSS background images are also not loaded.
Footer (graph) in entities card will also not load.

hope this helps someone.

7 Likes

Thank you, you beautiful soul.