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!
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!
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.
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:
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
I’m sorry if I missed something, but currently I can’t get it to cast if I use the service call.
I can only get it working if I use https://cast.home-assistant.io/
I want to create an automation that cast my lovelace view via Nabu Casa. I don’t want to open the above link everytime.
But when I call that, it only shows “Connected” on the Nest Hub, and nothing else happens.
At the moment I don’t use https internally and I only use Nabu for cloud connect.
Sure.
In the service call where you entered view_path: '0 ' needs to match what you called the tab otherwise it won’t show. So my view_path is default view.
Is there any way to actually stop the casting By service? If you start casting the cast stays active until you stop it yourself or swipe it to the right of the screen to “hide”.
If you don’t use https in your LAN you could use catt. In my opinion it’s more powerful in comparison to home assistant cast (for now). For me Catt is not working because i do use https in my LAN and Catt fails to cast…