Czesc, zauwazylem problemy z dwoma kompoentami po aktualizacji bramki do najnowszej stabilnej wersji:
- sonoff z oryginalnym firmwarem (sposob integracji opisany tutaj Integracja Sonoff (urzadzenia z oryginalnym firmwarem) - #16 przez badzio)
- tuya (sposob integracji zgodny z opisem na stronie HA)
W obydwu przypadkach w logach widze No address associated with hostname
Przykladowy log:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 603, in urlopen
chunked=chunked)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 344, in _make_request
self._validate_conn(conn)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 843, in _validate_conn
conn.connect()
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connection.py”, line 316, in connect
conn = self._new_conn()
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connection.py”, line 169, in _new_conn self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0xe43545b0>: Failed to establish a new connection: [Errno 7] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 641, in urlopen _stacktrace=sys.exc_info()[2])
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/util/retry.py”, line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘eu-api.coolkit.cc’, port=8080): Max retries exceeded with url: /api/user/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xe43545b0>: Failed to establish a new connecti
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/homeassistant/setup.py”, line 172, in _async_setup_component
hass, processed_config
File “/data/data/pl.sviete.dom/files/home/AIS/custom_components/sonoff/init.py”, line 53, in async_setup
hass.data[DOMAIN] = Sonoff(hass, config)
File “/data/data/pl.sviete.dom/files/home/AIS/custom_components/sonoff/init.py”, line 100, in init
self.do_login()
File “/data/data/pl.sviete.dom/files/home/AIS/custom_components/sonoff/init.py”, line 176, in do_login
headers=self._headers, json=app_details)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/api.py”, line 116, in post
return request(‘post’, url, data=data, json=json, **kwargs)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘eu-api.coolkit.cc’, port=8080): Max retries exceeded with url: /api/user/login (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0xe43545b0>: Failed to establish a new conne2020-01-17 10:41:40 ERROR (SyncWorker_8) [homeassistant.components.ais_cloud] Can’t connect to AIS Cloud!!! https://powiedz.co/ords/dom/dom/audio_type?nature=Radio
2020-01-17 10:41:40 ERROR (SyncWorker_8) [homeassistant.components.ais_cloud] Can’t connect to AIS Cloud!!! https://powiedz.co/ords/dom/dom/audio_type?nature=Podcast
2020-01-17 10:41:40 ERROR (SyncWorker_8) [homeassistant.components.ais_cloud] Can’t connect to AIS Cloud!!! https://powiedz.co/ords/dom/dom/audio_type?nature=News
2020-01-17 10:41:41 ERROR (SyncWorker_1) [homeassistant.components.ais_drives_service] Error HTTPSConnectionPool(host=‘powiedz.co’, port=443): Max retries exceeded with url: /ords/dom/dom/key?service=gdrive_client_id (Caused by NewConnectionError(’<urllib3.connection.Ver2020-01-17 10:41:41 ERROR (MainThread) [homeassistant.setup] Error during setup of component tuya
Traceback (most recent call last):
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/connection.py”, line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/site-packages/urllib3/util/connection.py”, line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/data/data/pl.sviete.dom/files/usr/lib/python3.7/socket.py”, line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 7] No address associated with hostname
@admin.ai-speaker jakies pomysly?