Just updated my docker container to 2022.9.1 and I am getting errors with my Neato automations.
I know they have removed the API from the latest models but I thought the existing functionality would stay within HA. This previous entry in logs to the below is about the OAuth token being imported.
Just tried the specified host (beehive.neatocloud.com) and that seems to resolve OK (albeit it is redirecting to https://neatorobotics.com/)
Logger: homeassistant.config_entries
Source: components/neato/hub.py:41
First occurred: 12 September 2022 at 03:31:21 (1 occurrences)
Last logged: 12 September 2022 at 03:31:21
Error setting up entry Import from configuration.yaml for neato
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x153a56b65a20>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='beehive.neatocloud.com', port=443): Max retries exceeded with url: /users/me (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x153a56b65a20>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pybotvac/session.py", line 167, in get
response = self._get(url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/pybotvac/session.py", line 184, in _get
return self._oauth.get(path, headers=headers, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py", line 521, in request
return super(OAuth2Session, self).request(
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='beehive.neatocloud.com', port=443): Max retries exceeded with url: /users/me (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x153a56b65a20>: Failed to establish a new connection: [Errno -3] Try again'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/neato/__init__.py", line 96, in async_setup_entry
await hub.async_update_entry_unique_id(entry)
File "/usr/src/homeassistant/homeassistant/components/neato/hub.py", line 41, in async_update_entry_unique_id
await self._hass.async_add_executor_job(self.my_neato.refresh_userdata)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/pybotvac/account.py", line 316, in refresh_userdata
resp = self._session.get(url)
File "/usr/local/lib/python3.10/site-packages/pybotvac/session.py", line 174, in get
raise NeatoException("Unable to connect to neato the neato serves.") from ex
pybotvac.exceptions.NeatoException: Unable to connect to neato the neato serves.