Goodwe fhempy Sems Portal

Begonnen von eLoP, 10 April 2024, 10:05:23

Vorheriges Thema - Nächstes Thema

Parallix

#30
Zitat von: maci am 21 November 2024, 18:56:10...
Von der Batterie selbst kann ich es nicht lesen, da diese nicht im Netz hängt. Mein Installateur hat gesagt, die Chinesen müssen nicht alles wissen. ;)
...

WR und Batterien nicht zu erlauben, Daten ohne eigene Kenntnis nach Außen zu versenden, insb. aber Daten von Außen eingespielt zu bekommen, ist auch meine Devise. Gleichwohl halte ich eine Überwachung der Betriebsstati von Speicher und WR für sehr sinnvoll.

Wenn Du am BYD-Speicher kurz den runden Ein-/Aus-Taster drückst, dann hast Du 5h lang die Möglichkeit per WLAN mit deinem Speichersystem zu verbinden und zwar ohne dem Speicher damit das Tor zum Internet eröffnen zu müssen. Diese 5h sollte ausreichen, um die Daten, die Du via Modbus von Deinem WR bekommst, mit denen vom Batteriesystem zu vergleichen.

PS: Selber habe ich eine kabelgebundene und rein lokale Anbindung meines FHEM-Knotens mit Speicher und WR konfiguriert . Über die kann somit keine Verbindung Internet <-> Speicher oder Internet <-> WR aufgebaut werden.
FHEM: Debian/Testing BananaPro - AVM: 7490 (7.60) und 7591 (8.20) - Goodwe: GW25K-ET (DSP V10 / ARM V12) - Trina TSM 405: (#East, #South, #West) = (12,16,12) - BYD: 2 x HVS 7.7 (BMS V3.31-B, BMU V3.26-B) - EnOcean - Z-Wave - FS20/HMS

maci

Zitat von: Prof. Dr. Peter Henning am 22 November 2024, 09:40:33Ich habe nicht die Zeit, da in der Spezifikation herumzugraben. Vlt. kannst Du das mal posten:
1. Was wird als Registerlänge angegeben? Wirklich 2?
2. Welchen Wert erhält man, wenn der Ladezustand auf einen anderen Wert erhöht wird?

Hier ein Bild aus den Spezifikationen.

Du darfst diesen Dateianhang nicht ansehen.

Wenn der Wert größer wird, kommen hier Readings mit 1,0123.... e-38

Also auch gleich 0


Spiele derzeit mit dem Gedanken, den Speicher trotzdem in Netz zu hängen, aber den Zugang zum Internet in meinem Gateway zu verbieten.

Gruß Georg
Fhem auf Dell Thinclient, Fhem auf Raspebrry Pi4,
UniPi Vers. 1.1 mit Raspberry Pi3, 1wire USB Adapter mit OWX
Netatmo Wetterstation + Regenmesser + Netatmo Thermostat
Homematic mit HMLan

Prof. Dr. Peter Henning

Zunächst einmal ist klar, dass für den Datentyp U16 = unsigned 16 Bit sowohl die Längenangabe 2, als auch der Unpack-Code f> falsch sind. Das führt zur fehlerhaften Darstellung als Gleitkommazahl.

Bitte mal probieren mit
attr Goodwe obj-h37007-reading Batt-SOC
attr Goodwe obj-h37007-poll 1
attr Goodwe obj-h37007-type unsigned short big
Und wenn das keinen sinnvollen Wert im Bereich 0-100 liefert
attr Goodwe obj-h37007-reading Batt-SOC
attr Goodwe obj-h37007-poll 1
attr Goodwe obj-h37007-type unsigned short little

LG

pah

maci

Danke Peter!

Danke für die Antwort.
Die erste Anregung hat bereits gepasst und jetzt steht als Ergebnis tatsächlich 10 drinnen.
Das ist genau der Wert, denn der Speicher auch lt. Weboberfläche hat.

Hier sieht man, dass ich bei ModbusAttr noch nicht wirklich durchblicke.
Einfach auch deshalb, weil ich zwischen den Beschreibungen im Wiki oder CommandRef zu den Angaben die der Gerätehersteller macht keinen Bezug herstellen kann.

Alles bisher war eher probieren und schauen was kommt.

Gruß
Georg
Fhem auf Dell Thinclient, Fhem auf Raspebrry Pi4,
UniPi Vers. 1.1 mit Raspberry Pi3, 1wire USB Adapter mit OWX
Netatmo Wetterstation + Regenmesser + Netatmo Thermostat
Homematic mit HMLan

Prof. Dr. Peter Henning

Na, das ist doch ganz einfach.

In der Doku steht RO=Read-Only, sowie U16 = unsigned 16, also EIN Register a 16 Bit

Es muss also Perl nur gesagt werden, dass es sich um eine Ganzzahl in einem Register handelt.

LG

pah

Parallix

#35
Kann es sein, dass im Code goodwe.py in der update_loop() in
await fhem.readingsSingleUpdate(self.hash, "operation_mode", self.get_enum_name(operation_mode))das letzte Argument (do_trigger) fehlt und daher "state" immer auf "error" gesetzt wird? Nach meiner Ansicht ist das letzte Argument - anders, als beim BulkUpdate - nicht optional, oder?
FHEM: Debian/Testing BananaPro - AVM: 7490 (7.60) und 7591 (8.20) - Goodwe: GW25K-ET (DSP V10 / ARM V12) - Trina TSM 405: (#East, #South, #West) = (12,16,12) - BYD: 2 x HVS 7.7 (BMS V3.31-B, BMU V3.26-B) - EnOcean - Z-Wave - FS20/HMS

Rampler

#36
Hallo zusammen,
habe nun mal meinen GoodWe GW8KN-ET via Modbus (WLAN) angebunden.
Hier mal die Definition:
efmod GoodWe ModbusAttr 247 60 192.168.1.20:502 TCP
attr GoodWe comment Inbetriebname: 10.12.2024\
attr GoodWe dev-timing-sendDelay 0.1
attr GoodWe dev-timing-timeout 4
attr GoodWe enableControlSet 1
attr GoodWe event-min-interval PV_[1-2]_Power:900,E_.*:1800,SOC:1800,Power_.*:1800,PV_Total_Power:1800,AC_ActivePower:900,Inverter_Temperature:3600,BMS_Pack_Temperature:3600
attr GoodWe event-on-change-reading Power_.*:2,.*
attr GoodWe event-on-update-reading ARM_SVN_Version,ARM_Software_Version,BMS_Software_Version,DSP_SVN_Version,DSP_Software_Version,SOH
attr GoodWe icon measure_power_meter
attr GoodWe obj-h35016-poll once
attr GoodWe obj-h35016-reading DSP_Software_Version
attr GoodWe obj-h35016-showGet 1
attr GoodWe obj-h35018-poll once
attr GoodWe obj-h35018-reading DSP_SVN_Version
attr GoodWe obj-h35018-showGet 1
attr GoodWe obj-h35019-poll once
attr GoodWe obj-h35019-reading ARM_Software_Version
attr GoodWe obj-h35019-showGet 1
attr GoodWe obj-h35020-poll once
attr GoodWe obj-h35020-reading ARM_SVN_Version
attr GoodWe obj-h35020-showGet 1
attr GoodWe obj-h35103-expr $val/10
attr GoodWe obj-h35103-format %.1f
attr GoodWe obj-h35103-poll 1
attr GoodWe obj-h35103-polldelay x10
attr GoodWe obj-h35103-reading PV_1_Voltage
attr GoodWe obj-h35105-group 1-1
attr GoodWe obj-h35105-len 2
attr GoodWe obj-h35105-poll 1
attr GoodWe obj-h35105-polldelay x2
attr GoodWe obj-h35105-reading PV_1_Power
attr GoodWe obj-h35105-unpack L>
attr GoodWe obj-h35107-expr $val/10
attr GoodWe obj-h35107-format %.1f
attr GoodWe obj-h35107-poll 1
attr GoodWe obj-h35107-polldelay x10
attr GoodWe obj-h35107-reading PV_2_Voltage
attr GoodWe obj-h35109-expr ReadingsVal($name, 'PV_1_Power', 0) + $val
attr GoodWe obj-h35109-group 1-2
attr GoodWe obj-h35109-len 2
attr GoodWe obj-h35109-name Eigentlich PV_2_Power
attr GoodWe obj-h35109-poll 1
attr GoodWe obj-h35109-polldelay x2
attr GoodWe obj-h35109-reading PV_Total_Power
attr GoodWe obj-h35109-showGet 1
attr GoodWe obj-h35109-unpack L>
attr GoodWe obj-h35140-group 1-4
attr GoodWe obj-h35140-poll 1
attr GoodWe obj-h35140-polldelay x2
attr GoodWe obj-h35140-reading AC_ActivePower
attr GoodWe obj-h35140-showGet 1
attr GoodWe obj-h35140-unpack s>
attr GoodWe obj-h35174-expr $val/10
attr GoodWe obj-h35174-format %.0f
attr GoodWe obj-h35174-poll 1
attr GoodWe obj-h35174-polldelay x15
attr GoodWe obj-h35174-reading Inverter_Temperature
attr GoodWe obj-h35183-group 1-3
attr GoodWe obj-h35183-poll 1
attr GoodWe obj-h35183-polldelay x2
attr GoodWe obj-h35183-reading Power_Battery
attr GoodWe obj-h35183-showGet 1
attr GoodWe obj-h35183-unpack s>
attr GoodWe obj-h35184-map 0:Akku disconnected, 1:Standby, 2:Discharging, 3:Charging, 4: Waiting for charge, 5: Waiting for discharge
attr GoodWe obj-h35184-poll 1
attr GoodWe obj-h35184-polldelay x1
attr GoodWe obj-h35184-reading Akku_Mode
attr GoodWe obj-h35184-showGet 1
attr GoodWe obj-h35191-expr $val/10
attr GoodWe obj-h35191-len 2
attr GoodWe obj-h35191-poll 1
attr GoodWe obj-h35191-polldelay x90
attr GoodWe obj-h35191-reading E_PV_Total
attr GoodWe obj-h35191-unpack L>
attr GoodWe obj-h35193-expr $val/10
attr GoodWe obj-h35193-len 2
attr GoodWe obj-h35193-poll 1
attr GoodWe obj-h35193-polldelay x10
attr GoodWe obj-h35193-reading E_PV_Day
attr GoodWe obj-h35193-unpack L>
attr GoodWe obj-h35203-expr $val/10
attr GoodWe obj-h35203-len 2
attr GoodWe obj-h35203-poll 1
attr GoodWe obj-h35203-polldelay x60
attr GoodWe obj-h35203-reading E_Load_Total
attr GoodWe obj-h35203-unpack L>
attr GoodWe obj-h35205-expr $val/10
attr GoodWe obj-h35205-poll 1
attr GoodWe obj-h35205-polldelay x10
attr GoodWe obj-h35205-reading E_Load_Day
attr GoodWe obj-h35208-expr $val/10
attr GoodWe obj-h35208-format %.1f
attr GoodWe obj-h35208-poll 1
attr GoodWe obj-h35208-polldelay x10
attr GoodWe obj-h35208-reading E_Battery_Charge_Day
attr GoodWe obj-h35211-expr $val/10
attr GoodWe obj-h35211-format %.1f
attr GoodWe obj-h35211-poll 1
attr GoodWe obj-h35211-polldelay x10
attr GoodWe obj-h35211-reading E_Battery_Discharge_Day
attr GoodWe obj-h37003-expr $val/10
attr GoodWe obj-h37003-format %.0f
attr GoodWe obj-h37003-poll 1
attr GoodWe obj-h37003-polldelay x10
attr GoodWe obj-h37003-reading BMS_Pack_Temperature
attr GoodWe obj-h37006-reading BMS_Error_Code_L
attr GoodWe obj-h37006-showGet 1
attr GoodWe obj-h37007-poll 1
attr GoodWe obj-h37007-polldelay x5
attr GoodWe obj-h37007-reading SOC
attr GoodWe obj-h37007-showGet 1
attr GoodWe obj-h37008-poll 1
attr GoodWe obj-h37008-polldelay x60
attr GoodWe obj-h37008-reading SOH
attr GoodWe obj-h37008-showGet 1
attr GoodWe obj-h37010-reading BMS_Warning_Code_L
attr GoodWe obj-h37010-showGet 1
attr GoodWe obj-h37012-reading BMS_Error_Code_H
attr GoodWe obj-h37012-showGet 1
attr GoodWe obj-h37013-reading BMS_Warning_Code_H
attr GoodWe obj-h37013-showGet 1
attr GoodWe obj-h37014-poll once
attr GoodWe obj-h37014-reading BMS_Software_Version
attr GoodWe obj-h37014-showGet 1
attr GoodWe openTimeout 5
attr GoodWe room PV
attr GoodWe stateFormat <div style="color:white ;; text-align:left"><b>Leistung Zaehler: &nbsp &nbsp &nbsp &nbsp AC_ActivePower Watt </b>&nbsp &nbsp( - => Bezug  + => Einspeisung )</div>\
<div style="color:white ;; text-align:left"><b>Leistung Haus: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  Power_House Watt </b></div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="color:yellow ;; text-align:left"><b>Tägliche Werte:</b></div>\
<div style="color:yellow ;; text-align:left">==============================</div>\
<div style="color:white ;; text-align:left">Energie Verbrauch: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp E_Load_Day kw/h</div>\
<div style="color:white ;; text-align:left">Energie Verbrauch gestern: &nbsp statE_Load_TotalDayLast kw/h</div>\
<div style="color:white ;; text-align:left">Energie Battery Entladung: &nbsp &nbsp E_Battery_Discharge_Day kw/h</div>\
<div style="color:white ;; text-align:left">Energie Battery Ladung: &nbsp &nbsp &nbsp &nbsp E_Battery_Charge_Day kw/h</div>\
<div style="color:white ;; text-align:left">Energie PV Ertrag: &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp E_PV_Day kw/h</div>\
<div style="color:white ;; text-align:left">Energie PV Ertrag gestern: &nbsp &nbsp  statE_PV_TotalDayLast kw/h</div>\
<div style="color:yellow ;; text-align:left">==============================</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  PV_1_Power Watt</div>\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  PV_1_Voltage Volt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp PV_2_Power Watt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp PV_2_Voltage Volt</div>\
<div style="text-align:left">PV Total DC: &nbsp  &nbsp PV_Total_Power Watt</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">Akku-Power: &nbsp &nbsp  Power_Battery Watt&nbsp &nbsp( - => Laden  + => Entladen)</div>\
<div style="text-align:left">Akku-Level: &nbsp &nbsp &nbsp  SOC %</div>\
<div style="text-align:left">Akku-Health: &nbsp &nbsp  SOH %</div>\
<div style="text-align:left">Akku-Status: &nbsp &nbsp Akku_Mode</div>\
<div style="text-align:left">Akku-Temp: &nbsp &nbsp &nbsp BMS_Pack_Temperature °C</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">BMS Version: &nbsp &nbsp BMS_Software_Version</div>\
<div style="text-align:left">DSP Version: &nbsp &nbsp DSP_Software_Version. DSP_SVN_Version</div>\
<div style="text-align:left">ARM Version: &nbsp &nbsp ARM_Software_Version. ARM_SVN_Version</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">WR Temp: &nbsp &nbsp &nbsp &nbsp Inverter_Temperature °C</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="color:green ;; text-align:left">Status: state</div>\

attr GoodWe userReadings PV_2_Power:PV_Total_Power.*\
{ReadingsVal("GoodWe","PV_Total_Power",0) - ReadingsVal("GoodWe","PV_1_Power",0)} ,\
Power_House:(PV_Total_Power|AC_ActivePower|Power_Battery|Akku_Mode).*\
{\
# Discharge\
if (ReadingsVal("GoodWe","Akku_Mode","") eq "Discharging" ) \
{ReadingsVal("GoodWe","AC_ActivePower",0)*-1 + ReadingsVal("GoodWe","PV_Total_Power",0) + ReadingsVal("GoodWe","Power_Battery",0) }\
# Charge via App/PV (Strombezug)\
elsif (ReadingsVal("GoodWe","Akku_Mode","") eq "Charging" && ReadingsVal("GoodWe","AC_ActivePower",0) < 0)\
{abs(ReadingsVal("GoodWe","AC_ActivePower",0)) + ReadingsVal("GoodWe","PV_Total_Power",0) - abs(ReadingsVal("GoodWe","Power_Battery",0)) }\
# Charge via PV (ohne Strombezug)\
elsif (ReadingsVal("GoodWe","Akku_Mode","") eq "Charging") \
{ReadingsVal("GoodWe","PV_Total_Power",0) - abs(ReadingsVal("GoodWe","Power_Battery",0)) }\
# Battery empty\
elsif (ReadingsVal("GoodWe","Akku_Mode","") eq "Standby") \
{ReadingsVal("GoodWe","AC_ActivePower",0)*-1 + ReadingsVal("GoodWe","PV_Total_Power",0) }\
}
attr GoodWe verbose 0

setstate GoodWe <div style="color:white ;; text-align:left"><b>Leistung Zaehler: &nbsp &nbsp &nbsp &nbsp 7 Watt </b>&nbsp &nbsp( - => Bezug  + => Einspeisung )</div>\
<div style="color:white ;; text-align:left"><b>Leistung Haus: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  310 Watt </b></div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="color:yellow ;; text-align:left"><b>Tägliche Werte:</b></div>\
<div style="color:yellow ;; text-align:left">==============================</div>\
<div style="color:white ;; text-align:left">Energie Verbrauch: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp 6 kw/h</div>\
<div style="color:white ;; text-align:left">Energie Verbrauch gestern: &nbsp 7.5 kw/h</div>\
<div style="color:white ;; text-align:left">Energie Battery Entladung: &nbsp &nbsp 0.0 kw/h</div>\
<div style="color:white ;; text-align:left">Energie Battery Ladung: &nbsp &nbsp &nbsp &nbsp 0.6 kw/h</div>\
<div style="color:white ;; text-align:left">Energie PV Ertrag: &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp 1.2 kw/h</div>\
<div style="color:white ;; text-align:left">Energie PV Ertrag gestern: &nbsp &nbsp  4.3 kw/h</div>\
<div style="color:yellow ;; text-align:left">==============================</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  662 Watt</div>\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  640.1 Volt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp 442 Watt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp 369.1 Volt</div>\
<div style="text-align:left">PV Total DC: &nbsp  &nbsp 1104 Watt</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">Akku-Power: &nbsp &nbsp  -794 Watt&nbsp &nbsp( - => Laden  + => Entladen)</div>\
<div style="text-align:left">Akku-Level: &nbsp &nbsp &nbsp  16 %</div>\
<div style="text-align:left">Akku-Health: &nbsp &nbsp  100 %</div>\
<div style="text-align:left">Akku-Status: &nbsp &nbsp Charging</div>\
<div style="text-align:left">Akku-Temp: &nbsp &nbsp &nbsp 17 °C</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">BMS Version: &nbsp &nbsp 7</div>\
<div style="text-align:left">DSP Version: &nbsp &nbsp 12. 197</div>\
<div style="text-align:left">ARM Version: &nbsp &nbsp 29. 290</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">WR Temp: &nbsp &nbsp &nbsp &nbsp 36 °C</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="color:green ;; text-align:left">Status: opened</div>\

setstate GoodWe 2024-12-26 11:50:47 AC_ActivePower 7
setstate GoodWe 2024-12-24 17:58:36 ARM_SVN_Version 290
setstate GoodWe 2024-12-24 17:58:36 ARM_Software_Version 29
setstate GoodWe 2024-12-26 11:52:46 Akku_Mode Charging
setstate GoodWe 2024-12-14 20:58:19 BMS_Error_Code_H 0
setstate GoodWe 2024-12-25 17:25:40 BMS_Error_Code_L 0
setstate GoodWe 2024-12-26 11:52:47 BMS_Pack_Temperature 17
setstate GoodWe 2024-12-24 17:58:41 BMS_Software_Version 7
setstate GoodWe 2024-12-15 10:47:27 BMS_Warning_Code_H 0
setstate GoodWe 2024-12-15 10:47:21 BMS_Warning_Code_L 0
setstate GoodWe 2024-12-24 17:58:35 DSP_SVN_Version 197
setstate GoodWe 2024-12-24 17:58:34 DSP_Software_Version 12
setstate GoodWe 2024-12-26 11:52:47 E_Battery_Charge_Day 0.6
setstate GoodWe 2024-12-26 11:42:47 E_Battery_Discharge_Day 0.0
setstate GoodWe 2024-12-26 11:42:47 E_Load_Day 6
setstate GoodWe 2024-12-26 11:11:47 E_Load_Total 156
setstate GoodWe 2024-12-26 11:42:47 E_PV_Day 1.2
setstate GoodWe 2024-12-26 10:51:46 E_PV_Total 28.6
setstate GoodWe 2024-12-26 11:50:47 Inverter_Temperature 36
setstate GoodWe 2024-12-26 11:50:47 PV_1_Power 662
setstate GoodWe 2024-12-26 11:42:46 PV_1_Voltage 640.1
setstate GoodWe 2024-12-26 11:50:47 PV_2_Power 442
setstate GoodWe 2024-12-26 11:50:47 PV_2_Voltage 369.1
setstate GoodWe 2024-12-26 11:50:47 PV_Total_Power 1104
setstate GoodWe 2024-12-26 11:50:47 Power_Battery -794
setstate GoodWe 2024-12-26 11:50:47 Power_House 310
setstate GoodWe 2024-12-26 11:47:47 SOC 16
setstate GoodWe 2024-12-26 11:48:47 SOH 100
setstate GoodWe 2024-12-26 11:52:47 statE_Load_Total Hour: 0.2 Day: 6.2 Month: 66.2 Year: 66.2 (since: 2024-12-20 )
setstate GoodWe 2024-12-26 11:52:47 statE_Load_TotalDay 6.2
setstate GoodWe 2024-12-25 23:59:55 statE_Load_TotalDayLast 7.5
setstate GoodWe 2024-12-26 10:59:55 statE_Load_TotalLast Hour: 1.8 Day: 7.5 Month: - Year: -
setstate GoodWe 2024-12-26 11:52:47 statE_PV_Total Hour: 0.0 Day: 0.4 Month: 21.7 Year: 21.7 (since: 2024-12-18 )
setstate GoodWe 2024-12-26 11:52:47 statE_PV_TotalDay 0.4
setstate GoodWe 2024-12-25 23:59:55 statE_PV_TotalDayLast 4.3
setstate GoodWe 2024-12-26 10:59:55 statE_PV_TotalLast Hour: 0.3 Day: 4.3 Month: - Year: -
setstate GoodWe 2024-12-26 11:52:32 state opened

Was nicht funktioniert ist das auslesen von:
E-Day-Sell h35199  (keine sinnvollen Werte)
E-Day-Buy h35202 (ist immer null)

Aktuelle bezogene Leistung des Hauses, sowie PanelLeistung musste ich via Userreading erstellen.
Läuft erst 2 Wochen, die Anbindung scheint stabil zu sein.

Evtl. hilft es ja den einem oder anderen ...

VG Klaus

EDIT: 26.12.2024 Definitionen aktualisiert
3 HMUART (2 via ESP8266), 1 DUOFERN, 12 ESP8266, SolvisBen, GoodWE WR, RPI2 (Bullseye), ZWAVE, HM-Classic, und hoch zufrieden ...
Danke an alle, die was dazu beigetragen haben !!

Parallix

Zwischen den Tagen hat man ja zumeist etwas mehr Zeit zum Stöbern. Dabei ist mir aufgefallen, dass es auf den Download-Seiten von Goodwe seit Mitte November 2024 eine von Goodwe bereits am 24.4.2024 aktualisierte technische Information "GoodWe Modbus Prtocol Hybrid" (Version 1.2) gibt. Das entsprechende PDF ist hier zu finden.
FHEM: Debian/Testing BananaPro - AVM: 7490 (7.60) und 7591 (8.20) - Goodwe: GW25K-ET (DSP V10 / ARM V12) - Trina TSM 405: (#East, #South, #West) = (12,16,12) - BYD: 2 x HVS 7.7 (BMS V3.31-B, BMU V3.26-B) - EnOcean - Z-Wave - FS20/HMS

Rampler

Zitat von: Parallix am 28 Dezember 2024, 12:19:22Zwischen den Tagen hat man ja zumeist etwas mehr Zeit zum Stöbern. Dabei ist mir aufgefallen, dass es auf den Download-Seiten von Goodwe seit Mitte November 2024 eine von Goodwe bereits am 24.4.2024 aktualisierte technische Information "GoodWe Modbus Prtocol Hybrid" (Version 1.2) gibt. Das entsprechende PDF ist hier zu finden.
Zumindest für den GW8KN-ET passt die Doku nicht.
Beispiel Register 35182 (Battery1 Power) liefert beim GW8KN-ET keine Antwort.
Stattdessen liefert das Register 35183 die Info, welche aber in der Doku fehlt, scheint für andere Wechselrichter zu sein.
Schade, eine aktualisierte Doku wäre schön gewesen.
Anbei die Doku, welche zu meinem Beispiel/GW8KN-ET passt.. (halbwegs)
3 HMUART (2 via ESP8266), 1 DUOFERN, 12 ESP8266, SolvisBen, GoodWE WR, RPI2 (Bullseye), ZWAVE, HM-Classic, und hoch zufrieden ...
Danke an alle, die was dazu beigetragen haben !!

Parallix

Mal eine Frage an die, die auch Modbus UDP mit dem Goodwe LAN/Wifi-Dongle nutzen, das vor der Version 2.0 verkauft wurde:

Habt Ihr auch das Problem, dass der Modbus-Server hin und wieder nicht erreichbar ist und dann
- erst nach sehr langem Warten (bis zu einer Stunde) oder
- nachdem das Dongle wird  via Webinterface resettet wurde
wieder verfügbar ist?

Wenn nein: Welche Firmware-Version habt ihr auf Eurem Dongle?
FHEM: Debian/Testing BananaPro - AVM: 7490 (7.60) und 7591 (8.20) - Goodwe: GW25K-ET (DSP V10 / ARM V12) - Trina TSM 405: (#East, #South, #West) = (12,16,12) - BYD: 2 x HVS 7.7 (BMS V3.31-B, BMU V3.26-B) - EnOcean - Z-Wave - FS20/HMS

wowogiengen

Zitat von: Parallix am 16 Januar 2025, 17:22:52Mal eine Frage an die, die auch Modbus UDP mit dem Goodwe LAN/Wifi-Dongle nutzen, das vor der Version 2.0 verkauft wurde:

Habt Ihr auch das Problem, dass der Modbus-Server hin und wieder nicht erreichbar ist und dann
- erst nach sehr langem Warten (bis zu einer Stunde) oder
- nachdem das Dongle wird  via Webinterface resettet wurde
wieder verfügbar ist?

Wenn nein: Welche Firmware-Version habt ihr auf Eurem Dongle?

Hallo,
auch wenn es schon so lange her ist...

Ich hatte eigentlich mit dem LAN/WIFI-Dongle noch keine Modbus-TCP-Probleme. Was Probleme macht ist die Internetverbindung. Die scheint beim GW10KN-ET und dem verwendeten Dongle nicht sonderlich stabil zu sein.

GoodWe hat in den letzten Tagen mehrfach von mir über den Zendesk https://goodwetechnology.zendesk.com/hc/en-gb Anfragen hierzu bekommen. Gestern wurde ein FW-Update gemacht, die nächsten Tage soll ich dann auch einen WIFI/LAN Dongle 2.0 bekommen.

Da bin ich mal gespannt...

Ich muss mir jetzt auch mal die ganzen Registerdefinitionen aus dem Thread hier genau angucken und mit der Modbus-Protokollspezifikation abgleichen.

Grundsätzlich will ich ja nur wissen:

  • Gesamtleistung in kW der Anlage
  • Leistung in kW des 10kW und des 5kW-Wechselrichters separat
  • SOC der Batterie in %
  • Leistung, die im Haus verbraucht wird
  • Leistung, die für die Batterie verbraucht wird (Laden),oder von ihr bezogen wird (entladen)
  • Leistung, die ins Netz geht (verkaufen), oder davon kommt (kaufen)

Bei den ersten beiden Punkten bin ich mir noch nicht sicher, wie ich das machen muss...


Parallix

#41
Zitat von: wowogiengen am 19 August 2025, 10:36:56...
Ich hatte eigentlich mit dem LAN/WIFI-Dongle noch keine Modbus-TCP-Probleme. Was Probleme macht ist die Internetverbindung. Die scheint beim GW10KN-ET und dem verwendeten Dongle nicht sonderlich stabil zu sein.

Für Modbus-TCP oder -UDP wird keine Internetverbindung, sondern nur eine korrekte Einbindung des Wechselrichters in das lokale (Haus-)Netzwerk benötigt. Hier bekommt es Goodwe einfach nicht hin, Adapter/Dongles zur Verfügung zu stellen, die stabil im lokalen Netz arbeiten. In der Konsequenz führt dies zu Modbus-TCP/UDP-Problemen.

Es ist mir absolut schleierhaft, warum es Goodwe nicht hinbekommt, sein Netzwerk-Dongle so auszustatten, dass es genauso zuverlässig arbeitet, wie z.B. der Waveshare "RS485 TO ETH (B)" Modbus-Adapter.

Schade ist beim Waveshare-Adapter nur, dass bis dato eine Windows-Anwendung zur erweiterten Konfiguration benötigt wird und es keine Linux- oder Android-App gibt, mit der die erweiterte Konfiguration durchgeführt werden kann. Etwas unschön ist auch, dass der Waveshare-Adapter wenigstens 9V VDC benötigt, also nicht mit einem 5V Multiport USB-Netzteil betrieben kann, das für die meisten  Einplatinencomputer ohnehin schon verfügbar ist. Glücklicherweise liefert der Goodwe aber eine 12 VDC Spannungsversorgung, so dass das Problem hier etwas abgemildert wird.

Zitat von: wowogiengen am 19 August 2025, 10:36:56...
Ich muss mir jetzt auch mal die ganzen Registerdefinitionen aus dem Thread hier genau angucken und mit der Modbus-Protokollspezifikation abgleichen.
...

Da Du ja vergleichsweise wenig wissen willst, sollte das in Deinem Fall schnell erledigt sein. Am schnellsten geht es wahrscheinlich, wenn Dir dir das von Goodwe herausgegebene PDF "GoodWe Modbus Protocol Hybrid" besorgst. Die letzte mir bekannte Version ist die vom 24. April 2024. Wenn Du das ein oder andere Register dort nicht findet, kannst Du hier gerne nachhören.
FHEM: Debian/Testing BananaPro - AVM: 7490 (7.60) und 7591 (8.20) - Goodwe: GW25K-ET (DSP V10 / ARM V12) - Trina TSM 405: (#East, #South, #West) = (12,16,12) - BYD: 2 x HVS 7.7 (BMS V3.31-B, BMU V3.26-B) - EnOcean - Z-Wave - FS20/HMS

wowogiengen

#42
Hallo
Zitat von: Parallix am 20 August 2025, 10:29:29...

Ich denke, dass ich die Definition der Register für meinen WR schon ganz gut habe, Rampler hat da ja seine Konfiguration für den
GoodWe GW8KN-ET geteilt. Die habe ich übernommen, und geprüft.

Aktuell kriege ich jedoch für das Register 35140 (AC Active Power) keine aktuellen Werte mehr ausgespuckt - obwohl in meiner DB Werte von früher drin sind.
Ich weiß nicht, was ich an meiner Definition ändern soll...

define PV_WR_10K ModbusAttr 5 60 192.168.188.186:502 TCP
attr PV_WR_10K comment Inbetriebname: 10.12.2024, GW10KN-ET, 9010KETU232W0865
attr PV_WR_10K dev-timing-sendDelay 0.1
attr PV_WR_10K dev-timing-timeout 4
attr PV_WR_10K enableControlSet 1
attr PV_WR_10K event-min-interval PV_[1-2]_Power:900,E_.*:1800,SOC:1800,Power_.*:1800,PV_Total_Power:1800,AC_ActivePower:900,Inverter_Temperature:3600,BMS_Pack_Temperature:3600
attr PV_WR_10K event-on-change-reading Power_.*:2,.*
attr PV_WR_10K event-on-update-reading ARM_SVN_Version,ARM_Software_Version,BMS_Software_Version,DSP_SVN_Version,DSP_Software_Version,SOH
attr PV_WR_10K icon measure_power_meter
attr PV_WR_10K obj-h35001-group 1-1
attr PV_WR_10K obj-h35001-len 2
attr PV_WR_10K obj-h35001-poll 1
attr PV_WR_10K obj-h35001-polldelay x1
attr PV_WR_10K obj-h35001-reading Rated_Power
attr PV_WR_10K obj-h35001-showGet 1
attr PV_WR_10K obj-h35001-unpack s>
attr PV_WR_10K obj-h35003-len 8
attr PV_WR_10K obj-h35003-poll 1
attr PV_WR_10K obj-h35003-reading SNR
attr PV_WR_10K obj-h35003-type string
attr PV_WR_10K obj-h35011-len 5
attr PV_WR_10K obj-h35011-poll 1
attr PV_WR_10K obj-h35011-reading Modell
attr PV_WR_10K obj-h35011-type string
attr PV_WR_10K obj-h35016-poll 1
attr PV_WR_10K obj-h35016-reading DSP_Software_Version
attr PV_WR_10K obj-h35016-showGet 1
attr PV_WR_10K obj-h35018-poll once
attr PV_WR_10K obj-h35018-reading DSP_SVN_Version
attr PV_WR_10K obj-h35018-showGet 1
attr PV_WR_10K obj-h35019-poll once
attr PV_WR_10K obj-h35019-reading ARM_Software_Version
attr PV_WR_10K obj-h35019-showGet 1
attr PV_WR_10K obj-h35020-poll once
attr PV_WR_10K obj-h35020-reading ARM_SVN_Version
attr PV_WR_10K obj-h35020-showGet 1
attr PV_WR_10K obj-h35103-expr $val/10
attr PV_WR_10K obj-h35103-format %.1f
attr PV_WR_10K obj-h35103-poll 1
attr PV_WR_10K obj-h35103-polldelay x1
attr PV_WR_10K obj-h35103-reading PV_1_Voltage
attr PV_WR_10K obj-h35103-showGet 1
attr PV_WR_10K obj-h35105-group 1-2
attr PV_WR_10K obj-h35105-len 2
attr PV_WR_10K obj-h35105-poll 1
attr PV_WR_10K obj-h35105-polldelay x1
attr PV_WR_10K obj-h35105-reading PV_1_Power
attr PV_WR_10K obj-h35105-showGet 1
attr PV_WR_10K obj-h35105-unpack L>
attr PV_WR_10K obj-h35107-expr $val/10
attr PV_WR_10K obj-h35107-format %.1f
attr PV_WR_10K obj-h35107-poll 1
attr PV_WR_10K obj-h35107-polldelay x1
attr PV_WR_10K obj-h35107-reading PV_2_Voltage
attr PV_WR_10K obj-h35109-expr ReadingsVal($name, 'PV_1_Power', 0) + $val
attr PV_WR_10K obj-h35109-group 1-3
attr PV_WR_10K obj-h35109-len 2
attr PV_WR_10K obj-h35109-name Eigentlich PV_2_Power
attr PV_WR_10K obj-h35109-poll 1
attr PV_WR_10K obj-h35109-polldelay x1
attr PV_WR_10K obj-h35109-reading PV_Total_Power
attr PV_WR_10K obj-h35109-showGet 1
attr PV_WR_10K obj-h35109-unpack L>
attr PV_WR_10K obj-h35137-group 1-4
attr PV_WR_10K obj-h35137-poll 1
attr PV_WR_10K obj-h35137-polldelay x1
attr PV_WR_10K obj-h35137-reading Total_Inv_Power
attr PV_WR_10K obj-h35137-showGet 1
attr PV_WR_10K obj-h35137-unpack s>
attr PV_WR_10K obj-h35138-group 1-4
attr PV_WR_10K obj-h35138-poll 1
attr PV_WR_10K obj-h35138-polldelay x1
attr PV_WR_10K obj-h35138-reading Total_Inv_Power
attr PV_WR_10K obj-h35138-showGet 1
attr PV_WR_10K obj-h35138-unpack s>
attr PV_WR_10K obj-h35140-expr $val
attr PV_WR_10K obj-h35140-format %.0f
attr PV_WR_10K obj-h35140-group 1-4
attr PV_WR_10K obj-h35140-len 2
attr PV_WR_10K obj-h35140-poll 1
attr PV_WR_10K obj-h35140-polldelay x1
attr PV_WR_10K obj-h35140-reading AC_ActivePower
attr PV_WR_10K obj-h35140-showGet 1
attr PV_WR_10K obj-h35140-unpack s>
attr PV_WR_10K obj-h35174-expr $val/10
attr PV_WR_10K obj-h35174-format %.0f
attr PV_WR_10K obj-h35174-poll 1
attr PV_WR_10K obj-h35174-polldelay x1
attr PV_WR_10K obj-h35174-reading Inverter_Temperature
attr PV_WR_10K obj-h35183-group 1-6
attr PV_WR_10K obj-h35183-poll 1
attr PV_WR_10K obj-h35183-polldelay x1
attr PV_WR_10K obj-h35183-reading Power_Battery
attr PV_WR_10K obj-h35183-showGet 1
attr PV_WR_10K obj-h35183-unpack s>
attr PV_WR_10K obj-h35184-map 0:Akku disconnected, 1:Standby, 2:Discharging, 3:Charging, 4: Waiting for charge, 5: Waiting for discharge
attr PV_WR_10K obj-h35184-poll 1
attr PV_WR_10K obj-h35184-polldelay x1
attr PV_WR_10K obj-h35184-reading Akku_Mode
attr PV_WR_10K obj-h35184-showGet 1
attr PV_WR_10K obj-h35191-expr $val/10
attr PV_WR_10K obj-h35191-len 2
attr PV_WR_10K obj-h35191-poll 1
attr PV_WR_10K obj-h35191-polldelay x1
attr PV_WR_10K obj-h35191-reading E_PV_Total
attr PV_WR_10K obj-h35191-unpack L>
attr PV_WR_10K obj-h35193-expr $val/10
attr PV_WR_10K obj-h35193-len 2
attr PV_WR_10K obj-h35193-poll 1
attr PV_WR_10K obj-h35193-polldelay x1
attr PV_WR_10K obj-h35193-reading E_PV_Day
attr PV_WR_10K obj-h35193-unpack L>
attr PV_WR_10K obj-h35203-expr $val/10
attr PV_WR_10K obj-h35203-len 2
attr PV_WR_10K obj-h35203-poll 1
attr PV_WR_10K obj-h35203-polldelay x1
attr PV_WR_10K obj-h35203-reading E_Load_Total
attr PV_WR_10K obj-h35203-unpack L>
attr PV_WR_10K obj-h35205-expr $val/10
attr PV_WR_10K obj-h35205-poll 1
attr PV_WR_10K obj-h35205-polldelay x1
attr PV_WR_10K obj-h35205-reading E_Load_Day
attr PV_WR_10K obj-h35208-expr $val/10
attr PV_WR_10K obj-h35208-format %.1f
attr PV_WR_10K obj-h35208-poll 1
attr PV_WR_10K obj-h35208-polldelay x1
attr PV_WR_10K obj-h35208-reading E_Battery_Charge_Day
attr PV_WR_10K obj-h35211-expr $val/10
attr PV_WR_10K obj-h35211-format %.1f
attr PV_WR_10K obj-h35211-poll 1
attr PV_WR_10K obj-h35211-polldelay x1
attr PV_WR_10K obj-h35211-reading E_Battery_Discharge_Day
attr PV_WR_10K obj-h37003-expr $val/10
attr PV_WR_10K obj-h37003-format %.0f
attr PV_WR_10K obj-h37003-poll 1
attr PV_WR_10K obj-h37003-polldelay x1
attr PV_WR_10K obj-h37003-reading BMS_Pack_Temperature
attr PV_WR_10K obj-h37006-reading BMS_Error_Code_L
attr PV_WR_10K obj-h37006-showGet 1
attr PV_WR_10K obj-h37007-poll 1
attr PV_WR_10K obj-h37007-polldelay x1
attr PV_WR_10K obj-h37007-reading SOC
attr PV_WR_10K obj-h37007-showGet 1
attr PV_WR_10K obj-h37008-poll 1
attr PV_WR_10K obj-h37008-polldelay x1
attr PV_WR_10K obj-h37008-reading SOH
attr PV_WR_10K obj-h37008-showGet 1
attr PV_WR_10K obj-h37010-reading BMS_Warning_Code_L
attr PV_WR_10K obj-h37010-showGet 1
attr PV_WR_10K obj-h37012-reading BMS_Error_Code_H
attr PV_WR_10K obj-h37012-showGet 1
attr PV_WR_10K obj-h37013-reading BMS_Warning_Code_H
attr PV_WR_10K obj-h37013-showGet 1
attr PV_WR_10K obj-h37014-poll once
attr PV_WR_10K obj-h37014-reading BMS_Software_Version
attr PV_WR_10K obj-h37014-showGet 1
attr PV_WR_10K openTimeout 5
attr PV_WR_10K room PV
attr PV_WR_10K stateFormat <table style="width:100%;; border:1">\
<tr>\
<td style="width:60%">Wechselrichter</td><td style="width:40%"><b>Modell</b></td>\
</tr>\
<tr>\
<td style="width:60%">              </td><td  style="width:40%"><b>SNR</b></td>\
</tr>\
</table>\
<div style="color:black ;; text-align:left"><b>Leistung Zaehler: &nbsp &nbsp &nbsp &nbsp AC_ActivePower Watt </b>&nbsp &nbsp( - => Bezug  + => Einspeisung )</div>\
<div style="color:black ;; text-align:left"><b>Leistung Haus: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  Power_House Watt </b></div>\
<div style="text-align:left"> &nbsp </div>\
<div style="text-align:left">Akku-Power: &nbsp &nbsp  Power_Battery Watt&nbsp &nbsp( - => Laden  + => Entladen)</div>\
<div style="text-align:left">Akku-Level: &nbsp &nbsp &nbsp  SOC %</div>\
<div style="text-align:left">Akku-Status: &nbsp &nbsp Akku_Mode</div>\
<div style="text-align:left">Akku-Temp: &nbsp &nbsp &nbsp BMS_Pack_Temperature °C</div>\
<div style="text-align:left"> &nbsp </div>\
<div style="text-align:left">WR Temp: &nbsp &nbsp &nbsp &nbsp Inverter_Temperature °C</div>\
\
<div style="color:blue ;; text-align:left"><b>Tägliche Werte:</b></div>\
<div style="color:blue ;; text-align:left">==============================</div>\
<div style="color:black ;; text-align:left">Energie Verbrauch: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp E_Load_Day kw/h</div>\
<div style="color:black ;; text-align:left">Energie Verbrauch gestern: &nbsp statE_Load_TotalDayLast kw/h</div>\
<div style="color:black ;; text-align:left">Energie Battery Entladung: &nbsp &nbsp E_Battery_Discharge_Day kw/h</div>\
<div style="color:black ;; text-align:left">Energie Battery Ladung: &nbsp &nbsp &nbsp &nbsp E_Battery_Charge_Day kw/h</div>\
<div style="color:black ;; text-align:left">Energie PV Ertrag: &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp E_PV_Day kw/h</div>\
<div style="color:black ;; text-align:left">Energie PV Ertrag gestern: &nbsp &nbsp  statE_PV_TotalDayLast kw/h</div>\
<div style="color:blue ;; text-align:left">==============================</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  PV_1_Power Watt</div>\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  PV_1_Voltage Volt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp PV_2_Power Watt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp PV_2_Voltage Volt</div>\
<div style="text-align:left">PV Total DC: &nbsp  &nbsp PV_Total_Power Watt</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">Akku-Health: &nbsp &nbsp  SOH %</div>\
<div style="text-align:left"> &nbsp </div>\
<div style="color:green ;; text-align:left">Status: state</div>\
<div style="text-align:left"> &nbsp </div>\

attr PV_WR_10K userReadings AnzeigeTest:.* {ReadingsVal("PV_WR_10K","PV_Total_Power",1234) +ReadingsVal("PV_WR_10K","PV_1_Power",5678)},\
PV_2_Power:PV_Total_Power.* {ReadingsVal("PV_WR_10K","PV_Total_Power",0) - ReadingsVal("PV_WR_10K","PV_1_Power",0)} ,\
Power_House:(PV_Total_Power|AC_ActivePower|Power_Battery|Akku_Mode).*\
{# Discharge\
if (ReadingsVal("PV_WR_10K","Akku_Mode","") eq "Discharging" ) \
{ReadingsVal("PV_WR_10K","AC_ActivePower",0)*-1 + ReadingsVal("PV_WR_10K","PV_Total_Power",0) + ReadingsVal("PV_WR_10K","Power_Battery",0) }\
# Charge via App/PV (Strombezug)\
elsif (ReadingsVal("PV_WR_10K","Akku_Mode","") eq "Charging" && ReadingsVal("PV_WR_10K","AC_ActivePower",0) < 0)\
{abs(ReadingsVal("PV_WR_10K","AC_ActivePower",0)) + ReadingsVal("PV_WR_10K","PV_Total_Power",0) - abs(ReadingsVal("PV_WR_10K","Power_Battery",0)) }\
# Charge via PV (ohne Strombezug)\
elsif (ReadingsVal("PV_WR_10K","Akku_Mode","") eq "Charging") \
{ReadingsVal("PV_WR_10K","PV_Total_Power",0) - abs(ReadingsVal("PV_WR_10K","Power_Battery",0)) }\
# Battery empty\
elsif (ReadingsVal("PV_WR_10K","Akku_Mode","") eq "Standby") \
{ReadingsVal("PV_WR_10K","AC_ActivePower",0)*-1 + ReadingsVal("PV_WR_10K","PV_Total_Power",0) }\
}
attr PV_WR_10K verbose 1
#   DEF        5 60 192.168.188.186:502 TCP
#   DeviceName 192.168.188.186:502
#   EXPECT     idle
#   FD         17
#   FUUID      689756c2-f33f-a625-6b48-eb0138da5800c65a
#   IODev      PV_WR_10K
#   Interval   60
#   LASTOPEN   1756801728.33583
#   MODBUSID   5
#   MODE       master
#   MODULEVERSION Modbus 4.5.6 - 7.11.2023
#   NAME       PV_WR_10K
#   NOTIFYDEV  global
#   NR         232
#   NTFY_ORDER 50-PV_WR_10K
#   PARTIAL   
#   PROTOCOL   TCP
#   STATE      <table style="width:100%; border:1">
#<tr>
#<td style="width:60%">Wechselrichter</td><td style="width:40%"><b>GW10KN-ET </b></td>
#</tr>
#<tr>
#<td style="width:60%">              </td><td  style="width:40%"><b>9010KETU232W0865</b></td>
#</tr>
#</table>
#<div style="color:black ; text-align:left"><b>Leistung Zaehler: &nbsp &nbsp &nbsp &nbsp 2609 Watt </b>&nbsp &nbsp( - => Bezug  + => Einspeisung )</div>
#<div style="color:black ; text-align:left"><b>Leistung Haus: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  -1252 Watt </b></div>
#<div style="text-align:left"> &nbsp </div>
#<div style="text-align:left">Akku-Power: &nbsp &nbsp  3 Watt&nbsp &nbsp( - => Laden  + => Entladen)</div>
#<div style="text-align:left">Akku-Level: &nbsp &nbsp &nbsp  100 %</div>
#<div style="text-align:left">Akku-Status: &nbsp &nbsp Discharging</div>
#<div style="text-align:left">Akku-Temp: &nbsp &nbsp &nbsp 36 °C</div>
#<div style="text-align:left"> &nbsp </div>
#<div style="text-align:left">WR Temp: &nbsp &nbsp &nbsp &nbsp 51 °C</div>
#
#<div style="color:blue ; text-align:left"><b>Tägliche Werte:</b></div>
#<div style="color:blue ; text-align:left">==============================</div>
#<div style="color:black ; text-align:left">Energie Verbrauch: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp 1.9 kw/h</div>
#<div style="color:black ; text-align:left">Energie Verbrauch gestern: &nbsp statE_Load_TotalDayLast kw/h</div>
#<div style="color:black ; text-align:left">Energie Battery Entladung: &nbsp &nbsp 1.2 kw/h</div>
#<div style="color:black ; text-align:left">Energie Battery Ladung: &nbsp &nbsp &nbsp &nbsp 3.6 kw/h</div>
#<div style="color:black ; text-align:left">Energie PV Ertrag: &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp 5.6 kw/h</div>
#<div style="color:black ; text-align:left">Energie PV Ertrag gestern: &nbsp &nbsp  statE_PV_TotalDayLast kw/h</div>
#<div style="color:blue ; text-align:left">==============================</div>
#<div style="text-align:left"> &nbsp </div>
#
#<div style="text-align:left">PV Strang 1: &nbsp &nbsp  792 Watt</div>
#<div style="text-align:left">PV Strang 1: &nbsp &nbsp  295.1 Volt</div>
#<div style="text-align:left">PV Strang 2: &nbsp &nbsp 562 Watt</div>
#<div style="text-align:left">PV Strang 2: &nbsp &nbsp 293.4 Volt</div>
#<div style="text-align:left">PV Total DC: &nbsp  &nbsp 1354 Watt</div>
#<div style="text-align:left"> &nbsp </div>
#
#<div style="text-align:left">Akku-Health: &nbsp &nbsp  100 %</div>
#<div style="text-align:left"> &nbsp </div>
#<div style="color:green ; text-align:left">Status: opened</div>
#<div style="text-align:left"> &nbsp </div>
#
#   TCPConn    1
#   TYPE       ModbusAttr
#   devioLoglevel 3
#   devioNoSTATE 1
#   eventCount 77
#   nextOpenDelay 60
#   DICACHE:
#     3:
#       UNPACK     
#       EXPRS:
#       EXTRAS:
#       FNAMES:
#   Helper:
#     DBLOG:
#       ARM_SVN_Version:
#         mySQLDB_PV:
#           TIME       1756802508.98946
#           VALUE      60334
#       ARM_Software_Version:
#         mySQLDB_PV:
#           TIME       1756802508.98946
#           VALUE      31
#       BMS_Pack_Temperature:
#         mySQLDB_PV:
#           TIME       1756801732.80899
#           VALUE      36
#       BMS_Software_Version:
#         mySQLDB_PV:
#           TIME       1756801733.34864
#           VALUE      0
#       DSP_SVN_Version:
#         mySQLDB_PV:
#           TIME       1756802508.98946
#           VALUE      197
#       DSP_Software_Version:
#         mySQLDB_PV:
#           TIME       1756802509.51603
#           VALUE      12
#       E_Battery_Charge_Day:
#         mySQLDB_PV:
#           TIME       1756801732.44896
#           VALUE      3.6
#       E_Battery_Discharge_Day:
#         mySQLDB_PV:
#           TIME       1756801732.62888
#           VALUE      1.2
#       E_Load_Day:
#         mySQLDB_PV:
#           TIME       1756801732.27684
#           VALUE      1.9
#       E_Load_Total:
#         mySQLDB_PV:
#           TIME       1756801732.09999
#           VALUE      2055.4
#       E_PV_Day:
#         mySQLDB_PV:
#           TIME       1756802510.58822
#           VALUE      5.6
#       E_PV_Total:
#         mySQLDB_PV:
#           TIME       1756802510.40825
#           VALUE      7936.1
#       Inverter_Temperature:
#         mySQLDB_PV:
#           TIME       1756801731.35822
#           VALUE      51
#       Modell:
#         mySQLDB_PV:
#           TIME       1756801729.1062
#           VALUE      GW10KN-ET
#       PV_1_Voltage:
#         mySQLDB_PV:
#           TIME       1756802509.69632
#           VALUE      295.1
#       PV_2_Voltage:
#         mySQLDB_PV:
#           TIME       1756802509.86896
#           VALUE      293.4
#       SOC:
#         mySQLDB_PV:
#           TIME       1756801732.98865
#           VALUE      100
#       SOH:
#         mySQLDB_PV:
#           TIME       1756802511.8483
#           VALUE      100
#       state:
#         mySQLDB_PV:
#           TIME       1756802431.37277
#           VALUE      reread
#   PICACHE:
#     h35001:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35003:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35011:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35016:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35018:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35019:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35020:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35103:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.1f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35107:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.1f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35174:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.0f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35184:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map        0:Akku disconnected, 1:Standby, 2:Discharging, 3:Charging, 4: Waiting for charge, 5: Waiting for discharge
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35191:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35193:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35203:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35205:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35208:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.1f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h35211:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.1f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h37003:
#       bswapRegs 
#       decode     
#       encode     
#       expr       $val/10
#       format     %.0f
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h37007:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h37008:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#     h37014:
#       bswapRegs 
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr
#       map       
#       mapDefault
#       revRegs   
#       rmapDefault
#   QUEUE:
#   READ:
#     BUFFER     
#   READINGS:
#     2025-09-01 16:26:23   AC_ActivePower  2609
#     2025-09-02 10:41:48   ARM_SVN_Version 60334
#     2025-09-02 10:41:48   ARM_Software_Version 31
#     2025-09-02 10:41:50   Akku_Mode       Discharging
#     2025-09-02 10:41:51   AnzeigeTest     2146
#     2025-09-02 10:41:51   BMS_Pack_Temperature 36
#     2025-09-02 10:28:53   BMS_Software_Version 0
#     2025-09-02 10:41:48   DSP_SVN_Version 197
#     2025-09-02 10:41:49   DSP_Software_Version 12
#     2025-09-02 10:41:51   E_Battery_Charge_Day 3.6
#     2025-09-02 10:41:51   E_Battery_Discharge_Day 1.2
#     2025-09-02 10:41:50   E_Load_Day      1.9
#     2025-09-02 10:41:50   E_Load_Total    2055.4
#     2025-09-02 10:41:50   E_PV_Day        5.6
#     2025-09-02 10:41:50   E_PV_Total      7936.1
#     2025-09-02 10:41:50   Inverter_Temperature 51
#     2025-09-02 10:41:49   Modell          GW10KN-ET
#     2025-09-01 15:50:08   PV_1_Power      792
#     2025-09-02 10:41:49   PV_1_Voltage    295.1
#     2025-09-01 16:17:03   PV_2_Power      562
#     2025-09-02 10:41:49   PV_2_Voltage    293.4
#     2025-09-01 16:17:03   PV_Total_Power  1354
#     2025-08-19 11:00:20   Power_Battery   3
#     2025-09-02 10:03:16   Power_House     -1252
#     2025-09-02 10:41:48   Rated_Power     10000
#     2025-09-02 10:41:49   SNR             9010KETU232W0865
#     2025-09-02 10:41:51   SOC             100
#     2025-09-02 10:41:51   SOH             100
#     2025-09-01 15:50:02   Total_Inv_Power 1607
#     2025-09-02 10:28:48   state           opened
#   REMEMBER:
#     lid        5
#     lname      PV_WR_10K
#     lrecv      1756802511.84422
#     lsend      1756802511.76699
#   UPDATECACHE:
#     g1:
#       adr        35001
#       group      1-1
#       groupInfo  h35001 len 2 Rated_Power and h35105 len 2 PV_1_Power and h35109 len 2 PV_Total_Power and h35137 len 1 Total_Inv_Power and h35138 len 1 Total_Inv_Power and h35140 len 2 AC_ActivePower and h35183 len 1 Power_Battery
#       len        183
#       objCombi   g1
#       reading    Rated_Power
#       span       183
#       type       h
#     h35003:
#       adr        35003
#       len        8
#       objCombi   h35003
#       reading    SNR
#       span       8
#       type       h
#     h35011:
#       adr        35011
#       len        5
#       objCombi   h35011
#       reading    Modell
#       span       5
#       type       h
#     h35016:
#       adr        35016
#       len        1
#       objCombi   h35016
#       reading    DSP_Software_Version
#       span       1
#       type       h
#     h35103:
#       adr        35103
#       len        1
#       objCombi   h35103
#       reading    PV_1_Voltage
#       span       1
#       type       h
#     h35107:
#       adr        35107
#       len        1
#       objCombi   h35107
#       reading    PV_2_Voltage
#       span       1
#       type       h
#     h35174:
#       adr        35174
#       len        1
#       objCombi   h35174
#       reading    Inverter_Temperature
#       span       1
#       type       h
#     h35184:
#       adr        35184
#       len        1
#       objCombi   h35184
#       reading    Akku_Mode
#       span       1
#       type       h
#     h35191:
#       adr        35191
#       len        2
#       objCombi   h35191
#       reading    E_PV_Total
#       span       2
#       type       h
#     h35193:
#       adr        35193
#       len        2
#       objCombi   h35193
#       reading    E_PV_Day
#       span       2
#       type       h
#     h35203:
#       adr        35203
#       len        2
#       objCombi   h35203
#       reading    E_Load_Total
#       span       2
#       type       h
#     h35205:
#       adr        35205
#       len        1
#       objCombi   h35205
#       reading    E_Load_Day
#       span       1
#       type       h
#     h35208:
#       adr        35208
#       len        1
#       objCombi   h35208
#       reading    E_Battery_Charge_Day
#       span       1
#       type       h
#     h35211:
#       adr        35211
#       len        1
#       objCombi   h35211
#       reading    E_Battery_Discharge_Day
#       span       1
#       type       h
#     h37003:
#       adr        37003
#       len        1
#       objCombi   h37003
#       reading    BMS_Pack_Temperature
#       span       1
#       type       h
#     h37007:
#       adr        37007
#       len        1
#       objCombi   h37007
#       reading    SOC
#       span       1
#       type       h
#     h37008:
#       adr        37008
#       len        1
#       objCombi   h37008
#       reading    SOH
#       span       1
#       type       h
#   defptr:
#     PV_WR_10K  5
#   gotReadings:
#     SOH        100
#   lastRead:
#     h35001     1756802508.98642
#     h35003     1756802509.15353
#     h35011     1756802509.33329
#     h35016     1756802509.51327
#     h35018     1756802508.98472
#     h35019     1756802508.98529
#     h35020     1756802508.98586
#     h35103     1756802509.69358
#     h35107     1756802509.86623
#     h35174     1756802510.04556
#     h35184     1756802510.2253
#     h35191     1756802510.40556
#     h35193     1756802510.58551
#     h35203     1756802510.76562
#     h35205     1756802510.94554
#     h35208     1756802511.12553
#     h35211     1756802511.30554
#     h37003     1756802511.48595
#     h37007     1756802511.66582
#     h37008     1756802511.84547
#     h37014     1756801733.34588
#
setstate PV_WR_10K <table style="width:100%;; border:1">\
<tr>\
<td style="width:60%">Wechselrichter</td><td style="width:40%"><b>GW10KN-ET </b></td>\
</tr>\
<tr>\
<td style="width:60%">              </td><td  style="width:40%"><b>9010KETU232W0865</b></td>\
</tr>\
</table>\
<div style="color:black ;; text-align:left"><b>Leistung Zaehler: &nbsp &nbsp &nbsp &nbsp 2609 Watt </b>&nbsp &nbsp( - => Bezug  + => Einspeisung )</div>\
<div style="color:black ;; text-align:left"><b>Leistung Haus: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp  -1252 Watt </b></div>\
<div style="text-align:left"> &nbsp </div>\
<div style="text-align:left">Akku-Power: &nbsp &nbsp  3 Watt&nbsp &nbsp( - => Laden  + => Entladen)</div>\
<div style="text-align:left">Akku-Level: &nbsp &nbsp &nbsp  100 %</div>\
<div style="text-align:left">Akku-Status: &nbsp &nbsp Discharging</div>\
<div style="text-align:left">Akku-Temp: &nbsp &nbsp &nbsp 36 °C</div>\
<div style="text-align:left"> &nbsp </div>\
<div style="text-align:left">WR Temp: &nbsp &nbsp &nbsp &nbsp 51 °C</div>\
\
<div style="color:blue ;; text-align:left"><b>Tägliche Werte:</b></div>\
<div style="color:blue ;; text-align:left">==============================</div>\
<div style="color:black ;; text-align:left">Energie Verbrauch: &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp 1.9 kw/h</div>\
<div style="color:black ;; text-align:left">Energie Verbrauch gestern: &nbsp statE_Load_TotalDayLast kw/h</div>\
<div style="color:black ;; text-align:left">Energie Battery Entladung: &nbsp &nbsp 1.2 kw/h</div>\
<div style="color:black ;; text-align:left">Energie Battery Ladung: &nbsp &nbsp &nbsp &nbsp 3.6 kw/h</div>\
<div style="color:black ;; text-align:left">Energie PV Ertrag: &nbsp &nbsp &nbsp &nbsp &nbsp  &nbsp &nbsp &nbsp &nbsp 5.6 kw/h</div>\
<div style="color:black ;; text-align:left">Energie PV Ertrag gestern: &nbsp &nbsp  statE_PV_TotalDayLast kw/h</div>\
<div style="color:blue ;; text-align:left">==============================</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  792 Watt</div>\
<div style="text-align:left">PV Strang 1: &nbsp &nbsp  295.1 Volt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp 562 Watt</div>\
<div style="text-align:left">PV Strang 2: &nbsp &nbsp 293.4 Volt</div>\
<div style="text-align:left">PV Total DC: &nbsp  &nbsp 1354 Watt</div>\
<div style="text-align:left"> &nbsp </div>\
\
<div style="text-align:left">Akku-Health: &nbsp &nbsp  100 %</div>\
<div style="text-align:left"> &nbsp </div>\
<div style="color:green ;; text-align:left">Status: opened</div>\
<div style="text-align:left"> &nbsp </div>\

setstate PV_WR_10K 2025-09-01 16:26:23 AC_ActivePower 2609
setstate PV_WR_10K 2025-09-02 10:41:48 ARM_SVN_Version 60334
setstate PV_WR_10K 2025-09-02 10:41:48 ARM_Software_Version 31
setstate PV_WR_10K 2025-09-02 10:41:50 Akku_Mode Discharging
setstate PV_WR_10K 2025-09-02 10:41:51 AnzeigeTest 2146
setstate PV_WR_10K 2025-09-02 10:41:51 BMS_Pack_Temperature 36
setstate PV_WR_10K 2025-09-02 10:28:53 BMS_Software_Version 0
setstate PV_WR_10K 2025-09-02 10:41:48 DSP_SVN_Version 197
setstate PV_WR_10K 2025-09-02 10:41:49 DSP_Software_Version 12
setstate PV_WR_10K 2025-09-02 10:41:51 E_Battery_Charge_Day 3.6
setstate PV_WR_10K 2025-09-02 10:41:51 E_Battery_Discharge_Day 1.2
setstate PV_WR_10K 2025-09-02 10:41:50 E_Load_Day 1.9
setstate PV_WR_10K 2025-09-02 10:41:50 E_Load_Total 2055.4
setstate PV_WR_10K 2025-09-02 10:41:50 E_PV_Day 5.6
setstate PV_WR_10K 2025-09-02 10:41:50 E_PV_Total 7936.1
setstate PV_WR_10K 2025-09-02 10:41:50 Inverter_Temperature 51
setstate PV_WR_10K 2025-09-02 10:41:49 Modell GW10KN-ET
setstate PV_WR_10K 2025-09-01 15:50:08 PV_1_Power 792
setstate PV_WR_10K 2025-09-02 10:41:49 PV_1_Voltage 295.1
setstate PV_WR_10K 2025-09-01 16:17:03 PV_2_Power 562
setstate PV_WR_10K 2025-09-02 10:41:49 PV_2_Voltage 293.4
setstate PV_WR_10K 2025-09-01 16:17:03 PV_Total_Power 1354
setstate PV_WR_10K 2025-08-19 11:00:20 Power_Battery 3
setstate PV_WR_10K 2025-09-02 10:03:16 Power_House -1252
setstate PV_WR_10K 2025-09-02 10:41:48 Rated_Power 10000
setstate PV_WR_10K 2025-09-02 10:41:49 SNR 9010KETU232W0865
setstate PV_WR_10K 2025-09-02 10:41:51 SOC 100
setstate PV_WR_10K 2025-09-02 10:41:51 SOH 100
setstate PV_WR_10K 2025-09-01 15:50:02 Total_Inv_Power 1607
setstate PV_WR_10K 2025-09-02 10:28:48 state opened