johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
375 stars 103 forks source link

SPH wrong Generated energy (Today) #484

Open GeraldPape opened 7 months ago

GeraldPape commented 7 months ago

Hi,

grafik

but: grafik

also grotwatt web app shows the sum ov pv1+pv2 as 3,6kWh grafik

 - Growatt original Data:
         \x00\xc8\x00\x06\x02\x41\x01\x36\x1f\x35\x2b\x41\x22\x3e\x3c\x77\x28\x3a\x77
         \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
         \x3b\x39\x2b\x40\x37\x00\x33\x5f\x43\x2f\x74\x74\x47\x72\x6f\x77\x61\x74\x74
         \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x76\x7f\x79\x56\x72\x6b\x75\x18
         \x6c\x0d\xd3\x72\x69\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
         \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
         \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
         \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
         \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
         \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
         \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
         \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
         \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
         \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
         \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x8b\x8b\xbe\xad\x90\x88
         \x9e\x23\x74\x47\x61\xe8\x67\x66\x7b\xac\x48\xb8\x6f\x70\x61\x73\x74\x41\x72
         \x6f\x67\xad\x75\x36\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
         \x47\x72\x6f\x77\x61\x74\x0d\xd2\x08\x7e\x77\x61\x74\x74\x47\x72\x6f\x77\x61
         \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
         \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
         \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
         \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
         \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
         \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
         \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
         \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x76\x47\x72\x7d
         \x13\x61\x74\x74\x47\x72\x6f\x65\x3c\x74\x74\x8e\x05\x6f\x77\xa8\x03\x7c\x48
         \x72\x6f\x77\x61\x74\x7f\x47\x16\x6f\x77\x61\x45\x74\x47\x72\x5e\x76\x44\x74
         \xaf\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
         \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
         \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x19\xa9
     - Grott automatic protocol detection
     - Grott data record length 585
     - layout   :  T060136XSPH
     - no matching record layout found, try generic
     - Record layout used :  T060136XSPH
     - Growatt data decrypted V2
     - Grott Growatt data decrypted
     - Growatt plain data:
     - 
         00c800060241013658474436434a48305a5500000000000000000000000000000000000000005
         44e4a3443474130344e0000000000000000000000000000000000000000170b0d110004027918
         79940006000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         0000000000000000000fffff9dfffffff570000138710070fd80fca000700070006000010cc01
         42000000000000000000000000000000000000000079957a11000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         00000000000000000000000000000000000000000000000000000000020000126400000000000
         0125d0000c9770000c977080f00000000000b00640000003100000031012500db000000000000
         00000000000000000000000000000000000000000000000000000000000000000000000000000
         000000000006bc6
     - Grott data ack record or data record not defined no processing done

 -  pvenergytoday        :  8.1
         -  eactotal             :  1424.9
         -  epvtotal             :  1499.0
         -  epv1today            :  1.4
         -  epv1total            :  537.0
         -  epv2today            :  2.2
         -  epv2total            :  962.0

- MQTT jsonmsg: 
             {"device": "**removed**", "time": "2023-11-13T17:03:24", "buffered": "no",
             "values": {"datalogserial": "**removed**", "pvserial": "**removed**",
             "recortype1": 0, "recortype2": 124, "pvstatus": 6, "pvpowerin": 0,
             "pv1voltage": 0, "pv1current": 0, "pv1watt": 0, "pv2voltage": 0,
             "pv2current": 0, "pv2watt": 0, "pvpowerout": 0, "pvfrequentie": 5001,
             "pvgridvoltage": 4067, "pvgridcurrent": 7, "pvgridpower": 4455,
             "pvgridvoltage2": 4100, "pvgridcurrent2": 6, "pvgridpower2": 0,
             "pvgridvoltage3": 4040, "pvgridcurrent3": 6, "pvgridpower3": 0,
             "totworktime": 11755417, "eactoday": 81, "pvenergytoday": 81, "eactotal":
             14249, "epvtotal": 14990, "epv1today": 14, "epv1total": 5370, "epv2today":
             22, "epv2total": 9620, "pvtemperature": 322, "pvipmtemperature": 314,
             "pvboosttemp": 313, "bat_dsp": 2058, "pbusvolt": 7221, "#nbusvolt": 0,
             "#ipf": 0, "#realoppercent": 0, "#opfullwatt": 0, "#deratingmode": 0,
             "eacharge_today": 15, "eacharge_total": 1082, "batterytype": 1,
             "uwsysworkmode": 6, "systemfaultword0": 0, "systemfaultword1": 0,
             "systemfaultword2": 0, "systemfaultword3": 0, "systemfaultword4": 32,
             "systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 2048,
             "pdischarge1": 0, "p1charge1": 0, "vbat": 2063, "SOC": 11, "pactouserr":
             2700, "#pactousers": 18153472, "#pactousert": 0, "pactousertot": 2700,
             "pactogridr": 0, "#pactogrids": 14155718, "#pactogridt": 4292608000,
             "pactogridtot": 0, "plocaloadr": 2700, "#plocaloads": 65474, "#plocaloadt":
             4291231708, "plocaloadtot": 2700, "#ipm": 0, "#battemp": 219, "spdspstatus":
             6, "spbusvolt": 7189, "etouser_tod": 86, "etouser_tot": 20331,
             "etogrid_tod": 0, "etogrid_tot": 24318, "edischarge1_tod": 0,
             "edischarge1_tot": 4701, "eharge1_tod": 2, "eharge1_tot": 4708,
             "elocalload_tod": 121, "elocalload_tot": 31703}}
     - Grott MQTT topic used : energy/growatt

InverterType is set to sph

johanmeijer commented 7 months ago

Can you send me a datarecord where the T060104XSPH layout is used? T060136XSPH is not a normal data record.