NestCam support

plz someone make it support

2 Likes

Has there been any progress on adding NestCams? I’ve got a couple I’d love to be included in Hass

1 Like

I started work on updating python-nest for Nest Cam support with the new API at https://github.com/jkoelker/python-nest/issues/49 and support with homeassistant support started at https://github.com/home-assistant/home-assistant/pull/4292

This is SUPER DUPER WORK IN PROGRESS, so I wouldn’t suggest trying it unless you are a developer that can help debug and contribute at this point.

1 Like

Been away for a bit and upgraded to latest HASS this evening. Was very happy to see NestCam integration!!

Looks like I can view the video, get notifications in HASS when the NestCam sees someone etc.

I think the only think you still can’t do is turn it on and off though?

They’ve added support for turning the cam on and off using the API

Hopefully that can get added to HASS now!

Any progress on this?
Currently it looks like you can only set the ‘home_mode’ ?

Is it now possible to update is_streaming in home assistant?

Is_streaming setter is already implemented in python-nest. It must be quite easy to implement it in the HA component. Could someone please look in to this?

I’m pretty new to HA, so not sure how to proceed “officially” here. But I did figure out how to update the basic camera component and Nest integration to do this. Some details here:

If someone who knows how to properly submit enhancements to HA would like to pick this up and run with it, I’d be more than happy to provide what I did. At least it might be a reasonable start.

@pnbruckner
Could you please put your changes on github? I tried to do the same thing, but my python skills are not sufficient.

To make it official i believe you have to make a pull request.

@wouzer, I think the “cost of entry” is a bit higher than that (and by that I mean what’s involved in getting code submitted and accepted into HA), so unfortunately, it won’t be too soon. But in the meantime, as I said, I’m happy to share what I did with anyone directly.

@pnbruckner, I’d love to see your code and learn from it. Could you PM me the files please?

Is the Nest Cam live on your HA page? I just got one set up and am confused as it’s only seeming to be a still image that’s updated every couple seconds.

Nest’s API, as I understand it, does not stream video. It only supports periodic snapshots. And the period depends on whether or not you have a Nest Aware account - faster with, slower without.

Having said that, I’m still on 0.69.1 with the polling implementation. Not sure if anything changed in this respect with the newer REST Streaming API that 0.72+ is using. @awarecan would know better.

Nest didn’t exposure video stream to us. Current Nest Cam stream in HA is fake stream composite by snapshot. If you have Nest Aware subscription, you got 10 pics per minute.

Nest provide a web_url in camera’s property, we can use it to open Nest website to view the stream. I already have it in python-nest, but don’t have time to bring it to HA yet. We have to implement a iframe based more-info dialog, lots of work, en.

Looks like someone got this to work w/ live streaming: https://github.com/KhaosT/homebridge-nest-cam/issues/28 and from the looks of things, it was NOT done by exposing stream publicly.

They are using unofficial API reverse engineering from Nest iOS App. python-nest the upstream lib HA is using have been move away from unofficial API for a while. I won’t make an U-turn on this.

If anyone has interesting to implement that, here is the repo, https://github.com/KhaosT/homebridge-nest-cam

Thanks for the reply. Really wish I was able to code this myself but not sure I cam (pun not originally intended, but type-os can be great sometimes).

I will point out the following from Google Nest - Home Assistant

The nest platform allows you to watch the live stream of your Nest camera in Home Assistant. (emphasis mine)

According to this statement, I purchased a Nest Cam. I’m sad to find out that the statement is misleading. @awarecan are you in charge of that statement? If so, since it’s misleading (wrong) can you remove that part?

No one in charge here. If you thought it was misleading, feel free to click Edit this page on GitHub on the top right corner of document page to correct it.

This statement was there long before I join the community.

I’ve done this – btw I don’t think it’s misleading, it is misleading. I harbor no malice towards you, and thanks for your great work; but the fact of the matter is, what we currently have is in no way live streaming.