ich habe den SOC aus Homeassistant ausgelesen, was auch sofort funktioniert hat.
Nun bin ich nach Hause gekommen und ich habe keinen Wert mehr gesehen. Muss gestehen ich weiss nicht ob ich zwischenzeitlich an der Openwb ein Update der Firmware gemacht hatte.
Aktuell auf der Anlage
2026-03-18 11:45:57 +0100 [f34d6752c]
Habe jetzt alles nochmals eingetragen aber es kommt folgender Fehler im
https://paste.openwb.de/IdNloutemsqPXLk
Wäre toll wenn ihr mir helfen könntet.
Grüße
Alex
Code: Alles auswählen
2026-03-22 02:03:20,390 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev2} - HomeAssistant: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ("Der SoC kann nicht ausgelesen werden: HTTPSConnectionPool(host='10.0.11.4', port=8123): Max retries exceeded with url: /api/states/sensor.battery_hv_state_of_charge (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1137)'))). Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.",), Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1017, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 453, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1073, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1137)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 756, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 576, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='10.0.11.4', port=8123): Max retries exceeded with url: /api/states/sensor.battery_hv_state_of_charge (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1137)')))