Home Assistant Cast

Yes, finally it is showing my views!
Thank you!

I know some custom cards do not display correctly, in my case the custom-button-cards just show red boxes. Is there something I can ask the developer to do to make these show properly? And did you or anybody figure out how to display a full screen camera image yet?

1 Like

Annoyingly, mine didn’t work with my morning automation this morning. It just loaded up the Connected screen. I haven’t changed a thing or even so much as restarted since it was working yesterday.

It seems very flaky, or maybe only one user at a time can have it working… :wink:

1 Like

Did you go here?

http://cast.home-assistant.io/

It was launched by a service call

Does anybody know how to create a button in lovelace to navigate to a other tab? like in the demo with the climate controls

Custom button card can!

I use them to navigate to different areas in my UI

I use entities card with URL elements for that:

entities:
- icon: ‘mdi-tools’
type: weblink
url: /lovelace/nameofthecard

type: entities

1 Like

I have a chrome cast first generation, but when I lunch HA cast it says “can not connect” Does chromecast connect locally to HA, because I have my HA instance behind cloudflares proxies.

Any possibility to navigate and interact with the views on e.g. an android tv device using the directional keys on the remote?
(I guess this is a similar problem to enabling touch controls on a touchscreen device.)

I haven’t got this to fully work yet, but I would imagine you could set a script to change views and place the button on the UI so you can scroll through them

Edit, now the interaction part would probably not work. But maybe one of the much smarter people out there could answer that better then me!

exactly what I am doing

1 Like

Ok, but this would be super awkward in case I want to do something like scroll through the options for an input select and activate one of them. (It would require a separate view for each of the options!)

hey mate - did you ever figure out how to cast the camera feeds? i am stuck in the same issue where everything works except from live camera feeds (which i can see well in the lovelace card (as a picture-entity with camera_view set to live). thx!

Does anyone know if casting works to the Lenovo smart clock device?

If anyone else is experiencing this issue where you can’t cast a view unless you are already authenticated, please make some noise on the Github issue. Cheers. https://github.com/home-assistant/home-assistant/issues/28971

There’s also a thread about it. Google Cast error - Unable to find a view with path xxxx

Non, doesn’t work.

You can’t cast Lovelace or media content.
I tried it already, hopefully with an update it will work because when I cast Lovelace or a picture it’s showing that’s connected but a grey screen.

Also the symbol within the Google Home app, shows a symbol of a Hub.

1 Like

I have 0.103.0 and after a restart this morning, I get the message:

There were no suitable Chromecast devices to cast to found.

So I logged out, logged in again, still same error, anyone an idea?

Question, is anyone experience problm with custom lovelace cards doesn’t get loaded? When starting cast from automation I get my view but only with lovelace components, I need to navigate away from the view and then back again and it works or refresh lovelace from a phone or computer. Could it be that cast starts before the components are loaded? I think that plugins like custom cards have a lower priority and any custom cards are replaced with a placeholder. When the initial loading is done, lovelace starts loading in custom plugins, and replacing the cards when a plugin loads. I think this is what happens and it is not reloaded correctly.

Another thing I have seen in the thread is that people have problem starting up casting. I have solved it by this and it works at least 99% of the times:

  • alias: ‘Start Homeassistant cast - alarm off’
    trigger:
    platform: state
    entity_id: (for instance triggers by alarm off)
    to: ‘disarmed’
    action:
    • service: cast.show_lovelace_view
      data:
      entity_id: media_player.kok_hub
      view_path: cast_view
    • delay: 00:00:05
    • service: media_player.turn_off
      data:
      entity_id: media_player.kok_hub
    • delay: 00:00:02
    • service: cast.show_lovelace_view
      data:
      entity_id: media_player.kok_hub
      view_path: cast_view
    • delay: 00:00:05
    • service: media_player.turn_off
      data:
      entity_id: media_player.kok_hub
    • delay: 00:00:02
    • service: cast.show_lovelace_view
      data:
      entity_id: media_player.kok_hub
      view_path: cast_view

I find it can take 10 seconds or so for cast to load and then even longer for some custom stuff to load… I just wait…

Hmm strange that it works for you. For me I need to navigate away or just reload from computer or phone using update lovelace. Is it that you have any pure lovelace ui componets in your cast view? I have only custom ui components