1.9.303.0 Tesla Powerwall: Datenabfrage nicht mehr möglich
Verfasst: Mi Nov 22, 2023 12:52 pm
Hallo in die Runde,
meine openWB mit 1.9.303.0 hat schon einige Zeit keinen Ladestand der Powerwall mehr.
Es gab keine Änderungen im Netzwerk, die Powerwall selber ist über http(s) zu erreichen. Das Setup lief in dieser Konfiguration jetzt fast zwei Jahre.
Die Konfigurationsseite der Powerwall in der openWB: Ein Auszug aus dem Log:
meine openWB mit 1.9.303.0 hat schon einige Zeit keinen Ladestand der Powerwall mehr.
Es gab keine Änderungen im Netzwerk, die Powerwall selber ist über http(s) zu erreichen. Das Setup lief in dieser Konfiguration jetzt fast zwei Jahre.
Die Konfigurationsseite der Powerwall in der openWB: Ein Auszug aus dem Log:
Code: Alles auswählen
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.1.95', port=443): Max retries exceeded with url: /api/login/Basic (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 535, in post
timeout=5
File "/var/www/html/openWB/packages/modules/devices/tesla/device.py", line 109, in __authenticate
cookie = self.__authenticate(session, address, email, password)
File "/var/www/html/openWB/packages/modules/devices/tesla/device.py", line 120, in __authenticate_and_update
self.__authenticate_and_update(session, address, email, password, self.__update_components)
File "/var/www/html/openWB/packages/modules/devices/tesla/device.py", line 76, in update
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.1.95', port=443): Max retries exceeded with url: /api/login/Basic (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 495, in _ssl_wrap_socket_impl
ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 453, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):