Ich habe (schon seit einiger Zeit) mein Mainlog voll mit folgenden (und ähnlichen) Meldungen
Code: Alles auswählen
2024-04-17 02:53:46,114 - {control.counter_all:101} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -376.21999999999997W, Berücksichtigte Komponenten neben EVU [{'id': 2, 'type': 'inverter', 'children': [{'id': 1, 'type': 'bat', 'children': []}]}, {'id': 12, 'type': 'inverter', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 1, 'type': 'bat', 'children': []}]
2024-04-17 02:53:46,117 - {modules.common.simcount._simcount:41} - {WARNING:MainThread} - Time difference between previous state and current state is too large. Set time difference to control interval.
2024-04-17 03:06:14,066 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.188.74, 502) failed: timed out
2024-04-17 03:06:16,072 - {modules.common.fault_state:49} - {ERROR:device11} - Hoymiles Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server http://192.168.188.82/api/livedata/status ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x6f648dc0>, 'Connection to 192.168.188.82 timed out. (connect timeout=5)')
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 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.188.82', port=80): Max retries exceeded with url: /api/livedata/status (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x6f648dc0>, 'Connection to 192.168.188.82 timed out. (connect timeout=5)'))
Ich weiß natürlich, dass dies Verbindungprobleme zu dem Wechselrichtern sind. Erkennbare Probleme treten aber hierbei nicht auf. Ich habe schon einiges vesucht, um die Verbindung stabiler zu machen, war dabei aber ziemlich erfolglos. Manchmal treten über mehrere Stunden keine Probleme auf, dann geht es aber wieder los.
Wäre es möglich, die Fehlermeldungen vielleicht etwas toleranter zu gestalten oder zu filtern, denn nach zwei Tagen kann ich nahezu endlos scrollen?