I managed to make Google Cast work.
Create new dashboard here: Configuration → Dashboards
one field is URL which will be prefilled by title, for me it was lovelace-doorbell (title was doorbell)
then url of this dashboard will be http://homeassistant.local:8123/lovelace-doorbell/0
The simple answer is that my dashboard path wasn’t being generated properly. Once I added value for, “path” into the Lovelace view (I added, path: HUD to the existing dashboard named, Landscape Dashboard), then refreshed the dashboard, and changed the configuration of the step of the show_lovelace_view to be:
Initially, the dashboard’s path was messed up, still showing something like, “/landscape-dashboard/0” – I’m not sure how or why things weren’t working that way, but I did generate that dashboard from the initial, out-of-the-box Lovelace view that came with Home Assistant. I’m guessing that’s what generated this problem in the first place since I tried a million variations otherwise.
I agree, things seem to work much better with the newest versions of Home Assistant vs before. This is the YAML code I currently use. I find that turning the device off first works better for edge cases when the device is already in-use.
Now that this CAST feature is somewhat stable, I’ve been playing around with it a bit more. I’ve noticed that the CAST feature does not support “camera_view: live” for Picture cards.
Does anyone know of any alternative cards that will allow for a live view of my cameras when using the CAST feature?
It does allow it from what I recall. Mine isn’t currently working, but I haven’t bothered to debug it and my camera RTSP stream conversion server needs to be rebuilt. Remember the rules for this type of casting though:
Stream source has to be accessible EXTERNALLY (e.g. outside of your network), so open up and forward the port on your router; AND
Stream source has to be a proper HTTPS stream with a valid (non-self-signed, signed using a public Certificate Authority) SSL certificate; AND
SSL cipher and TLS version has to be appropriate. (e.g. NOT SSL v2 or v3, so essentially TLS >= 1.0).
Here’s what I have right now (which doesn’t work, but should, since I believe it has worked before):
- camera_view: live
type: picture-glance
title: Front Door
entities: []
tap_action:
action: more-info
image: >-
https://your.android.tinycam.url.here.com:8083/axis-cgi/mjpg/video.cgi?camera=1&fps=5&compression=40&resolution=1280x720
camera_image: camera.front_door_camera