Seite 1 von 2

Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Di Feb 08, 2022 4:31 pm
von vater.staat
Hi liebe Community,

ich habe ich mir eine openWB Standalone gekauft und diese in mein Setup eingebunden. Sie zeigt auch alle Daten in Echtzeit an und steuert die Wallbox wie gewünscht an. Trotzdem fiel mir ein Fehler im Status ins Auge, der ggfs. Probleme verursacht?

Bei EVU, WR1 und Speicher steht:

"modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Unable to decode request', <FaultStateLevel.ERROR: 2>)"

Der Fehler ist auch in der Beta 1.9.245 zu sehen. Weiß wer Rat?

Konfig:

7,2 kWp, 18 x Hyundai 400 wP Module
Sungrow Hybrid SH6.0RT Wechselrichter
BYD HVS 5.1 Battery Box 5.12 kWh (im Netzwerk eingebunden)
KEPA P30 C (per Ethernet angesteuert, neueste Firmware V3.10.28)
openWB 1.9.244 - per Ethernet am WR angeschlossen

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Mi Feb 09, 2022 11:23 pm
von aiole
Welche Version?
Auch in der nightly?

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Do Feb 10, 2022 9:24 am
von vater.staat
Danke für deine Rückmeldung - YES, in der NIghtly sind die Fehlermeldungen weg, während sie in der Beta noch da waren. Großartig, vielen Dank :)

Womöglich ist das auch die Lösung für mein Problem bei <<PV Laden mit Speicher - Ladevorgang startet bei Speichervorrang nicht>> "viewtopic.php?f=4&t=4777". Ich werde das beobachten.

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Do Feb 10, 2022 7:31 pm
von vater.staat
Kommando zurück. Über den Tag hinweg eine neue Fehlermeldung in den o.g. Modulen:

Code: Alles auswählen

 "modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] [Errno 104] Connection reset by peer', <FaultStateLevel.ERROR: 2>)"
:(

Im Gegensatz zu Stable Version sehe ich auch keine korrekten Daten mehr auf der Startseite. Ich wechsele deshalb zurück auf die 1.9.244.

Noch jemand eine Idee?

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Do Feb 10, 2022 7:36 pm
von LutzB
Bei nur einer Zeile aus dem Log hat sicher niemand eine Idee.

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Do Feb 10, 2022 8:07 pm
von vater.staat
Sorry, welche Infos helfen dir bei der Analyse? Bin kein Coder… habe mal einen Teil des Debug-Logs mitgebracht. Hilft das schon?

Code: Alles auswählen

 ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 24, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '91859677.63242722'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '938335.535956502'
    wattnegh=int(f.read())
  File "/var/www/html/openWB/runs/simcount.py", line 27, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/bezug_sungrow/sungrow.py", line 24, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/speicher_sungrow/sungrow.py", line 15, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
    value1 = resp.registers[0]
  File "/var/www/html/openWB/modules/wr_sungrow/sungrow.py", line 14, in <module>
Traceback (most recent call last):
ValueError: invalid literal for int() with base 10: '36702623.32133758'
    wattposh=int(f.read())
Nach dem Rückspielen von Nightly auf Stable sehe ich keine Daten mehr auf der Hauptseite. Wie ist hier der Workaround? Reboot? Backup einspielen?

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Fr Feb 11, 2022 8:28 am
von yankee
vater.staat hat geschrieben: Do Feb 10, 2022 8:07 pm Nach dem Rückspielen von Nightly auf Stable sehe ich keine Daten mehr auf der Hauptseite. Wie ist hier der Workaround? Reboot? Backup einspielen?
Bei dem konkreten Fehler könnte es schon reichen die oWB einmal komplett neu zu starten. Nicht nur die oWB-Software, sondern die ganze Hardware. Stromlos machen (Sicherungen aus) und wieder einschalten. Dadurch werden die temporären Daten aus der Ramdisk gelöscht, die inkompatibel mit der stable sind.

Aber sonst ja: Die sicherere Variante ist ein Backup wiederherzustellen. Sonst besteht das Risiko, dass du danach noch mehr findest, was sich nicht zurückrollen lässt.

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Fr Feb 11, 2022 10:07 am
von vater.staat
Vielen Dank, Yankee. Habe jetzt die Beta aufgespielt und es läuft wieder seit 9 Uhr, offenbar seit dem Moment, als der WR aus dem Schlaf erwacht ist - Live-Daten auch wieder sichtbar. Ich prüfe zuhause, ob die Fehlermeldungen weiterhin bestehen, da die openWB Cloud die Daten nicht zur Verfügung stellt.

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Fr Feb 11, 2022 8:42 pm
von vater.staat
Mit der Beta bisher keine Modbus-Fehlermeldungen am Sungrow-WR. Läuft stabil, ich beobachte weiter. Danke für eure Unterstützung bis hierhin!

Re: Status: Modbus-Fehlermeldung in openWB (Sungrow Hybrid WR, BYD HVS, Keba P30 C)

Verfasst: Di Mär 01, 2022 2:56 pm
von vater.staat
Update: Das Setup läuft jetzt stabil. Was habe ich getan? Sungrow WR + WiNet Modul mit der neuesten Firmware aktualisiert, Router neu gestartet. Seitdem läuft alles stabil und ohne Fehlermeldungen. Die openWB (Beta) regelt zuverlässig. Ein Traum, danke!