I got it working after several tries. The Oauth2 credential screen redirected me to the Oauth consent screen, where i needed to create an app. I created an external app and defined my own email as test user. Now it works!
I have been a long time user of badnest and decided today to try the new integration and I am having some difficulties. I am getting the Something went wrong when I try to configure the nest integration.
My yaml file is:
nest:
client_id: copied from google.apps.googleusercontent.com
client_secret: mysecret copied from google
# "Project ID" in the Device Access Console
project_id: home-assistant-xxxxx
# Provide the full path exactly as shown under "Subscription name" in Google Cloud Console
subscriber_id: projects/xxxx/subscriptions/Nest_ha
I’m still getting these errors even though stream is working
2020-12-20 23:06:23 ERROR (stream_worker) [libav.tls] The specified session has been invalidated for some reason.
2020-12-20 23:06:34 ERROR (stream_worker) [libav.rtsp] method DESCRIBE failed: 404 Not Found
Any idea what to add to the logs config to disable them?
I thought libav.tls and labav.rtsp would be right ID but it didn’t work out
I have now gotten the integration to link to my nest account, but none of my three thermostats or my nest hello came in. I clicked on all of them when the link page loaded.
Yes, honestly not exactly sure what the problem was but tried a few different options with the attachment / URL syntax format (not the URL itself) and i got it to work.
@bschatzow see some suggestions in https://www.home-assistant.io/integrations/nest/#troubleshooting – in my case, restarting a thermostat made the google API start returning it. I’ve seen a few other examples where enabling the API helps. If none of that works, then consider going through the API instructions on the Google page and using the curl commands to verify if its the API itself or something else.
@drthanwho thanks! so stream_worker is from homeassistant.components.stream.worker i believe, if you haven’t tried increasing the level for that to critical – but those log line come from libav so you might have to dig into that code to find the package.
I restarted the thermostat, I uninstalled the google links. I created a new project and still none show up.
What are the curl commands to use to verify the api or something else?
Home assistant logs:
Logger: homeassistant.config_entries
Source: config_entries.py:247
First occurred: 6:09:49 PM (9 occurrences)
Last logged: 6:16:24 PM
Config entry for nest not ready yet. Retrying in 5 seconds
Config entry for nest not ready yet. Retrying in 10 seconds
Config entry for nest not ready yet. Retrying in 20 seconds
Config entry for nest not ready yet. Retrying in 40 seconds
Config entry for nest not ready yet. Retrying in 80 seconds
There should be additional error logs with details of what is wrong if you look at the full log? Likely something is misconfigured but would need to see the nest error log to be certain