I’m aware of Google’s recent changes to works with Nest and I think I might be hosed but here’s to one last ditch effort to get my integration working again.
I’ve had my two Nest thermostats working with HA for nearly two years. I recently started having trouble with my entities showing up in Lovelace so I removed the integration with the intent of adding it back. When I go into Integrations and click Configure next to the Nest component I get the usual dialog that prompts for authorizing your account. When I click on that and am taken to Nest I get the error “Oops! We’ve encountered an error. Please try again.”
I checked my Nest list of approved integrations and noticed that Hassio showed up 4 times. This is probably due to the fact that I’ve lost and rebuilt my Hassio system at least that many times. My thought was maybe I had maxed out my available integrations so I attempted to remove the first of the four on my list. By removing that entry however, all of the four were removed.
Is there any hope of adding Nest integration back to Hassio at this point?
I’m getting the same “Oops! We’ve encountered an error. Please try again" on a new HA install on my Pi4 and I haven’t migrated my Nest account. I just used the existing client_id: & client_secret: as I have in the past but doesn’t seem to be working anymore.
I was able to get my previous nest integration working again.
Luckily I had an old HASS instance that was still connected with the same keys. I copied the nest entry from core.config_entries from my old instance to my new one and I was connected again.
Joe, I noticed no-one responded yet and I wanted to let you know I just did this today for my nest thermostat and here is how. You’ll need a working backup of your config when it worked. Then locate the file .storage\core.config_entries in the backup and find the section like below:
Cut and paste it into your fresh install into the same file. Take note where the ***** are as it will be random and unique to your account. Also when pasting into the new file make sure the formatting/spacing is correct.
Then I simply pasted my nest: section back into my configuration.yaml, did a quick config check, and restarted. I was right back in business. If you go to the integrations section you’ll notice the Nest section will be back auto-magically.
I’m not a home assistant pro but I hope this helps clarify it.
Jb, I have been able to get HA to read the current status of sensors, etc of my Nest thermostat by using the method you outline using the tokens I was able to recover.
However, I have not been able to modify any of the operating modes/temperature setting or any of the settable parameters, even using ‘Developer Tools’ -> Services-> climate.set_temperature service.
I get the following error, Any suggestions?:
An error occurred while setting temperature: No write permission(s) for field(s): target_temperature_low_f,target_temperature_high_f 11:59:41 AM – nest (ERROR)
Bastero, I apologize up front but I’m not sure what this could be. Personally I didn’t have any problems like this and I can control mine just like before but I did find a old 2017 post on git that someone was getting similar write permissions that was solved by enabling the +rw on the nest developer account. I assume you had all that working before of course… I’m going to double check my config and see if there was something else maybe I missed and I’ll get back.