Same here. Had to add the urls and then I was able to add the integration.
You’ll need to add your external address for the project here:
Right now in yaml but will try remove and configure in settings tomorrow. Will call back with result. Thanks so far
Strang, mine is correct but still have an issue. I set this up as web application type.
I managed to work back through a second time and now have my thermostat temperature and humidity. In HA. Cleaning up some old projects in the Cloud console helped, although I do find the console very unintuitive.
Looking forward to seeing this develop and getting access to cameras etc in time.
This is my fault! Although part of the camera functionality has already been merged into the Home Assistant codebase (thanks to the work by @allenporter), it hasn’t been released yet as of HA 0.117.0.
I submitted a change to the documentation in order to change the camera link from “(Legacy API Only)” to “(Both APIs)” because the functionality had already been merged, and also in order to fix some broken links. However, this change was incorrectly incorporated as part of the documentation release for HA 0.117.0, so that’s why you end up seeing the “(Both APIs)” next to “Camera” instead of “(Legacy API Only)”.
I’ve submitted a fix, and I’m now waiting for a docs maintainer to accept it.
When trying to add the integration, I am transported to this page:
https://nestservices.google.com/partnerconnections/aaaa-aaa-nnnnnnnnnn/auth?response_type=code&client_id=############-nxhx8xgx1x9xcxvxjxnxuxjxgxaxvxux.apps.googleusercontent.com&redirect_uri=http://______.duckdns.org:8123/auth/external/callback&state=exJxexAxOxJxVxQxLxJxbxcxOxJxUxIxNxJx.xyxmxGx3x2xkxjxixmxkxDx3xTxwxmxixDx4xjxixjx2x2xwxjxhxGx0xGxixQx4xux3xSxIxjxoxgxJxFxkxrxcxcxvxVxjxQxSx_xrxc&scope=https://www.googleapis.com/auth/sdm.service+https://www.googleapis.com/auth/pubsub&access_type=offline&prompt=consent
where it says Something went wrong. Please contact the developer of this app if the issue persists.
configuration.yaml:
nest:
client_id: ############-nxhx8xgx1x9xcxvxjxnxuxjxgxaxvxuxk.apps.googleusercontent.com
client_secret: 3xvxCxmxzxlxmxKxLxrxJxxx
# Fields required by Device Access (SDM) API. Otherwise, use legacy API.
project_id: aaaa-aaa-nnnnnnnnnn
subscriber_id: home-assistant
I am starting over…will advise the outcome.
I tried it, configured it, but did not change the error message (since the redirect url still has 192.168… in it when i want to configure nest.)
I spoke to soon.
I have two entities representing temperature and humidity from the thermostat in HA however they have not updated since I configured the integration yesterday.
Either I’ve got a perfectly insulated home, or the sensors are simply not refreshing.
I know I’ve seen this reported somewhere with a workaround / fix but cannot for the life of me find it.
Can anyone advise how to correct this please?
@TazUk there is no workaround at the moment. It needs the google-cloud-pubsub updating from currnt version to later release. Details of the reported issue can be found here:
Thanks @Townsmcp - saved me digging some more over the weekend.
My favourite kind of issue - I just have to watch the github issue and wait for people smarter than me to solve it
This might be an obvious one for everyone, but it wasn’t for me… I ran into a lot of issues because I was using Firefox. Some pages on the Google Cloud Platform did not load (such as the edit of the OAuth credentials) or it takes a really long time (such as the GCP terminal).
If you use Chrome to configure all the steps from A - Z, that really helps a bunch. Just my €0.02.
@allenporter Great work on the integration, bravo! I now have a Nest Thermostat (humidity and temp) in my Home Assistant, so I am eagerly waiting for the next iteration.
@DidierM, although you now have the 2 devices, can you confirm they arent updating? Only update occurs on reboot of HA? Im just curious really
I have 2 Thermostats, so I have 4 entities currently and I can confirm that they do not update after initial configuration.
@Townsmcp I can confirm that, restart of HA is the only way to update.
Is there already a registered issue for this?
Yes, issue already on GitHub:
If you have a GitHub account, might pay to subscribe to it to keep up to date
Any COMPLETE guide to configure the news nest accounts?
The actual documentation is confused, it mixs legacy and new accounts…
I think I have the new api configured… But, I don’t see my Hello Nest…
It is supported?
I only have a hello, so… How I can check that all it is ok?
@MiguelAngelLV The integration does not support anything other than thermostat at the moment - and even then doesnt support the full thermostat; only temperature and humidity are currently supported for thermostat.
Thanks @avm9963 for the explanation. Thanks for your help.