Hi all, has anyone managed to get the Nest integration working?
I followed the instructions in the Home Assistant tutorial and managed to get through to allow nest permissions where it pulls through my 2 Nest Thermostats. I then receive the message:
“Success!
Successfully authenticated.
Created configuration for Configuration.yaml.”
However, even after restarting Home Assistant there are no devices or entities showing up. Does anyone have any suggestions on how to remedy this?
Hi,
Check out the recommendation at the troubleshooting page of the integration, in particular around restarting the thermostat. The problem I noticed is the thermostat doesn’t get returned on the API from Google for some reason without a restart.
If nothing there helps (e.g. double checking the api is enabled), I would recommend querying against the nest SDM API directly using curl commands following the Getting Started guide form Google. Then we can determine if the API is returning empty results (problem on google side), or if it is actually returning devices that are not recognized (problem in home assistant code).
I have tried the suggestions in the HomeAssistant troubleshooting but nothing seems to make a difference.
I have tried running the curl commands but it returns an error when trying to get an access token so I cannot get through to the next stage.
Looking at the activity for the project on Google it isn’t receiving any messages either, so perhaps it is an issue with SDM - but without being able to get an access token i cannot create a device list to check if it has found the devices. It is strange as when i go through the process of adding the integration to Home Assistant the pop up windows do find the correctly named Thermostats to allow.
Yes, it’s strange, and getting the api response will prove where the problem is. let me know when you get the api responses. Chris made a video.about how to query it if you’re stuck: https://youtu.be/_Wex2SLmEJ8
The steps should be simpler since you’ve already done a bunch of configuration for it to work with home assistant. (You also have an access token in config/. storage/core.config_entries you can borrow if that helps, but it may be expired and need a refresh so not sure it helps a lot)
I did have to remove the integration, restart my thermostats and then re-add it to get the devices to appear in HA.
It is also worth checking in your Nest login page if it shows Home Assistant as being able to access your data. If that isn’t showing them you will need to go through the authorization process again until it does.
So 4 yeas later and I stubled upon this thread, which has been very informative but did not solve my problem yet with the nest integration.
First of all back in 2021 I was able to configure the nest integration following this video: https://www.youtube.com/watch?v=_Wex2SLmEJ8. The nest thermostat has been working perfect sinds januari this year. I recently noticed that the integration stopped working. This was probably because the Device Access Console Pub/Sub changed.
I did fix that by creating a topic under Pub/Sub and add the topic in the Device Access Consel.
When I deleted the old integration and reconfigure it, I can do all the steps but in the end there are no devices visible. I did try to change the room in the nest app and restart the thermost but dat did not help.
But as a result I get no deveices. Only “{}” . I have no idea how to tackle this further? I should have given the right persmissions, and in the permissions page the thermost is shown as a deveice?
Okay It looks like I have been able to fix it. I did a full factory reset on the thermostat and reinstalled the integration and now it works. It looks like the authorisation for the pub/sub did not came through before the factory reset.