What this is:
Displaying a live Nest Camera stream in Lovelace UI after the Works With Nest program has been closed.
Gotcha:
You will have to share your camera publicly. I want to do further testing with the password option, but I have a feeling it won’t work.
What we don’t get:
Motion, person, sound detection.
Nest Mode control.
What happened?
I had Nest integrated, and I had the camera entity displayed on my Lovelace, I was happy I got in before Works With Nest shut down.
Then one day my HASSIO VM just died, the virtual disk was just gone.
I restored my last snapshot and began picking up the pieces but noticed my Nest integration wasn’t working quite as expected.
So I figured I’d remove the Nest integration and then re-add it. I assumed since I was in before the date my access was secured, I assumed wrong.
I had been digging around a lot and finally found a way to get the public stream Nest spits out into HA.
Then I also found out you can have a live stream in Lovelace! That’s what I always wanted it to be, so this is even better in my opinion than the true Nest integration as far as video, because the true Nest integration only gave an image every few seconds.
First we need to extract the stream URL out of the public webpage Nest spins up. There’s a utility here to do it, just paste in your public stream and the iSpy (think of it as open source Blue Iris, I was about to use this and still might to do image processing) will spit out the stream URL.
https://www.ispyconnect.com/userguide-nest.aspx
Here’s the configuration.yaml
camera:
- platform: ffmpeg
name: Front Door Camera
input: https://stream-uc2-delta(might be different than delta).dropcam.com:443/nexus_aac/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/chunklist_wXXXXXXXXXXX.m3u8?public=XXXXXXXXXXX
For the Lovelace, I use a picture-glance card in case I want to interact with things that are visible in the camera view, like lights… I wish you could display sensor values here, I think water detection might work, because it just shows the entity icon.
Here’s the Lovelace config:
title: Front Yard
camera_view: live
type: picture-glance
camera_image: camera.front_door_camera
entities:
- light.front_porch_light
- switch.front_yard_holiday_lights_he
Hopefully this helps somebody else who feels left in the dark after Nest shut the door.
I’d love to hear suggestions about how to make this more secure, I’ll try the option with a password later.