Haven’t found anyone with such issue. Looks like I’m having problems with logging into API.
I did everything as written here: Add Support for Fujitsu wireless Air Conditioning control app - FGLair - #103 by oleandor
My paths:
/home/pi/homeassistant/deps/lib/python3.9/site-packages/pyfujitseu
- _ _init _ _.py
- api.py
- splitAC.py
/home/pi/homeassistant/custom_components/fujitsu_general_heatpump
- _ _init _ _.py
- climate.py
- manifest.json
configuration.yaml
Running HomeAssistant in docker version 20.10.14
, with HA 2022.4.4
ERROR
Logger: homeassistant.components.climate
Source: deps/lib/python3.9/site-packages/pyfujitseu/api.py:168
Integration: Climate (documentation, issues)
First occurred: 20:40:33 (1 occurrences)
Last logged: 20:40:33
Error while setting up fujitsu_general_heatpump platform for climate
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/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.9/socket.py", line 954, 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.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83136f40>: 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.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='user-field.aylanetworks.com', port=443): Max retries exceeded with url: /users/sign_in.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83136f40>: 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/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fujitsu_general_heatpump/climate.py", line 83, in setup_platform
if not fglairapi._authenticate():
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 108, in _authenticate
response = self._call_api("POST",
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 168, in _call_api
response = requests.request(method, url, data=kwargs.get("json"),headers=kwargs.get("headers"))
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='user-field.aylanetworks.com', port=443): Max retries exceeded with url: /users/sign_in.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83136f40>: Failed to establish a new connection: [Errno -3] Try again'))