ich habe zwei OpenWB im Einsatz
openWB series2 standard+
openWB series2 custom inkl. Addon Platine
Die custom ist nur als Ladepunkt konfiguriert und wird über die standard+ gesteuert.
Seit ein paar Wochen, ich kann leider nicht sagen wann genau es angefangen hat, habe ich in Abständen von 5-10 Minuten Timeouts zum EVU Kit.
ich nutze das Lovato Kit.
Das Netzwerk ist komplett verkabelt, keine anderen Geräte scheinen Timeouts zu haben nur das EVU Kit ständig.
Leider das übliche:
Ich habe nie etwas verändert und seit der Erstinstallation auch nie etwas angerührt.
Hat sonst noch jemand diesen Fehler regelmäßig im Debug-Log oder hat jemand eine Ahnung, was das Problem sein könnte?
Evtl. Modbus/Lan Adapter defekt etc. ?
Code: Alles auswählen
2022-12-22 11:22:59: PID: 3887: **** WARNING **** Regulation loop needs 8 seconds (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, 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/openwb_flex/counter.py", line 36, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/openwb_evu_kit/device.py", line 55, in update
Traceback (most recent call last):
2022-12-22 11:22:58: PID: 2834: soc.modules.common.fault_state: EVU-Kit: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)], Traceback:
2022-12-22 11:22:58: PID: 2834: pymodbus.client.sync: Connection to (192.168.193.15, 8899) failed: timed out
2022-12-22 11:22:49: PID: 2549: **** WARNING **** Regulation loop needs 8 seconds (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, 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/openwb_flex/counter.py", line 36, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/openwb_evu_kit/device.py", line 55, in update
Traceback (most recent call last):
2022-12-22 11:22:48: PID: 2834: soc.modules.common.fault_state: EVU-Kit: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)], Traceback:
2022-12-22 11:22:48: PID: 2834: pymodbus.client.sync: Connection to (192.168.193.15, 8899) failed: timed out
2022-12-22 11:22:39: PID: 1138: **** WARNING **** Regulation loop needs 8 seconds (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, 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/openwb_flex/counter.py", line 36, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/openwb_evu_kit/device.py", line 55, in update
Traceback (most recent call last):
2022-12-22 11:22:38: PID: 2834: soc.modules.common.fault_state: EVU-Kit: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)], Traceback:
2022-12-22 11:22:38: PID: 2834: pymodbus.client.sync: Connection to (192.168.193.15, 8899) failed: timed out
2022-12-22 11:22:29: PID: 32229: **** WARNING **** Regulation loop needs 8 seconds (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, 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/openwb_flex/counter.py", line 36, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/openwb_evu_kit/device.py", line 55, in update
Traceback (most recent call last):
2022-12-22 11:22:28: PID: 2834: soc.modules.common.fault_state: EVU-Kit: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.193.15:8899)], Traceback:
2022-12-22 11:22:28: PID: 2834: pymodbus.client.sync: Connection to (192.168.193.15, 8899) failed: timed out
2022-12-22 11:22:19: PID: 30927: **** WARNING **** Regulation loop needs 8 seconds (LV0)
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received)', <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
return self.__read_registers(self.delegate.read_input_registers, address, types, byteorder, wordorder, **kwargs)
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 138, in read_input_registers
0x0001, [ModbusDataType.INT_32]*3, unit=self.id)]
File "/var/www/html/openWB/packages/modules/common/lovato.py", line 23, in get_voltages
self.__process_error(e)
File "/var/www/html/openWB/packages/modules/common/lovato.py", line 25, in get_voltages
voltages = self.__client.get_voltages()
File "/var/www/html/openWB/packages/modules/openwb_flex/counter.py", line 37, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/openwb_evu_kit/device.py", line 55, 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 Modbus Error: [Input/Output] Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received)', <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):
2022-12-22 11:22:18: PID: 2834: soc.modules.common.fault_state: EVU-Kit: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received)', <FaultStateLevel.ERROR: 2>), Traceback:
2022-12-22 11:21:59: PID: 28239: **** WARNING **** Regulation loop needs 8 seconds (LV0)
2