Hi everyone,
Just installed my Reolink WiFi Doorbell today.
If I say ‘Ok Google, Stream doorbell’ - It shows the live footage.
Trying to create an automation where if the doorbell rings, it shows up on the Google Nest Display.
At present, if the doorbell rings, the display makes a noise, trys to load the camera and then just shows a blue cast icon in the center of the screen. No actual footage loads.
Just wondered if anyone had experienced anything similar or might know where i’m going wrong?
This is the error in my log:
Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:378
Integration: Google Cast (documentation, issues)
First occurred: 21:37:04 (3 occurrences)
Last logged: 21:41:42
Failed to cast media http://hassio.local:8123/api/hls/3e975466eec737310974e5ff58a61dd3275aa6628630d8b703c99fc76161e444/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI2MzEwNzBlMjBhMzA0OTRmOTY0YjY1Y2E0NzE4OWQyMCIsInBhdGgiOiIvYXBpL2hscy8zZTk3NTQ2NmVlYzczNzMxMDk3NGU1ZmY1OGE2MWRkMzI3NWFhNjYyODYzMGQ4YjcwM2M5OWZjNzYxNjFlNDQ0L21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNzA5MTU2MjIwLCJleHAiOjE3MDkyNDI2MjB9.yeS84ZxtUpSjnPMjdF1IyNHggeqL9aO11ZxAEoXk6hc from internal_url (http://hassio.local:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Failed to cast media http://hassio.local:8123/api/hls/3e975466eec737310974e5ff58a61dd3275aa6628630d8b703c99fc76161e444/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI2MzEwNzBlMjBhMzA0OTRmOTY0YjY1Y2E0NzE4OWQyMCIsInBhdGgiOiIvYXBpL2hscy8zZTk3NTQ2NmVlYzczNzMxMDk3NGU1ZmY1OGE2MWRkMzI3NWFhNjYyODYzMGQ4YjcwM2M5OWZjNzYxNjFlNDQ0L21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNzA5MTU2MjUxLCJleHAiOjE3MDkyNDI2NTF9.mfvF1MU5I2qifzCfHFaB6SnV0fsGleHbKMQmzhIZoXs from internal_url (http://hassio.local:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Failed to cast media http://hassio.local:8123/api/hls/46e32de6d02fefc9e0d18fc0e2d9cc6ad8ecc4e0652be999660889ddd4a28118/master_playlist.m3u8?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI2MzEwNzBlMjBhMzA0OTRmOTY0YjY1Y2E0NzE4OWQyMCIsInBhdGgiOiIvYXBpL2hscy80NmUzMmRlNmQwMmZlZmM5ZTBkMThmYzBlMmQ5Y2M2YWQ4ZWNjNGUwNjUyYmU5OTk2NjA4ODlkZGQ0YTI4MTE4L21hc3Rlcl9wbGF5bGlzdC5tM3U4IiwicGFyYW1zIjpbXSwiaWF0IjoxNzA5MTU2NDk5LCJleHAiOjE3MDkyNDI4OTl9.-6i5WSIgmD-4XkzmqqcJw2Vn8KcioxHGhQcpPKd7xcI from internal_url (http://hassio.local:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
I have found a solution for immediate live streaming on a google nest. The issue is the latency when starting a google cast when you triggered in HA a person detection. Therefor, I cast always a dashboard on the google nest (main menu or specific dashboards for multi purpose usage). I have added a custom:button-card template with the live stream (see styles settings below). I’ve created a input_boolean which will be set “on” when the camera detects a person and will be set-off after 1 minute not detecting. I use this boolean in the visibility option of the card (for one or another reason, you can’t put it in the template). You have to add this card to each dashboard you are using on the Google Nest.
Thanks for the tip but I am struggling a bit to get this to work. Whenever I setup the yaml on its own dashboard and look at my lovelace view through a browser all I see is a large blue camera icon. I have to click on it to see the video stream. The same thing happens when I cast the dashboard. I have to tap on the blue camera icon on the Nest to get it to show and even then it only shows in a window. What am I missing?
I sort of figured this out reading the button-card GitHub and getting some Grok help. I had to use show_live_streams: true to get the camera to display. However, my camera always displays in a window smaller than the card on both the web view and Nest Hub view. I spent over an hour tweaking the parameters to get the image to fit perfectly on my Nest Hub, but it is overly zoomed in when looking at the web view. I can’t seem to figure this out. If i use the settings you have then a smaller window of my camera feed is displayed. To keep things cleanly separated I created a separate View with a single card only. The advantage to this method is that it takes about 6 or 7 seconds to display the video which is roughly equivalent to playing the reolink video stream on the Nest, but there isn’t a 25 to 30 second delay of the video. However, there is no sound since it is casting essentially a moving picture. I wish they could fix the Reolink integration or allow rtsp streams to cast to Nest Hub.
Here is my somewhat ugly code that positions it centered on a Nest Hub. There has to be a better way to do this.
sorry for my late answer. I didn’t set the notification options on my profile, so I was not aware on any comment. Since the last HA update, the card reacted differently on my Nest, so I had also to tweak a bit. I’m using width: 1024px and height: 765px (losing a bit of the bottom of the live stream, but you’re right, the scale of the Nest is not equal to the scale of the live stream). It doesn’t stream smoothly anymore (since the recent update), I get pics every 10-ish seconds. If you double-click, you’ll see fluent live stream with sound (which was not the case before the update).
I have made also a template of this card, so I can it easy to all nest dashboard. This is the YAML code to add the template card to a dashboard.
type: custom:button-card
template: camera
visibility:
condition: state
entity: input_boolean.persoondetectie
state: “on”
The boolean persoondetectie is set by an automation when the camera detects a person. In the automation, the boolean will be set to off after one minute.