Open bartpaeleman opened 1 year ago
See #311 the temp solution seems to be working.I will add in permanently in the update
Thanks @johanmeijer, I tried to do what was mentioned on that thread but it doesn’t seem to fly here. I also used the T06NNNNXMIN.json layout file to the examples/layout directory but it doesn’t work. I also used the trick to bond the example file into the app folder on the Docker container but still no luck.
Can you try the experimental ledidobe/grott:2.8.2 image (it is the first try with multiple architecture support). You can use ginvtype=min with that build. Without copying layout files.
Sure thing. Let me see if I can get that going right away.
Getting this in the log after installing that image:
- Growatt original Data:
\x00\x4b\x00\x06\x02\x41\x50\x04\x09\x33\x2c\x42\x20\x40\x46\x75\x30\x24\x77
\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
\x2e\x33\x2b\x44\x36\x76\x41\x5f\x45\x34\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\x75\x6a
\xcc\x78\x73\x72\x6e\x77\x61\x51\xdc\x47\x72\x6f\x77\x61\x74\x74\x47\x7b\xcf
\x77\x46\x74\x74\x62\xda\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
\x72\x6f\x77\x61\x74\x69\xdb\x72\x6f\x77\x61\x74\x74\x50\x9e\x7c\xf5\x68\x1e
\x74\x5d\x72\x6f\x60\x8e\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
\x61\x74\x74\x4e\x18\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
\x72\xeb\x65\x40\x5d\x15\x72\x6f\x77\x3e\x74\x75\x44\xc5\x6f\x76\x73\x4e\x74
\x47\x72\x6f\x77\x61\xfc\x3e\x47\x72\x6f\x18\x61\x74\xfd\xb7\x72\x6f\x77\x61
\x74\x74\x47\x72\x6f\x77\x61\x78\x74\x47\xfb\x07\x77\x61\x74\x75\x47\x72\x34
\x04\x61\x74\x74\xc7\x72\x6e\x30\xad\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
\x72\x00\x77\x61\x74\x74\xb8\x88\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x75
\x2e\x46\x28\x6f\x77\x61\x74\x75\xdc\x7d\xf0\x77\x61\x3a\x54\x47\x63\x6f\x77
\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6d\x81\x63\x82\x74\x32\x72
\x6f\x77\x61\x74\x74\x47\x4e\x6f\x77\x61\x74\x74\x46\x72\x6f\x77\x61\x74\x74
\x5a\xee\x6f\x77\x61\x01\x78\x72\x7e\xde\x77\x61\x74\x59\x47\x72\x2f\xfc\x61
\x74\x74\x60\x72\x6f\x4f\x8f\x74\x74\x47\x72\x6f\x77\x66\x76\x74\x46\x52\xc8
\x77\x61\x74\x07\x47\x72\xaa\x42\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\x53\x64\x47\x72\x60\xd2\x61\x74\x74\x47\x73\x6e\x77
\x61\x74\x74\x14\x6d\x6f\x7e\x61\x45\x7b\xe3\x75\x9a\x77\x67\x74\x72\x46\x6e
\x6f\x77\x61\x74\x74\x47\x72\x6f\x70\xbb\x74\x74\x07\xf9\x6f\x77\x59\x9a\x74
\x47\x72\x6c\x70\xce\x74\x5d\x47\x62\x6f\x77\x60\x77\x74\xaa\x72\x6d\x77\x71
\x74\x74\x47\x72\x6f\x76\x61\x74\x74\x75\x72\x5d\x77\x61\x74\x74\x47\x72\x6f
\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x76\x61\x74\x74\x47
\x72\x5e\x24\x55\x74\x0c\x46\xfd\x66\xb3\x68\xb0\x74\x47\x72\x0b\x2f\xa1\x3d
\xb4\x47\x72\x6f\x77\x49\xd4\x74\x47\x72\x6f\x7b\x94\x78\x85\x14\x4c\x6f\x77
\x61\x76\x74\x46\x72\x6f\x77\x61\x74\x74\x47\x73\x6f\x77\x61\x55\x74\xb1\x73
\xee\x79\x71\x74\x74\x47\x7b\x6f\x70\x61\x76\x74\x47\x37\xc8
- Grott automatic protocol detection
- Grott data record length 585
- layout : T065004XMIN
- no matching record layout found, try generic
- Record layout used : T06NNNNXMIN
- Growatt data decrypted V2
- Grott Growatt data decrypted
- Growatt plain data:
004b0006024150044e41433541343232424b00000000000000000000000000000000000000004
1444a304231333032550000000000000000000000000000000000000000000000000000020bb8
0c340001000025a8000000000000000009a00027000025a800000000000000000000000000000
00000001d9c00000000000017ec1382096a001a000017ef000000000000000000000000000000
00096a00000000000000000000000000001d9c043429520000005f000103b70001123a0000000
00000884a0000006f000089f000000000000000000000000c000089680000000100005b730000
0080000147cc00000000000000000000006f00000000fffa00000000000000000000015a015a0
0000000019b0f9f00004e200011000000000000000000000000000002f602f600750000000000
00003c0000000000010000000000001d9c000000750c350cb10000002d0000408b00000027000
038ee0000000000000702000120a7000000730000c53500000000000000000000000000000000
0000000000000000000000000000000000000000271000000fa500000000010100000000531f0
00900310fa407f500060006011c000000000000000007da0000408b000038ee0000000307af00
2900100000010300ed00020010000000000001000000320032000000000000000000000000000
0000000000000000100000000003153340078018f09c409c40000006458c049c00000000028a0
000000000cf50cf1533e00000002000100000000000000010000002100f601810e10000000090
0070002000045a7
- Growatt new layout processing
- decrypt : True
- offset : 6
- record layout : T06NNNNXMIN
- Grott data record date/time processing started
- no or no valid time/date found, grott server time will be used (buffer records not sent!)
- Grott values retrieved:
- pvserial : ADJ0B000000
- pvstatus : 1
- pvpowerin : 964.0
- pv1voltage : 0.0
- pv1current : 0.0
- pv1watt : 0.0
- pv2voltage : 246.4
- pv2current : 3.9
- pv2watt : 964.0
- pv3voltage : 0.0
- pv3current : 0.0
- pv3watt : 0.0
- pv4voltage : 0.0
- pv4current : 0.0
- pv4watt : 0.0
- pvpowerout : 612.4
- pvfrequentie : 49.9
- pvgridvoltage : 241.0
- pvgridcurrent : 2.6
- pvgridpower : 612.7
- pvgridvoltage2 : 0.0
- pvgridcurrent2 : 0.0
- pvgridpower2 : 0.0
- pvgridvoltage3 : 0.0
- pvgridcurrent3 : 0.0
- pvgridpower3 : 0.0
- vacrs : 241.0
- vacst : 0.0
- vactr : 0.0
- ptousertotal : 0.0
- ptogridtotal : 0.0
- ptoloadtotal : 758.0
- totworktime : 9795.5
- pvenergytoday : 9.5
- pvenergytotal : 6648.7
- epvtotal : 7020.2
- epv1today : 0.0
- epv1total : 3489.0
- epv2today : 11.1
- epv2total : 3531.2
- epv3today : 0.0
- epv3total : 0.0
- etousertoday : 1.2
- etousertotal : 3517.6
- etogridtoday : 0.1
- etogridtotal : 2341.1
- eloadtoday : 12.8
- eloadtotal : 8391.6
- deratingmode : 0
- iso : 65530
- dcir : 0.0
- dcis : 0.0
- dcit : 0.0
- gfci : 0
- pvtemperature : 34.6
- pvipmtemperature : 34.6
- temp3 : 0.0
- temp4 : 0.0
- temp5 : 41.1
- pbusvoltage : 399.9
- nbusvoltage : 0.0
- ipf : 20000
- realoppercent : 17
- opfullwatt : 0.0
- standbyflag : 0
- faultcode : 0
- warningcode : 0
- systemfaultword0 : 0
- systemfaultword1 : 0
- systemfaultword2 : 758
- systemfaultword3 : 758
- systemfaultword4 : 117
- systemfaultword5 : 0
- systemfaultword6 : 0
- systemfaultword7 : 0
- invstartdelaytime : 60
- bdconoffstate : 1
- drycontactstate : 0
- edischrtoday : 4.5
- edischrtotal : 1652.3
- echrtoday : 3.9
- echrtotal : 1457.4
- eacchrtoday : 0.0
- eacchrtotal : 179.4
- priority : 0
- epsfac : 0.0
- epsvac1 : 0.0
- epsiac1 : 0.0
- epspac1 : 0.0
- epsvac2 : 0.0
- epsiac2 : 0.0
- epspac2 : 0.0
- epsvac3 : 0.0
- epsiac3 : 0.0
- epspac3 : 0.0
- epspac : 0.0
- loadpercent : 0.0
- pf : 1000.0
- dcv : 0
- bdc1_sysstatemode : 257
- bdc1_faultcode : 0
- bdc1_warncode : 0
- bdc1_vbat : 212.8
- bdc1_ibat : 0.9
- bdc1_soc : 49
- bdc1_vbus1 : 400.4
- bdc1_vbus2 : 203.7
- bdc1_ibb : 0.6
- bdc1_illc : 0.6
- bdc1_tempa : 28.4
- bdc1_tempb : 0.0
- bdc1_pdischr : 0.0
- bdc1_pchr : 201.0
- bdc1_edischrtotal : 1652.3
- bdc1_echrtotal : 1457.4
- bdc1_flag : 3
- bdc2_sysstatemode : 41
- bdc2_faultcode : 16
- bdc2_warncode : 0
- bdc2_vbat : 2.6
- bdc2_ibat : 23.7
- bdc2_soc : 2
- bdc2_vbus1 : 1.6
- bdc2_vbus2 : 0.0
- bdc2_ibb : 0.0
- bdc2_illc : 0.1
- bdc2_tempa : 0.0
- bdc2_tempb : 5.0
- bdc2_pdischr : 327680.0
- bdc2_pchr : 0.0
- bdc2_edischrtotal : 0.0
- bdc2_echrtotal : 0.0
- bdc2_flag : 0
- bms_status : 1
- bms_error : 0
- bms_warninfo : 0
- bms_soc : 49
- bms_batteryvolt : 213.0
- bms_batterycurr : 1.2
- bms_batterytemp : 39.9
- bms_maxcurr : 25.0
- bms_deltavolt : 25.0
- bms_cyclecnt : 0
- bms_soh : 100
- bms_constantvolt : 227.2
- bms_bms_info : 18880
- bms_packinfo : 0
- bms_usingcap : 0
- bms_fw : 10400
- bms_mcuversion : 0
- bms_commtype : 0
- MQTT jsonmsg:
{"device": "ADJ0B00000", "time": "2023-05-29T16:48:20", "buffered": "no",
"values": {"pvserial": "ADJ0B00000", "pvstatus": 1, "pvpowerin": 9640,
"pv1voltage": 0, "pv1current": 0, "pv1watt": 0, "pv2voltage": 2464,
"pv2current": 39, "pv2watt": 9640, "pv3voltage": 0, "pv3current": 0,
"pv3watt": 0, "pv4voltage": 0, "pv4current": 0, "pv4watt": 0, "pvpowerout":
6124, "pvfrequentie": 4994, "pvgridvoltage": 2410, "pvgridcurrent": 26,
"pvgridpower": 6127, "pvgridvoltage2": 0, "pvgridcurrent2": 0,
"pvgridpower2": 0, "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3":
0, "vacrs": 2410, "vacst": 0, "vactr": 0, "ptousertotal": 0, "ptogridtotal":
0, "ptoloadtotal": 7580, "totworktime": 70527314, "pvenergytoday": 95,
"pvenergytotal": 66487, "epvtotal ": 70202, "epv1today ": 0, "epv1total":
34890, "epv2today": 111, "epv2total": 35312, "epv3today": 0, "epv3total": 0,
"etousertoday": 12, "etousertotal": 35176, "etogridtoday": 1,
"etogridtotal": 23411, "eloadtoday": 128, "eloadtotal": 83916,
"deratingmode": 0, "iso": 65530, "dcir": 0, "dcis": 0, "dcit": 0, "gfci": 0,
"pvtemperature": 346, "pvipmtemperature": 346, "temp3": 0, "temp4": 0,
"temp5": 411, "pbusvoltage": 3999, "nbusvoltage": 0, "ipf": 20000,
"realoppercent": 17, "opfullwatt": 0, "standbyflag": 0, "faultcode": 0,
"warningcode": 0, "systemfaultword0": 0, "systemfaultword1": 0,
"systemfaultword2": 758, "systemfaultword3": 758, "systemfaultword4": 117,
"systemfaultword5": 0, "systemfaultword6": 0, "systemfaultword7": 0,
"invstartdelaytime": 60, "bdconoffstate": 1, "drycontactstate": 0,
"edischrtoday": 45, "edischrtotal": 16523, "echrtoday": 39, "echrtotal":
14574, "eacchrtoday": 0, "eacchrtotal": 1794, "priority": 0, "epsfac": 0,
"epsvac1": 0, "epsiac1": 0, "epspac1": 0, "epsvac2": 0, "epsiac2": 0,
"epspac2": 0, "epsvac3": 0, "epsiac3": 0, "epspac3": 0, "epspac": 0,
"loadpercent": 0, "pf": 10000, "dcv": 0, "bdc1_sysstatemode": 257,
"bdc1_faultcode": 0, "bdc1_warncode": 0, "bdc1_vbat": 21279, "bdc1_ibat": 9,
"bdc1_soc": 49, "bdc1_vbus1": 4004, "bdc1_vbus2": 2037, "bdc1_ibb": 6,
"bdc1_illc": 6, "bdc1_tempa": 284, "bdc1_tempb": 0, "bdc1_pdischr": 0,
"bdc1_pchr": 2010, "bdc1_edischrtotal": 16523, "bdc1_echrtotal": 14574,
"bdc1_flag": 3, "bdc2_sysstatemode": 41, "bdc2_faultcode": 16,
"bdc2_warncode": 0, "bdc2_vbat": 259, "bdc2_ibat": 237, "bdc2_soc": 2,
"bdc2_vbus1": 16, "bdc2_vbus2": 0, "bdc2_ibb": 0, "bdc2_illc": 1,
"bdc2_tempa": 0, "bdc2_tempb": 50, "bdc2_pdischr": 3276800, "bdc2_pchr": 0,
"bdc2_edischrtotal": 0, "bdc2_echrtotal": 0, "bdc2_flag": 0, "bms_status":
1, "bms_error": 0, "bms_warninfo": 0, "bms_soc": 49, "bms_batteryvolt":
21300, "bms_batterycurr": 120, "bms_batterytemp": 399, "bms_maxcurr": 2500,
"bms_deltavolt": 2500, "bms_cyclecnt": 0, "bms_soh": 100,
"bms_constantvolt": 22720, "bms_bms_info": 18880, "bms_packinfo": 0,
"bms_usingcap": 0, "bms_fw": 10400, "bms_mcuversion": 0, "bms_commtype": 0}}
- Grott MQTT topic used : energy/growatt
- MQTT message message sent
- Grott Send data to PVOutput disabled
- Grott Send data to Influx disabled
- Grott extension processing disabled
- Growatt packet received:
<socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.0.220', 5279), raddr=('192.168.0.105', 1029)>
- Data less then minimum record length, data not processed
- Growatt packet received:
<socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.0.220', 49214), raddr=('47.91.67.66', 5279)>
- Growatt original Data:
\x00\x4c\x00\x06\x00\xe6\x50\x20\x09\x33\x2c\x42\x20\x40\x46\x75\x30\x24\x77
\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
\x2e\x33\x2b\x44\x36\x76\x41\x5f\x45\x34\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\xc1
\x74\x74\x47\xf6\x6f\x77\x68\x0f\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
\x6a\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\xf8\x6f\x77\x61\x74\x74\x47
\x72\x6f\x77\x61\x6d\xc1\x47\x72\x6f\x77\x61\x74\x74\x47\x8d\x90\x91\x38\x74
\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x2f\x77\x61\x74\x74\x47\x72\x6f\x77
\x61\x74\x74\xcd\x72\x6f\x6e\xd4\x8b\x8b\xa1\x2b\x6f\x77\x61\x34\x74\x47\x73
\x9c\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\xa3\x97\x74\x74
\x1a\xf2\x6f\x77\x61\x74\x74\x46\x46\xb2\x77\x61\x74\x74\x47\x73\x5d\x01\x61
\x75\x40\x99\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
\x77\x61\x74\x74\x47\x72\x6f\x77\xed\x7b
- Grott automatic protocol detection
- Grott data record length 238
- layout : T065020
- no matching record layout found, try generic
- Record layout used : T065020
- Growatt data decrypted V2
- Grott Growatt data decrypted
- Growatt plain data:
004c000600e650204e41433541343232424b00000000000000000000000000000000000000004
1444a30423133303255000000000000000000000000000000000000000000000000000000a000
0000840000097b00000000000000000000001d00000000000000000000008a000000000000000
0000019b50000000000000000ffffe65900000000000000000000004000000000000000000000
008a000019b5ffffe65900000040000001f30000000000000000000000000000d4f600005d800
0000000000134dd0000000000013276000134de00000000000000000000000000000000000000
00000000008c0f
- Grott data ack record or data record not defined no processing done
Oké the inverter seems to be handled OK. The smart meter not yet (t065020) not yet. Which wifi device you use (shinelink)?
I have an RF stick in the inverter and a Shinelink Lanbox (Growatt Shinelink/-X) plugged into my router.
@johanmeijer could it be that the values are not always correct? I see the following coming on from Grott specificall the battery state of charge (bms_soc):
- bms_warninfo : 0
- bms_soc : 53
- bms_batteryvolt : 214.6
- bms_batterycurr : 4.7
- bms_batterytemp : 41.5
- bms_maxcurr : 25.0:
The actual value on the Growatt page show this (which I believe to be true):
My HA sensors show this up ad down jumping behaviour accross the timeline:
Is this something I did wrong on my end or is it an issue in Grott?
I am not sure. If we want to know if this is a Grott issue or sent by the inverter we need the log to look deeper into it.
Would that be the Docker log Johan? Here’s a part of that (10,000 lines): https://we.tl/t-cgmcNP6LrM
It seems to occur on multiple values that are also in my home assistant setup as sensors.
I think my problem is similar to the existing case #311. My Growatt config is defined as follows: INVERTER: 3600TL-XH (ShineLan + ShineRF) BATTERIES: Growatt ARK 10.2H (LiFePO4) PVSerial (anonimized): ADJ0B00000
Grott, MQTT and Home Assistant containers running on Docker, there is communication established (can see the messages come in).
I defined the inverter in my Grott ini as an sph-type (tried the others too) and can’t seem to get the values correctly interpreted. Also tried the above configuration template but that doesn’t work since my system seems to look for different template files.
Is there anything I can do to get this working or do I give up?
Excerpt from my GROTT Log:
Originally posted by @bartpaeleman in https://github.com/johanmeijer/grott/discussions/311#discussioncomment-6029077