Sungrow SH10RT keine Daten

Antworten
Schmidti
Beiträge: 37
Registriert: So Okt 11, 2020 6:53 am

Sungrow SH10RT keine Daten

Beitrag von Schmidti »

Moin.

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):
Schmidti
Beiträge: 37
Registriert: So Okt 11, 2020 6:53 am

Re: Sungrow SH10RT keine Daten

Beitrag von Schmidti »

Ich pushe das noch mal nach oben, da ich noch keine Lösung gefunden habe…..
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: Sungrow SH10RT keine Daten

Beitrag von LenaK »

Bitte den Debug Modus auf 2 stellen und einen kompletten Durchlauf der Regelung posten. Eventuell enthaltene Anmeldedaten bitte vorher unkenntlich machen.
Schmidti
Beiträge: 37
Registriert: So Okt 11, 2020 6:53 am

Re: Sungrow SH10RT keine Daten

Beitrag von Schmidti »

Moin.
Ich war jetzt mal wieder bei Schwiegereltern und konnte mich noch mal der WB zuwenden.
Ich habe noch mal alle einstellungen geprüft. Leider bekomme ich noch keine Daten von dem Sungrow in die OpenWB.
Hier der Auszug aus dem DebugLog:

Code: Alles auswählen

2022-11-26 08:20:23: PID: 29150: EVU RET: 0 (LV2) at 16 main modules/bezug_sungrow/main.sh
2022-11-26 08:20:23: PID: 11289: legacy run server: Completed running command in 0.20s: ["modules.sungrow.device","counter","192.168.178.27","502","1","0"]
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-11-26 08:20:23: PID: 11289: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-11-26 08:20:23: PID: 11289: pymodbus.factory: index out of range
2022-11-26 08:20:23: PID: 11289: modules.sungrow.device: Start device reading {'componentNone': <modules.sungrow.counter.SungrowCounter object at 0x74f3f9b0>}
2022-11-26 08:20:23: PID: 11289: legacy run server: Received command ["modules.sungrow.device","counter","192.168.178.27","502","1","0"]
2022-11-26 08:20:22: PID: 29119: BAT RET: 0 (LV2) at 16 main modules/speicher_sungrow/main.sh
2022-11-26 08:20:22: PID: 11289: legacy run server: Completed running command in 0.08s: ["modules.sungrow.device","bat","192.168.178.27","502","1"]

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 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
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 31, 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 85, in __read_registers
Traceback (most recent call last):
2022-11-26 08:20:22: PID: 11289: 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-11-26 08:20:22: PID: 11289: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-11-26 08:20:22: PID: 11289: pymodbus.factory: index out of range
2022-11-26 08:20:22: PID: 11289: soc.modules.common.component_context: Update Komponente ['Sungrow Speicher']
2022-11-26 08:20:22: PID: 11289: modules.sungrow.device: Start device reading {'componentNone': <modules.sungrow.bat.SungrowBat object at 0x7504ddf0>}
2022-11-26 08:20:22: PID: 11289: legacy run server: Received command ["modules.sungrow.device","bat","192.168.178.27","502","1"]
2022-11-26 08:20:22: PID: 11289: legacy run server: Completed running command in 0.10s: ["modules.sungrow.device","inverter","192.168.178.27","502","1","1"]

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 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
unit=unit) * -1
File "/var/www/html/openWB/packages/modules/sungrow/inverter.py", line 34, 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 85, in __read_registers
Traceback (most recent call last):
2022-11-26 08:20:22: PID: 11289: 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-11-26 08:20:22: PID: 11289: pymodbus.transaction: Modbus Error: [Input/Output] Unable to decode request
2022-11-26 08:20:22: PID: 11289: pymodbus.factory: index out of range
2022-11-26 08:20:22: PID: 11289: soc.modules.common.component_context: Update Komponente ['Sungrow Wechselrichter']
2022-11-26 08:20:22: PID: 11289: modules.sungrow.device: Start device reading {'component1': <modules.sungrow.inverter.SungrowInverter object at 0x75002270>}
2022-11-26 08:20:22: PID: 11289: legacy run server: Received command ["modules.sungrow.device","inverter","192.168.178.27","502","1","1"]
2022-11-26 08:20:21: PID: 28957: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
Heavendenied
Beiträge: 603
Registriert: Do Feb 20, 2020 1:16 pm

Re: Sungrow SH10RT keine Daten

Beitrag von Heavendenied »

Wie ist der sh denn and Netzwerk angeschlossen? Ist die Firmware aktuell?
Gruß,
Jürgen
Schmidti
Beiträge: 37
Registriert: So Okt 11, 2020 6:53 am

Re: Sungrow SH10RT keine Daten

Beitrag von Schmidti »

Der ist per Wlan angeschlossen.

Firmware sollte aktuell sein. kann das aber noch mal checken, wenn ich wieder da bin.
LenaK
Beiträge: 975
Registriert: Fr Jan 22, 2021 6:40 am

Re: Sungrow SH10RT keine Daten

Beitrag von LenaK »

Bei Sungrow ist bekannt, dass einige LAN-Anschlüsse nicht alle Daten liefern: Einige Sungrow-Geräte, wie z.B. der SH10RT, verfügen über zwei LAN-Schnittstellen. Eine davon nutzt den WiNet-S Dongle, die andere nicht. Wenn keine oder fehlerhafte Daten ausgelesen werden, den LAN-Anschluss ohne WiNet-S Dongle nutzen.
Hast Du den Sungrow testweise per LAN angeschlossen? Kannst Du im UI Modbus aktiveren?
Antworten