Code: Alles auswählen
2022-01-27 09:56:04: **** Regulation loop needs 3 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:56:03: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:56:03: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:56:03: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:56:03: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:56:03: lla3 0 llv3 228.2 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:56:03: lla2 0 llv2 227.7 llas12 llas22 sofortll 16 hausverbrauch 538 wattbezug 7 uberschuss -7 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:56:03: lla1 0 llv1 226.9 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:56:03: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:56:03: speicherleistung -6 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:56:03: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:56:03: PID: 2487: legacy run server: Completed running command in 0.03s: ["modules.siemens.device","counter","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(14, ModbusDataType.INT_32, unit=1)
File "/var/www/html/openWB/packages/modules/siemens/counter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:56:03: PID: 2487: root: Siemens Zähler: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:56:03: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:56:03: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:56:03: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744a3f70>}
2022-01-27 09:56:03: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:56:03: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:56:02: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:56:02: PID: 2487: legacy run server: Completed running command in 0.03s: ["modules.siemens.device","bat","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(6, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/bat.py", line 36, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:56:02: PID: 2487: root: Siemens Speicher: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:56:02: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:56:02: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:56:02: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x744c2190>}
2022-01-27 09:56:02: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:56:02: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:56:02: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","inverter","192.168.178.56","1"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(16, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/inverter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:56:02: PID: 2487: root: Siemens Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:56:02: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:56:02: PID: 2487: root: Komponente Siemens Wechselrichter auslesen.
2022-01-27 09:56:02: PID: 2487: root: Start device reading{'component1': <modules.siemens.inverter.SiemensInverter object at 0x744f32f0>}
2022-01-27 09:56:02: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:56:02: PID: 2487: legacy run server: Received command ["modules.siemens.device","inverter","192.168.178.56","1"]
2022-01-27 09:56:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-27 09:55:58: **** Regulation loop needs 7 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:55:56: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:55:56: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:55:56: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:55:56: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:55:56: lla3 0 llv3 228.6 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:55:56: lla2 0 llv2 228.2 llas12 llas22 sofortll 16 hausverbrauch 538 wattbezug 7 uberschuss -7 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:55:56: lla1 0 llv1 226.5 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:55:56: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:55:56: speicherleistung -6 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:55:56: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:55:56: PID: 2487: legacy run server: Completed running command in 3.03s: ["modules.siemens.device","counter","192.168.178.56"]
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 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(14, ModbusDataType.INT_32, unit=1)
File "/var/www/html/openWB/packages/modules/siemens/counter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/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 81, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:56: PID: 2487: root: Siemens Zähler: 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-01-27 09:55:56: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:56: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:56: PID: 2487: pymodbus.framer.socket_framer: Processing:
2022-01-27 09:55:56: PID: 2487: pymodbus.transaction: Transaction failed. (Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received))
2022-01-27 09:55:53: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:53: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:53: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0xe 0x0 0x2
2022-01-27 09:55:53: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:53: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:53: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:55:53: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744d4d70>}
2022-01-27 09:55:53: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:53: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:52: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:55:52: PID: 2487: legacy run server: Completed running command in 0.06s: ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:52: PID: 2487: ValueStore: Saving BatState(exported=37263391.758806914, imported=17407.187819190844, soc=1, power=-6)
2022-01-27 09:55:52: PID: 2487: root: simcount Zwischenergebnisse aktuelle Berechnung: Import: 62665876.14908704 Export: 134148210331.7049 Leistung: -6
2022-01-27 09:55:52: PID: 2487: root: simcount Ergebnis: Bezug[Wh]: 17407.187819190844, Einspeisung[Wh]: 37263391.758806914
2022-01-27 09:55:52: PID: 2487: root: simcount aufsummierte Energie: Bezug[Ws]: 62665876.14908704, Einspeisung[Ws]: 134148210331.7049
2022-01-27 09:55:52: PID: 2487: root: simcount exportierte Energie im Zeitintervall: -9.704897493124008
2022-01-27 09:55:52: PID: 2487: root: simcount Gesamtenergie im Zeitintervall: 14751.444189548492
2022-01-27 09:55:52: PID: 2487: root: simcount Berechnungsgrundlage: vergangene Zeit [s]129.39863324165344, vorherige Leistung[W]: 234, aktuelle Leistung[W]: -6
2022-01-27 09:55:52: PID: 2487: root: simcount Zwischenergebnisse letzte Berechnung: Import: 62651115 Export: 134148210322 Leistung: 234
2022-01-27 09:55:52: PID: 2487: pymodbus.payload: [b'\x00\x00', b'\x00\x01']
2022-01-27 09:55:52: PID: 2487: pymodbus.payload: [0, 1]
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Getting transaction 2
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Adding transaction 2
2022-01-27 09:55:52: PID: 2487: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-27 09:55:52: PID: 2487: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x1
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x1
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:52: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0x8 0x0 0x2
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Running transaction 2
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-27 09:55:52: PID: 2487: pymodbus.payload: [b'\x00\x00', b'\x00\x06']
2022-01-27 09:55:52: PID: 2487: pymodbus.payload: [0, 6]
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Adding transaction 1
2022-01-27 09:55:52: PID: 2487: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-27 09:55:52: PID: 2487: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x6
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x6
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:52: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0x6 0x0 0x2
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:52: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:52: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:55:52: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x746798d0>}
2022-01-27 09:55:52: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:52: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:52: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","inverter","192.168.178.56","1"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(16, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/inverter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:52: PID: 2487: root: Siemens Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:52: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:52: PID: 2487: root: Komponente Siemens Wechselrichter auslesen.
2022-01-27 09:55:52: PID: 2487: root: Start device reading{'component1': <modules.siemens.inverter.SiemensInverter object at 0x7448ebf0>}
2022-01-27 09:55:52: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:52: PID: 2487: legacy run server: Received command ["modules.siemens.device","inverter","192.168.178.56","1"]
2022-01-27 09:55:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-27 09:55:48: **** Regulation loop needs 7 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:55:46: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:55:46: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:55:46: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:55:46: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:55:46: lla3 0 llv3 228.2 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:55:46: lla2 0 llv2 227.7 llas12 llas22 sofortll 16 hausverbrauch 298 wattbezug 7 uberschuss 227 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:55:46: lla1 0 llv1 227.0 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:55:46: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:55:46: speicherleistung 234 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:55:46: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:55:46: PID: 2487: legacy run server: Completed running command in 0.03s: ["modules.siemens.device","counter","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(14, ModbusDataType.INT_32, unit=1)
File "/var/www/html/openWB/packages/modules/siemens/counter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:46: PID: 2487: root: Siemens Zähler: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:46: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:46: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:55:46: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744d4550>}
2022-01-27 09:55:46: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:46: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:45: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:55:45: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","bat","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(6, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/bat.py", line 36, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:45: PID: 2487: root: Siemens Speicher: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:45: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:45: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:55:45: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x744f3e90>}
2022-01-27 09:55:45: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:45: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:45: PID: 2487: legacy run server: Completed running command in 3.05s: ["modules.siemens.device","inverter","192.168.178.56","1"]
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 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(16, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/inverter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/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 81, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:45: PID: 2487: root: Siemens Wechselrichter: 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-01-27 09:55:45: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:45: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:45: PID: 2487: pymodbus.framer.socket_framer: Processing:
2022-01-27 09:55:45: PID: 2487: pymodbus.transaction: Transaction failed. (Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received))
2022-01-27 09:55:42: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:42: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:42: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0x10 0x0 0x2
2022-01-27 09:55:42: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:42: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:42: PID: 2487: root: Komponente Siemens Wechselrichter auslesen.
2022-01-27 09:55:42: PID: 2487: root: Start device reading{'component1': <modules.siemens.inverter.SiemensInverter object at 0x744e7f90>}
2022-01-27 09:55:42: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:42: PID: 2487: legacy run server: Received command ["modules.siemens.device","inverter","192.168.178.56","1"]
2022-01-27 09:55:41: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-27 09:55:35: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:55:33: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:55:33: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:55:33: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:55:33: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:55:33: lla3 0 llv3 228.2 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:55:33: lla2 0 llv2 227.9 llas12 llas22 sofortll 16 hausverbrauch 298 wattbezug 7 uberschuss 227 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:55:33: lla1 0 llv1 227.2 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:55:33: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:55:33: speicherleistung 234 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:55:33: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:55:33: PID: 2487: legacy run server: Completed running command in 0.07s: ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:33: PID: 2487: ValueStore: Saving CounterState(powers=[0, 0, 0], exported=4288.0125, imported=83030.81950893448, power=7, frequency=50, voltages=[230, 230, 230], power_factors=[0, 0, 0], currents=[0.0, 0.0, 0.0])
2022-01-27 09:55:33: PID: 2487: root: Siemens Zähler Leistung[W]: 7
2022-01-27 09:55:33: PID: 2487: root: simcount Zwischenergebnisse aktuelle Berechnung: Import: 298910950.23216414 Export: 15436845 Leistung: 7
2022-01-27 09:55:33: PID: 2487: root: simcount Ergebnis: Bezug[Wh]: 83030.81950893448, Einspeisung[Wh]: 4288.0125
2022-01-27 09:55:33: PID: 2487: root: simcount aufsummierte Energie: Bezug[Ws]: 298910950.23216414, Einspeisung[Ws]: 15436845
2022-01-27 09:55:33: PID: 2487: root: simcount Gesamtenergie im Zeitintervall: 289.232164144516
2022-01-27 09:55:33: PID: 2487: root: simcount Berechnungsgrundlage: vergangene Zeit [s]19.94704580307007, vorherige Leistung[W]: 22, aktuelle Leistung[W]: 7
2022-01-27 09:55:33: PID: 2487: root: simcount Zwischenergebnisse letzte Berechnung: Import: 298910661 Export: 15436845 Leistung: 22
2022-01-27 09:55:33: PID: 2487: pymodbus.payload: [b'\x00\x00', b'\x00\x07']
2022-01-27 09:55:33: PID: 2487: pymodbus.payload: [0, 7]
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Adding transaction 1
2022-01-27 09:55:33: PID: 2487: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-27 09:55:33: PID: 2487: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x7
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x7
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:33: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0xe 0x0 0x2
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:33: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:33: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:55:33: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744a3570>}
2022-01-27 09:55:33: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:33: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:32: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:55:32: PID: 2487: legacy run server: Completed running command in 0.03s: ["modules.siemens.device","bat","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(6, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/bat.py", line 36, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:32: PID: 2487: root: Siemens Speicher: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:32: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:32: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:55:32: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x744a35b0>}
2022-01-27 09:55:32: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:32: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:32: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","inverter","192.168.178.56","1"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(16, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/inverter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:32: PID: 2487: root: Siemens Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:32: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:32: PID: 2487: root: Komponente Siemens Wechselrichter auslesen.
2022-01-27 09:55:32: PID: 2487: root: Start device reading{'component1': <modules.siemens.inverter.SiemensInverter object at 0x744a3c70>}
2022-01-27 09:55:32: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:32: PID: 2487: legacy run server: Received command ["modules.siemens.device","inverter","192.168.178.56","1"]
2022-01-27 09:55:31: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-27 09:55:28: **** Regulation loop needs 7 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:55:26: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:55:26: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:55:26: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:55:26: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:55:26: lla3 0 llv3 228.4 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:55:26: lla2 0 llv2 228.0 llas12 llas22 sofortll 16 hausverbrauch 313 wattbezug 22 uberschuss 212 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:55:26: lla1 0 llv1 227.3 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:55:26: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:55:26: speicherleistung 234 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:55:26: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:55:26: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","counter","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(14, ModbusDataType.INT_32, unit=1)
File "/var/www/html/openWB/packages/modules/siemens/counter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:26: PID: 2487: root: Siemens Zähler: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:26: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:26: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:55:26: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744a3c10>}
2022-01-27 09:55:26: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:26: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:25: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:55:25: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","bat","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(6, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/bat.py", line 36, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:25: PID: 2487: root: Siemens Speicher: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:25: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:25: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:55:25: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x744e70f0>}
2022-01-27 09:55:25: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:25: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:25: PID: 2487: legacy run server: Completed running command in 3.03s: ["modules.siemens.device","inverter","192.168.178.56","1"]
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 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(16, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/inverter.py", line 37, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/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 81, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:25: PID: 2487: root: Siemens Wechselrichter: 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-01-27 09:55:25: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:25: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:25: PID: 2487: pymodbus.framer.socket_framer: Processing:
2022-01-27 09:55:25: PID: 2487: pymodbus.transaction: Transaction failed. (Modbus Error: [Invalid Message] Incomplete message received, expected at least 8 bytes (0 received))
2022-01-27 09:55:22: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:22: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:22: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0x10 0x0 0x2
2022-01-27 09:55:22: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:22: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:22: PID: 2487: root: Komponente Siemens Wechselrichter auslesen.
2022-01-27 09:55:22: PID: 2487: root: Start device reading{'component1': <modules.siemens.inverter.SiemensInverter object at 0x744d4710>}
2022-01-27 09:55:22: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:22: PID: 2487: legacy run server: Received command ["modules.siemens.device","inverter","192.168.178.56","1"]
2022-01-27 09:55:21: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-27 09:55:15: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-27 09:55:13: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-01-27 09:55:13: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-01-27 09:55:13: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-01-27 09:55:13: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-01-27 09:55:13: lla3 0 llv3 228.8 llas13 llas23 soclp1 35 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-01-27 09:55:13: lla2 0 llv2 228.5 llas12 llas22 sofortll 16 hausverbrauch 313 wattbezug 22 uberschuss 212 (LV1) at 1270 loadvars loadvars.sh
2022-01-27 09:55:13: lla1 0 llv1 227.7 llas11 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-01-27 09:55:13: pv1watt -541 pv2watt pvwatt -541 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-01-27 09:55:13: speicherleistung 234 speichersoc 1 (LV1) at 1263 loadvars loadvars.sh
2022-01-27 09:55:13: EVU RET: 0 (LV2) at 21 main modules/bezug_siemens/main.sh
2022-01-27 09:55:13: PID: 2487: legacy run server: Completed running command in 0.07s: ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:13: PID: 2487: ValueStore: Saving CounterState(powers=[0, 0, 0], exported=4288.012648989314, imported=83030.73938990866, power=22, frequency=50, voltages=[230, 230, 230], power_factors=[0, 0, 0], currents=[0.0, 0.0, 0.0])
2022-01-27 09:55:13: PID: 2487: root: Siemens Zähler Leistung[W]: 22
2022-01-27 09:55:13: PID: 2487: root: simcount Zwischenergebnisse aktuelle Berechnung: Import: 298910661.8036712 Export: 15436845.53636153 Leistung: 22
2022-01-27 09:55:13: PID: 2487: root: simcount Ergebnis: Bezug[Wh]: 83030.73938990866, Einspeisung[Wh]: 4288.012648989314
2022-01-27 09:55:13: PID: 2487: root: simcount aufsummierte Energie: Bezug[Ws]: 298910661.8036712, Einspeisung[Ws]: 15436845.53636153
2022-01-27 09:55:13: PID: 2487: root: simcount exportierte Energie im Zeitintervall: -3937.536361530356
2022-01-27 09:55:13: PID: 2487: root: simcount Gesamtenergie im Zeitintervall: -3926.73269033432
2022-01-27 09:55:13: PID: 2487: root: simcount Berechnungsgrundlage: vergangene Zeit [s]19.732325077056885, vorherige Leistung[W]: -420, aktuelle Leistung[W]: 22
2022-01-27 09:55:13: PID: 2487: root: simcount Zwischenergebnisse letzte Berechnung: Import: 298910651 Export: 15432908 Leistung: -420
2022-01-27 09:55:13: PID: 2487: pymodbus.payload: [b'\x00\x00', b'\x00\x16']
2022-01-27 09:55:13: PID: 2487: pymodbus.payload: [0, 22]
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Getting transaction 1
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Adding transaction 1
2022-01-27 09:55:13: PID: 2487: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-27 09:55:13: PID: 2487: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x16
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x16
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-27 09:55:13: PID: 2487: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x0 0xe 0x0 0x2
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Running transaction 1
2022-01-27 09:55:13: PID: 2487: pymodbus.transaction: Current transaction state - IDLE
2022-01-27 09:55:13: PID: 2487: root: Komponente Siemens Zähler auslesen.
2022-01-27 09:55:13: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.counter.SiemensCounter object at 0x744d4eb0>}
2022-01-27 09:55:13: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:13: PID: 2487: legacy run server: Received command ["modules.siemens.device","counter","192.168.178.56"]
2022-01-27 09:55:12: BAT RET: 0 (LV2) at 21 main modules/speicher_siemens/main.sh
2022-01-27 09:55:12: PID: 2487: legacy run server: Completed running command in 0.03s: ["modules.siemens.device","bat","192.168.178.56"]
modules.common.fault_state.FaultState: ('TCP-Client konnte keine Verbindung zu 192.168.178.56: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 89, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
power = self.__tcp_client.read_holding_registers(6, ModbusDataType.INT_32, unit=1) * -1
File "/var/www/html/openWB/packages/modules/siemens/bat.py", line 36, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/siemens/device.py", line 55, in update
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.56:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python3.5/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 79, in __read_registers
Traceback (most recent call last):
2022-01-27 09:55:12: PID: 2487: root: Siemens Speicher: FaultState FaultStateLevel.ERROR, FaultStr TCP-Client konnte keine Verbindung zu 192.168.178.56:502 aufbauen. Bitte Einstellungen (IP-Adresse, ..) und Hardware-Anschluss prüfen., Traceback:
2022-01-27 09:55:12: PID: 2487: pymodbus.client.sync: Connection to (192.168.178.56, 502) failed: [Errno 111] Connection refused
2022-01-27 09:55:12: PID: 2487: root: Komponente Siemens Speicher auslesen.
2022-01-27 09:55:12: PID: 2487: root: Start device reading{'componentNone': <modules.siemens.bat.SiemensBat object at 0x74679e90>}
2022-01-27 09:55:12: PID: 2487: root: Siemens IP-Adresse: 192.168.178.56
2022-01-27 09:55:12: PID: 2487: legacy run server: Received command ["modules.siemens.device","bat","192.168.178.56"]
2022-01-27 09:55:12: PID: 2487: legacy run server: Completed running command in 0.02s: ["modules.siemens.device","inverter","192.168.178.56","1"]
Ich könnte vielleicht noch dem Support schreiben und ihn bitten mir eine neue SD-Karte mit der Stable zuzuschicken und die mal bei mir zu wechseln. Früher ging es ja, wenn der Fehler da also Auftritt ist es wohl wirklich meine Hardware, wenn nicht wissen wir dass es an der Nightly liegt?
Ich habe es gerade als Workaround so versucht, dass ich mittels iobroker die Werte per Modbus hole, um sie dann ggf mittels MQTT zu schreiben. Die Werte kommen alle schön regelmäßig an, aber das heißt die Hardware ist wirklich safe.
Allerdings scheinen die Werte Signed 32 Bit zu sein, nachdem es ja auch Unsigned gibt, macht das einen Unterscheid bei euch?