I made a crappy Nest Thermostat integration that will work as a stopgap until alternatives come out

I dont know why the Hound in GoT didnt like Gingers… RedDragon is my new best buddy.
Thanks @USA-RedDragon for putting this together. Got it working with bells and whistles.

One question I could not get to the bottom of - How do new devices get pulled in when I add them?
Do I need to restart HA entirely or should they just appear?

I just migrated my account from Nest to Google since this component stopped working a few days ago. Just wanted to say that using the Vivaldi browser (chromium based), I didn’t get same results in the developer tools as described in the github readme. When I switched to using Chrome, then I got the proper network requests and was able get the issue_token and cookie values.

Also, it appears that if you leave the email address in the configuration from the nest login, the component won’t actually load still. Once I removed that, then it came up and everything looks good again. Just an FYI for others who migrate.

Had the same question, I added 2 protects and they don’t show up.
What I did do was recheck the token and cookie, and the cookie had changed after I added the new devices. Might be an idea for you to check that out.

I have it up and running. I dont see the camera in the Nest Hub Max, which doesnt bother me so much yet. My primary concern is how to get the Protect to show No Smoke// Smoke and No CO// CO Alert instead o zero or one (I’m assuming its 1- I havent triggered the alarm since adding). I assume I can use some template - but Im not so great with it.

“2” means “Heads-Up”, “3” means “Emergency” for smoke status. Didn’t have time to test CO sensor.

If you scroll a bit, above there is simply template sensor for bfu translation. :nerd_face:

Since Dec 31 16:50 I see this error in de log and it shows up 15973 times

Updating badnest sensor took longer than the scheduled update interval 0:00:30

Anyone else see this happening?

1 Like

Mine stop working since Jan 1. And no matter what i do, i can’t get it back up. I’m also having the issue with life360 tracker.

If you use Nest account, there are reports about changes in login method (added captcha). Presumably you can solve it via migrating to Google account.

I haven’t rebooted my HA since 3.1.2020 so i’m still using Nest account without issues. :laughing:

Does anyone know if the person detected binary_sensor from the Nest Hello works with badnest?

1 Like

I just moved to the Nest from my old 3M Radio Thermostat, got badnest up and running great thanks @USA-RedDragon. Is there anyway to see when the actual fan is running. On my system I use the fan state to display whether the HVAC is actually running.

Cheers

1 Like

I am not seeing any cameras on Lovelace UI. The thermostat I have showed up without much trouble.

1 Like

Can you find it in the entities under configuration? I did nothing special after the install. Found the entity created by badnest and used it in my picture card. I have the nest hello door camera.

Cameras are broken in the current implementation due a change in APIs. I have fixed them in my pull request so you can take it from there or wait for it to be merged.

2 Likes

Should be possible if @USA-RedDragon can get access to a UK themostat.

I opened an issue here if you want to add comments. I’d be happy to provide the necessary output for this to be worked in:

Still working on mine.

Hey, Thanks for making the changes, my doorbell is working as well. Ive noticed that if let my UI sit that the camera stops updating and the image goes away. Its fixed by having another browser window open logged into home.nest.com. Then, if home.nest.com stops updating the camera image, the image goes away om my HA webpage.

My first attempt at using badnest, was unable to get my NEST Email & Password working… no 2FA enabled, tested account with web site & smart phone app – they get in fine. I converted to Google Account followed the instructions and badnest worked on the 1st try. Found my Thermostat and two protect units.

1 Like

Got mine working but I added a second thermostat and I was wondering if I can get both of them to show up in home assistant.

@USA-RedDragon
Hi. I cant get my Nest Hello doorbell (cam) to show up. Please help! :slight_smile:
I use Google 2FA and have this in configuration.yaml :

badnest:
  issue_token: "https://accounts.google.com/o/oauth2/iframerpc?...
  cookie: OCAK=Io28bi9geNm3CKFeaYTiYM...
  region: no

camera:
  - platform: badnest

(Region no for Norway - I’ve tried eu as well.)

Should the camera show up as an entity ?