nachdem mein Raspi nach 4 Jahren das Zeitliche gesegnet, habe ich heute die 1.9er Version in einer Proxmox VM installiert.
Backup vom Raspi hat auch funktioniert.
Grundsätzlich läuft alles.
Im Log habe ich aber zwei Merkwürdigkeiten:
debug.log
Alle paar Sekunden:
Aus meiner Sicht besteht das Problem darin, dass die CPU Temp nicht ausgelesen werden kann.runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
und
unregelmäßig
Dabei stürzt die Verbindung mit dem Victron Multiplus ab , fängt sich nach ein paar Sekunden aber wieder.modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, GatewayPathUnavailable)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 101, 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
power = self.__tcp_client.read_holding_registers(842, ModbusDataType.INT_16, unit=modbus_id)
File "/var/www/html/openWB/packages/modules/devices/victron/bat.py", line 30, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/devices/victron/device.py", line 59, in update
Traceback (most recent call last):
The above exception was the direct cause of the following exception:
modules.common.fault_state.FaultState: ('modules.common.modbus Exception Response(131, 3, GatewayPathUnavailable)', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, in __read_registers
Traceback (most recent call last):
2025-03-08 18:51:31: PID: 2217: modules.common.fault_state: Victron Speicher: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, GatewayPathUnavailable)', <FaultStateLevel.ERROR: 2>), Traceback:
runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.1.26:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/sync.py", line 120, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 52, in __enter__
with self.__tcp_client:
File "/var/www/html/openWB/packages/modules/devices/victron/bat.py", line 29, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/devices/victron/device.py", line 59, in update
Traceback (most recent call last):
2025-03-08 18:51:21: PID: 2217: modules.common.fault_state: Victron Speicher: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.1.26:502)], Traceback:
2025-03-08 18:51:21: PID: 2217: pymodbus.client.sync: Connection to (192.168.1.26, 502) failed: [Errno 111] Connection refused
runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
Vielleicht hatt ja schon jemand ähnliches Verhalten bei seiner Installation beobachtet und kann mir einen Tip geben.
Viele Grüße
Carsten