da VW mal wieder irgendwas geändert hat, hat mein open wb nicht mehr den SOC abgefragt. Fehlerlösung sollte es wohl sein auf die nightly zu updaten was ich auch getan habe. Seit dem habe ich aber das Problem, dass mein open wb total langsam reagiert bei allem und auch meine Werte sind völliger Murks. Bis auf die PV-Leistung passt nix vom angezeigten.
Also habe ich das Backup geladen von der stable. Hat aber die gleichen Probleme gemacht. Daher habe ich nun wieder auf die nightly geuppt.
Wechselrichter ist SMA und damit auch nen SMA Home Manager 2.0.
Ich befürchte fast das ich mir irgendwie open wb zerschossen habe...
Nachtrag:
Die PV-Leistung wird korrekt angezeigt. Mittlerweile scheint auch der Hausverbrauch und die Ladeleistung wieder einigermaßen zu funktionieren. Lediglich der Netzimport/export steht einfach auf 0...Dadurch scheint auch das PV-Laden nicht mehr zu funktionieren. Er reguliert nicht mehr selbst hoch und runter. Manuell per sofortladen funktioniert es aber.
Code: Alles auswählen
2022-12-12 14:14:47: PID: 24580: BattLeistung: 0 (LV1) at 30 main modules/speicher_http/main.sh
2022-12-12 14:14:47: PID: 24580: RET: 0 (LV2) at 26 main modules/speicher_http/main.sh
2022-12-12 14:14:47: PID: 2552: legacy run server: Completed running command in 0.04s: ["modules.devices.http.device","bat","http://10.20.0.63/haus/ramdisk/battleistung","none","none","ht
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.20.0.63', port=80): Max retries exceeded with url: /haus/ramdisk/battleistung (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x74c8ec90>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return float(session.get(url, timeout=5).text.replace("\n", ""))
File "/var/www/html/openWB/packages/modules/devices/http/api.py", line 13, in _request_value
power = self.__get_power(session)
File "/var/www/html/openWB/packages/modules/devices/http/bat.py", line 32, in update
component_updater=IndependentComponentUpdater(lambda component: component.update(session))
File "/var/www/html/openWB/packages/modules/devices/http/device.py", line 37, in <lambda>
self.__updater(component)
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 24, in __call__
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.20.0.63', port=80): Max retries exceeded with url: /haus/ramdisk/battleistung (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x74c8ec90>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.7/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.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x74c8ec90>: Failed to establish a new connection: [Errno 101] Network is unreachable
self, "Failed to establish a new connection: %s" % e
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 187, in _new_conn
conn = self._new_conn()
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 205, in connect
self.connect()
File "/usr/lib/python3.7/http/client.py", line 966, in send
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 239, in request
conn.request(method, url, **httplib_request_kw)
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 398, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OSError: [Errno 101] Network is unreachable
sock.connect(sa)
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 95, in create_connection
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
Traceback (most recent call last):
2022-12-12 14:14:47: PID: 2552: soc.modules.common.fault_state: HTTP Speicher: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server http://10.20.0.63/haus/ramdisk/battleistung ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
2022-12-12 14:14:47: PID: 2552: urllib3.connectionpool: Starting new HTTP connection (1): 10.20.0.63:80
2022-12-12 14:14:47: PID: 2552: soc.modules.common.component_context: Update Komponente ['HTTP Speicher']
2022-12-12 14:14:47: PID: 2552: modules.devices.http.device: HTTP Configuration: HTTP(name=HTTP, type=http, id=0, configuration=HTTPConfiguration(url=http://10.20.0.63)), Component Configuration: HttpBatSetup(name=HTTP Speicher, type=bat, id=0, configuration=HttpBatConfiguration(power_path=/haus/ramdisk/battleistung, soc_path=/haus/ramdisk/battsoc, imported_path=None, exported_path=None))
2022-12-12 14:14:47: PID: 2552: legacy run server: Received command ["modules.devices.http.device","bat","http://10.20.0.63/haus/ramdisk/battleistung","none","none","ht
2022-12-12 14:14:47: PID: 24580: Speicher SoC: http://10.20.0.63/haus/ramdisk/battsoc (LV2) at 21 main modules/speicher_http/main.sh
2022-12-12 14:14:47: PID: 24580: Speicher Watt: http://10.20.0.63/haus/ramdisk/battleistung (LV2) at 20 main modules/speicher_http/main.sh
2022-12-12 14:14:47: PID: 24580: Speicher Import: none (LV2) at 19 main modules/speicher_http/main.sh
2022-12-12 14:14:47: PID: 24580: Speicher Export: none (LV2) at 18 main modules/speicher_http/main.sh
2022-12-12 14:14:46: PID: 24566: RET: 0 (LV2) at 12 main modules/wr_tripower9000/main.sh
2022-12-12 14:14:46: PID: 2552: legacy run server: WR 1 nach Korrektur: InverterState(currents=[0.0, 0.0, 0.0], power=-3684, exported=12430491, dc_power=-3778)
2022-12-12 14:14:46: PID: 2552: legacy run server: Completed running command in 3.18s: ["modules.devices.sma_sunny_boy.device","inverter","192.168.178.83","0","192.168.178.31","none","non
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.31:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen.', <FaultStateLevel.ERROR: 2>)
" aufbauen. Bitte Einstellungen (IP-Adresse, ..) und " + "Hardware-Anschluss prüfen.") from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 93, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 119, in read_holding_registers
energy = self.tcp_client.read_holding_registers(30529, ModbusDataType.UINT_32, unit=3)
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/inverter.py", line 39, in read
state = inv.read()
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 181, in read_inverter
Traceback (most recent call last):
The above exception was the direct cause of the following exception:
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.31:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/sync.py", line 108, in execute
return self.execute(request)
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
address, number_of_addresses, **kwargs)
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 83, in __read_registers
Traceback (most recent call last):
2022-12-12 14:14:46: PID: 2552: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.31:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-12-12 14:14:46: PID: 2552: pymodbus.client.sync: Connection to (192.168.178.31, 502) failed: timed out
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.inverter: WR 192.168.178.83: InverterState(currents=[0.0, 0.0, 0.0], power=-3684, exported=12430491, dc_power=-3778)
2022-12-12 14:14:43: PID: 2552: soc.modules.common.component_context: Update Komponente ['Sma Sunny Boy/Tripower Wechselrichter']
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.device: SMA Modbus Hybrid: 0
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.device: SMA Modbus Version: 0
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.device: SMA Modbus weitere IPs: 192.168.178.31, none, none
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.device: SMA Modbus Webbox: 0
2022-12-12 14:14:43: PID: 2552: modules.devices.sma_sunny_boy.device: SMA Modbus Ip-Adresse: 192.168.178.83
2022-12-12 14:14:43: PID: 2552: legacy run server: Received command ["modules.devices.sma_sunny_boy.device","inverter","192.168.178.83","0","192.168.178.31","none","non
2022-12-12 14:14:41: PID: 24412: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
RequestsDependencyWarning)