Cant Add Nest Account?

I followed the instructions to add Nest account as described here:

NEST

Didnt even complete the first step, adding developers account. After filling in all the required info and pressing submit I got the message:

Thank you for your interest in the Works with Nest program. We're currently restructuring our developer program and are no longer accepting new developers to the program or performing client integration reviews for existing developers until the new program is implemented. Stay tuned for further details and announcements.

So am I screwed and can no longer add nest to HA??

For the moment I’m afraid yes. This was discussed in a recent podcast

1 Like

Thank you…

@lolouk44 can this possibly explain why I can’t get my nest working again after a move to HASS.IO?

It’s been working perfectly for a long time now and after reinstalling and migrating to hassio, I can’t get the nest component to add me. After entering the pin I get: Internal error validating code

The logs state:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6e975910>: Failed to establish a new connection: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.home.nest.com', port=443): Max retries exceeded with url: /oauth2/access_token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6e975910>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/nest/config_flow.py", line 105, in async_step_link
    tokens = await flow['convert_code'](user_input['code'])
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/nest/local_auth.py", line 39, in resolve_auth_code
    await hass.async_add_job(auth.login)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/nest/nest.py", line 175, in login
    response = post(ACCESS_TOKEN_URL, data=data, headers=headers)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.home.nest.com', port=443): Max retries exceeded with url: /oauth2/access_token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6e975910>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

Name does resolve when I try it manually, I’ve even tried entering all the ip addresses for the api.home.nest.com

Is this related?

been a long time since I set up my nest.
As far as I know, Nest only doesn’t allow new accounts to be created. As long as you have a valid account you should be able to re-link your nest to HA.
you say you tried to resolve the name, was that on a browser on the pi where hass.io is installed (if that’s even possible? I don’t use hass.io)

I tried it on the pi using SSH (nslookup)

sorry mate not sure why. And on the off chance this is no longer working I don’t want to break the connection… :no_mouth:

:grinning: No worries, I’m going to investigate a bit more.

Somehow i was able to create a new developer account and configure permissions, but the end result was what looks like a valid client id and an empty client secret. So no dice.

Is this a symptom of the existing problem or a sign that something is changing? I only recently started playing with HA so im not sure where things stand.