I’m just using the standard card for my thermostat, so not use about using a custom card for it.
With the “sensor:” if you have more than one block in your config yaml starting with “sensor:” you have to give them unique names. So for example, I actually have:
sensor nest:
As I also have other sensors in my configuration.yaml, such as:
Anyway, it’s mentioned here multiple times (even in github), use just the which is in the last iframe call, doesn’t matter what is at the beginning. After my last refresh mine starts by “SID=”.
I can’t seem to get this integration working despite being adamant i’m following the steps to the letter.
I’m using “mattsch” repository, installed via HACS
I did notice when generating my cookie, the line starts with GoogleAccountsLocale which doesn’t seem to match what others have seen. (screenshot below).
I’ve also tried tweaking the cookie to remove everything before “OCAK” and various other strings that people have mentioned on here. But no joy. So i’m a bit stuck now.
Sorry for the slightly noob question but what does the sensor element do for this component? Does it allow you to track home/away status via the thermostat?
Try it in Chrome Incognito mode, that should work.
I’m still running the original by RedDragon and all I need to do is occasionally refresh the token and cookie. Until today I used to always get a cookie starting with OCAK, but today it was different, but it still works.
Open Developer Tools (View/Developer/Developer Tools).
Click on ‘Network’ tab. Make sure ‘Preserve Log’ is checked.
In the ‘Filter’ box, enter issueToken
Go to home.nest.com , and click ‘Sign in with Google’. Log into your account.
One network call (beginning with iframerpc ) will appear in the Dev Tools window. Click on it.
In the Headers tab, under General, copy the entire Request URL (beginning with https://accounts.google.com , ending with nest.com ). This is your "issue_token" in configuration.yaml .
In the ‘Filter’ box, enter oauth2/iframe
Several network calls will appear in the Dev Tools window. Click on the last iframe call.
In the Headers tab, under Request Headers, copy the entire cookie (beginning OCAK=... - include the whole string which is several lines long and has many field/value pairs - do not include the cookie: name). This is your "cookie" in configuration.yaml .
To add on to the chorus of does this work, does person detection work with @TheMattS 's version?
I’m very torn if I should switch to Google authentication.
My goal is to get real video from my Nest Doorbell and person detection.
Currently I have person detection with my legacy works with nest integration but I really could use smoother video than the original badnest integration provides, as it’s just frame by frame, I’ve seen some reports of people getting smooth playback.
It seems to work for me in that the devices appear and list their state as ok. I’m using the original RedDragon version still. I haven’t tried burning my house down to test it.