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

Fragen zur Nutzung, Features, usw..
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
aiole
Beiträge: 7215
Registriert: Mo Okt 08, 2018 4:51 pm

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

Beitrag von aiole »

Welche Version?
Auch in der nightly?
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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.
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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?
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
LutzB
Beiträge: 3586
Registriert: Di Feb 25, 2020 9:23 am

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

Beitrag von LutzB »

Bei nur einer Zeile aus dem Log hat sicher niemand eine Idee.
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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?
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

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

Beitrag 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.
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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.
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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!
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
vater.staat
Beiträge: 33
Registriert: Di Feb 08, 2022 11:09 am

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

Beitrag 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!
7,2 kWp, 18 x Hyundai 400 wP
Sungrow Hybrid SH6.0RT WR
BYD HVS 5.1 Battery Box
KEPA P30 C
openWB Standalone 1.9.295
Antworten