kann mir jemand bei der Konfig helfen?
Ich habe Schwiegervater eine openWB ans Herz gelegt. Nun bekomme ich leider die Daten vom Sungrow in die WB. Ich habe in den Modulen überall Sungrow eingetragen. Und im Batteriespeicher dann die IP des WR. Leider bekomme ich keinerlei Daten angezeigt. Alles steht auf 0.
Was kann der Fehler sein?
VG
Frank
Hier mal ein Auszug aus dem Logfile:
Code: Alles auswählen
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
raise ModbusIOException("Unable to decode request")
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
self._process(callback)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
request.unit_id)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/transaction.py", line 192, in execute
Traceback (most recent call last):
2022-07-02 18:07:44: PID: 1142: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-07-02 18:07:44: PID: 1142: pymodbus.factory: index out of range
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, 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 142, in read_input_registers
soc = int(self.__tcp_client.read_input_registers(13022, ModbusDataType.INT_16, unit=unit) / 10)
File "/var/www/html/openWB/packages/modules/sungrow/bat.py", line 32, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 63, 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] Unable to decode request', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 89, in __read_registers
Traceback (most recent call last):
2022-07-02 18:07:43: PID: 1142: soc.modules.common.fault_state: Sungrow Speicher: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>), Traceback:
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
raise ModbusIOException("Unable to decode request")
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
self._process(callback)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
request.unit_id)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/transaction.py", line 192, in execute
Traceback (most recent call last):
2022-07-02 18:07:43: PID: 1142: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-07-02 18:07:43: PID: 1142: pymodbus.factory: index out of range
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, 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 142, in read_input_registers
wordorder=Endian.Little, unit=1) * -1
File "/var/www/html/openWB/packages/modules/sungrow/inverter.py", line 33, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 63, 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] Unable to decode request', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 89, in __read_registers
Traceback (most recent call last):
2022-07-02 18:07:42: PID: 1142: soc.modules.common.fault_state: Sungrow Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>), Traceback:
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
raise ModbusIOException("Unable to decode request")
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
self._process(callback)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
request.unit_id)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/transaction.py", line 192, in execute
Traceback (most recent call last):
2022-07-02 18:07:42: PID: 1142: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-07-02 18:07:42: PID: 1142: pymodbus.factory: index out of range
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
raise ModbusIOException("Unable to decode request")
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 175, in _process
self._process(callback)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
request.unit_id)
File "/usr/local/lib/python3.5/dist-packages/pymodbus/transaction.py", line 192, in execute
Traceback (most recent call last):
2022-07-02 18:07:34: PID: 1142: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-07-02 18:07:34: PID: 1142: pymodbus.factory: index out of range
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, 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 142, in read_input_registers
soc = int(self.__tcp_client.read_input_registers(13022, ModbusDataType.INT_16, unit=unit) / 10)
File "/var/www/html/openWB/packages/modules/sungrow/bat.py", line 32, in update
self.components[component].update()
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 63, in update
Traceback (most recent call last):