muppet3000 / homeassistant-grott

Home Assistant Integration for Grott - MQTT
MIT License
65 stars 14 forks source link

No data PV2, only PV1 - values not correct #72

Open Cercaj opened 7 months ago

Cercaj commented 7 months ago

Hi, there,

My Grott is not getting PV2 information, only PV1 and total value energy is different from Growatt any ideas?

My home assistant is installed in a Debian SO. My Device Type: ShineWiFi-X Device: AK1.0/AKAA1601/ZAAA-0014/S19B00D00T00P0EU00M003C MTTQ server and Grott are running as docker machines.

Does anyone know what I did wrong?

grott1 grott2 grott3

muppet3000 commented 7 months ago

If the Grott logs aren't showing the correct values then the issue is with Grott rather than this integration I recommend logging a ticket over in the main Grott repo and seeing if the developer of Grott can help you there. Feel free to link the two tickets together so I can assist when you get a resolution.

PianSom commented 5 months ago

I am having a similar problem - but with PV1 not generating the sensor sensor.growatt_pv1_energy_today (the sensor for pv2 is working fine).

Grott is showing the data to MQTT, as I can see it in the json.

This integration is picking up the data from MQTT, as I can see it in the logs.

But HA does not have the entity. How can I regenerate the entities, please? (A restart of HA or the Grott docker container doesn't do it. Neither does a re-download of the integration.) Using v1.1.0

muppet3000 commented 5 months ago

@PianSom that's really weird, please can you post a copy of your grott logs so that I can see what values the sensor should be? If possible could you post a copy of your logs from Home Assistant as well as you say you're seeing it get the value there as well, it would be nice to be able to try and pinpoint where the issue is happening.

PianSom commented 5 months ago

@muppet3000
Thanks for looking.

Grott log below, at the bottom of the post. Today has just started, so totals for today are still low. But you can see epv1today and epv2today are being generated. (I believe these are the correct sensors picked up by HA - the values seem to match for pv2.) These do show up on MQTT, as I said (screenshot from MQTT Explorer showing an excerpt from the json attached)>

On my HA dashboard I am seeing the attached screenshot (not contemporaneous with the log file). Note the missing sensor - which obviously did exist previously when I created the dashboard. And note that PV2 is showing up ok.

Bit hard to show logs from HA with an absence of action! But somehow I need to do a discovery of the PV1 sensor.

Screenshot 2024-01-30 at 09 27 32

Screenshot 2024-01-30 at 09 30 40

Grott log - sorry about the layout

``` 30/01/2024 09:25:36 30/01/2024 09:25:36 - Growatt packet received: 30/01/2024 09:25:36 30/01/2024 09:25:36 - Growatt command block checking started 30/01/2024 09:25:36 - Growatt original Data: 30/01/2024 09:25:36 \x00\x92\x00\x06\x02\x41\x01\x04\x00\x22\x28\x47\x25\x36\x3e\x77\x42\x27\x77 30/01/2024 09:25:36 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72 30/01/2024 09:25:36 \x38\x27\x2a\x40\x37\x0d\x38\x5f\x46\x57\x74\x74\x47\x72\x6f\x77\x61\x74\x74 30/01/2024 09:25:36 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x75\x6a 30/01/2024 09:25:36 \xcc\x78\x73\x72\x6e\x77\x61\x72\xfd\x4b\xfe\x6f\x75\x61\x74\x77\x20\x7f\x3a 30/01/2024 09:25:36 \x77\x63\x74\x74\x44\x50\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47 30/01/2024 09:25:36 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x41\x18\x7c\xf7\x68\x22 30/01/2024 09:25:36 \x74\x40\x72\x6f\x71\x13\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77 30/01/2024 09:25:36 \x61\x74\x74\x4e\x24\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72 30/01/2024 09:25:36 \x6f\x77\x61\xfd\xfd\x26\x72\x6f\x77\x60\x74\x74\x7b\x14\x6f\x77\x5d\x92\x74 30/01/2024 09:25:36 \x47\x72\x6f\x77\x61\x6a\x5f\x47\x72\x6f\x77\x61\x74\x6a\xfc\x72\x6f\x77\x61 30/01/2024 09:25:36 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f 30/01/2024 09:25:36 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47 30/01/2024 09:25:36 \x72\x6f\x77\x61\x74\x74\x4b\x75\x6f\x27\x61\x74\x74\x47\x72\x39\x77\x61\x75 30/01/2024 09:25:36 \x6d\x47\x72\x6f\x77\x61\x74\x75\x24\x7c\x00\x77\x61\x3a\x54\x47\x70\x6f\x77 30/01/2024 09:25:36 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72 30/01/2024 09:25:36 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74 30/01/2024 09:25:36 \x47\x72\x6f\x77\x61\x74\x78\x72\x7e\xde\x77\x61\x74\x74\x47\x72\x6f\x77\x61 30/01/2024 09:25:36 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f 30/01/2024 09:25:36 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47 30/01/2024 09:25:36 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74 30/01/2024 09:25:36 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77 30/01/2024 09:25:36 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72 30/01/2024 09:25:36 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74 30/01/2024 09:25:36 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61 30/01/2024 09:25:36 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f 30/01/2024 09:25:36 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47 30/01/2024 09:25:36 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74 30/01/2024 09:25:36 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77 30/01/2024 09:25:36 \x61\xa4\x74\x2f\x72\x6f\x7b\xbe\x7a\x0d\x4a\x15\x6f\x77\x60\x14\x74\x47\x72 30/01/2024 09:25:36 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\xa0\xc0 30/01/2024 09:25:36 - Grott automatic protocol detection 30/01/2024 09:25:36 - Grott data record length 585 30/01/2024 09:25:36 - layout : T060104XMIN 30/01/2024 09:25:36 - no matching record layout found, try generic 30/01/2024 09:25:36 - Record layout used : T06NNNNXMIN 30/01/2024 09:25:36 - Growatt data decrypted V2 30/01/2024 09:25:36 - Grott Growatt data decrypted 30/01/2024 09:25:36 - Growatt plain data: 30/01/2024 09:25:36 00920006024101044750473044424a30304800000000000000000000000000000000000000005 30/01/2024 09:25:36 7504b34434a4a3031360000000000000000000000000000000000000000000000000000020bb8 30/01/2024 09:25:36 0c340001000006890c8c0002000003670d5500020000032200000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000066a13800956000700000672000000000000000000000000000000 30/01/2024 09:25:36 00095600000000000000000000000000000000008989610000000100003c6600003ce60000000 30/01/2024 09:25:36 000001e2b0000000000001ebb0000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 000000000000000000000000000000000000000000000c0700500000000000560000011900000 30/01/2024 09:25:36 000000001630e6f00004e20000200000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 0000000000000000000000000000000000000000000c350cb1000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000000000000000000000000000000000000000000000000000000 30/01/2024 09:25:36 00000000000000000000000000d0006800000cdf0e790d6700000160000000000000000000000 30/01/2024 09:25:36 00000000000d2af 30/01/2024 09:25:36 - Growatt new layout processing 30/01/2024 09:25:36 - decrypt : True 30/01/2024 09:25:36 - offset : 6 30/01/2024 09:25:36 - record layout : T06NNNNXMIN 30/01/2024 09:25:36 30/01/2024 09:25:36 - Grott data record date/time processing started 30/01/2024 09:25:36 - no or no valid time/date found, grott server time will be used (buffer records not sent!) 30/01/2024 09:25:36 - Grott values retrieved: 30/01/2024 09:25:36 - pvserial : WPK4CJJ016 30/01/2024 09:25:36 - pvstatus : 1 30/01/2024 09:25:36 - pvpowerin : 167.3 30/01/2024 09:25:36 - pv1voltage : 321.2 30/01/2024 09:25:36 - pv1current : 0.2 30/01/2024 09:25:36 - pv1watt : 87.1 30/01/2024 09:25:36 - pv2voltage : 341.3 30/01/2024 09:25:36 - pv2current : 0.2 30/01/2024 09:25:36 - pv2watt : 80.2 30/01/2024 09:25:36 - pv3voltage : 0.0 30/01/2024 09:25:36 - pv3current : 0.0 30/01/2024 09:25:36 - pv3watt : 0.0 30/01/2024 09:25:36 - pv4voltage : 0.0 30/01/2024 09:25:36 - pv4current : 0.0 30/01/2024 09:25:36 - pv4watt : 0.0 30/01/2024 09:25:36 - pvpowerout : 164.2 30/01/2024 09:25:36 - pvfrequentie : 49.9 30/01/2024 09:25:36 - pvgridvoltage : 239.0 30/01/2024 09:25:36 - pvgridcurrent : 0.7 30/01/2024 09:25:36 - pvgridpower : 165.0 30/01/2024 09:25:36 - pvgridvoltage2 : 0.0 30/01/2024 09:25:36 - pvgridcurrent2 : 0.0 30/01/2024 09:25:36 - pvgridpower2 : 0.0 30/01/2024 09:25:36 - pvgridvoltage3 : 0.0 30/01/2024 09:25:36 - pvgridcurrent3 : 0.0 30/01/2024 09:25:36 - pvgridpower3 : 0.0 30/01/2024 09:25:36 - vacrs : 239.0 30/01/2024 09:25:36 - vacst : 0.0 30/01/2024 09:25:36 - vactr : 0.0 30/01/2024 09:25:36 - ptousertotal : 0.0 30/01/2024 09:25:36 - ptogridtotal : 0.0 30/01/2024 09:25:36 - ptoloadtotal : 0.0 30/01/2024 09:25:36 - totworktime : 1251.9 30/01/2024 09:25:36 - pvenergytoday : 0.1 30/01/2024 09:25:36 - pvenergytotal : 1546.2 30/01/2024 09:25:36 - epvtotal : 1559.0 30/01/2024 09:25:36 - epv1today : 0.0 30/01/2024 09:25:36 - epv1total : 772.3 30/01/2024 09:25:36 - epv2today : 0.0 30/01/2024 09:25:36 - epv2total : 786.7 30/01/2024 09:25:36 - epv3today : 0.0 30/01/2024 09:25:36 - epv3total : 0.0 30/01/2024 09:25:36 - etousertoday : 0.0 30/01/2024 09:25:36 - etousertotal : 0.0 30/01/2024 09:25:36 - etogridtoday : 0.0 30/01/2024 09:25:36 - etogridtotal : 0.0 30/01/2024 09:25:36 - eloadtoday : 0.0 30/01/2024 09:25:36 - eloadtotal : 0.0 30/01/2024 09:25:36 - deratingmode : 0 30/01/2024 09:25:36 - iso : 3079 30/01/2024 09:25:36 - dcir : 8.0 30/01/2024 09:25:36 - dcis : 0.0 30/01/2024 09:25:36 - dcit : 0.0 30/01/2024 09:25:36 - gfci : 5636096 30/01/2024 09:25:36 - pvtemperature : 28.1 30/01/2024 09:25:36 - pvipmtemperature : 0.0 30/01/2024 09:25:36 - temp3 : 0.0 30/01/2024 09:25:36 - temp4 : 0.0 30/01/2024 09:25:36 - temp5 : 35.5 30/01/2024 09:25:36 - pbusvoltage : 369.5 30/01/2024 09:25:36 - nbusvoltage : 0.0 30/01/2024 09:25:36 - ipf : 20000 30/01/2024 09:25:36 - realoppercent : 2 30/01/2024 09:25:36 - opfullwatt : 0.0 30/01/2024 09:25:36 - standbyflag : 0 30/01/2024 09:25:36 - faultcode : 0 30/01/2024 09:25:36 - warningcode : 0 30/01/2024 09:25:36 - systemfaultword0 : 0 30/01/2024 09:25:36 - systemfaultword1 : 0 30/01/2024 09:25:36 - systemfaultword2 : 0 30/01/2024 09:25:36 - systemfaultword3 : 0 30/01/2024 09:25:36 - systemfaultword4 : 0 30/01/2024 09:25:36 - systemfaultword5 : 0 30/01/2024 09:25:36 - systemfaultword6 : 0 30/01/2024 09:25:36 - systemfaultword7 : 0 30/01/2024 09:25:36 - invstartdelaytime : 0 30/01/2024 09:25:36 - bdconoffstate : 0 30/01/2024 09:25:36 - drycontactstate : 0 30/01/2024 09:25:36 - edischrtoday : 0.0 30/01/2024 09:25:36 - edischrtotal : 0.0 30/01/2024 09:25:36 - echrtoday : 0.0 30/01/2024 09:25:36 - echrtotal : 0.0 30/01/2024 09:25:36 - eacchrtoday : 0.0 30/01/2024 09:25:36 - eacchrtotal : 0.0 30/01/2024 09:25:36 - priority : 0 30/01/2024 09:25:36 - epsfac : 0.0 30/01/2024 09:25:36 - epsvac1 : 0.0 30/01/2024 09:25:36 - epsiac1 : 0.0 30/01/2024 09:25:36 - epspac1 : 0.0 30/01/2024 09:25:36 - epsvac2 : 0.0 30/01/2024 09:25:36 - epsiac2 : 0.0 30/01/2024 09:25:36 - epspac2 : 0.0 30/01/2024 09:25:36 - epsvac3 : 0.0 30/01/2024 09:25:36 - epsiac3 : 0.0 30/01/2024 09:25:36 - epspac3 : 0.0 30/01/2024 09:25:36 - epspac : 0.0 30/01/2024 09:25:36 - loadpercent : 0.0 30/01/2024 09:25:36 - pf : 0.0 30/01/2024 09:25:36 - dcv : 0 30/01/2024 09:25:36 - bdc1_sysstatemode : 0 30/01/2024 09:25:36 - bdc1_faultcode : 0 30/01/2024 09:25:36 - bdc1_warncode : 0 30/01/2024 09:25:36 - bdc1_vbat : 0.0 30/01/2024 09:25:36 - bdc1_ibat : 0.0 30/01/2024 09:25:36 - bdc1_soc : 0 30/01/2024 09:25:36 - bdc1_vbus1 : 0.0 30/01/2024 09:25:36 - bdc1_vbus2 : 0.0 30/01/2024 09:25:36 - bdc1_ibb : 0.0 30/01/2024 09:25:36 - bdc1_illc : 0.0 30/01/2024 09:25:36 - bdc1_tempa : 0.0 30/01/2024 09:25:36 - bdc1_tempb : 0.0 30/01/2024 09:25:36 - bdc1_pdischr : 0.0 30/01/2024 09:25:36 - bdc1_pchr : 0.0 30/01/2024 09:25:36 - bdc1_edischrtotal : 0.0 30/01/2024 09:25:36 - bdc1_echrtotal : 0.0 30/01/2024 09:25:36 - bdc1_flag : 0 30/01/2024 09:25:36 - bdc2_sysstatemode : 0 30/01/2024 09:25:36 - bdc2_faultcode : 0 30/01/2024 09:25:36 - bdc2_warncode : 0 30/01/2024 09:25:36 - bdc2_vbat : 0.0 30/01/2024 09:25:36 - bdc2_ibat : 0.0 30/01/2024 09:25:36 - bdc2_soc : 0 30/01/2024 09:25:36 - bdc2_vbus1 : 0.0 30/01/2024 09:25:36 - bdc2_vbus2 : 0.0 30/01/2024 09:25:36 - bdc2_ibb : 0.0 30/01/2024 09:25:36 - bdc2_illc : 0.0 30/01/2024 09:25:36 - bdc2_tempa : 0.0 30/01/2024 09:25:36 - bdc2_tempb : 0.0 30/01/2024 09:25:36 - bdc2_pdischr : 0.0 30/01/2024 09:25:36 - bdc2_pchr : 0.0 30/01/2024 09:25:36 - bdc2_edischrtotal : 0.0 30/01/2024 09:25:36 - bdc2_echrtotal : 0.0 30/01/2024 09:25:36 - bdc2_flag : 0 30/01/2024 09:25:36 - bms_status : 0 30/01/2024 09:25:36 - bms_error : 0 30/01/2024 09:25:36 - bms_warninfo : 0 30/01/2024 09:25:36 - bms_soc : 0 30/01/2024 09:25:36 - bms_batteryvolt : 0.0 30/01/2024 09:25:36 - bms_batterycurr : 0.0 30/01/2024 09:25:36 - bms_batterytemp : 0.0 30/01/2024 09:25:36 - bms_maxcurr : 0.0 30/01/2024 09:25:36 - bms_deltavolt : 0.0 30/01/2024 09:25:36 - bms_cyclecnt : 0 30/01/2024 09:25:36 - bms_soh : 0 30/01/2024 09:25:36 - bms_constantvolt : 0.0 30/01/2024 09:25:36 - bms_bms_info : 0 30/01/2024 09:25:36 - bms_packinfo : 0 30/01/2024 09:25:36 - bms_usingcap : 0 30/01/2024 09:25:36 - bms_fw : 0 30/01/2024 09:25:36 - bms_mcuversion : 0 30/01/2024 09:25:36 - bms_commtype : 0 30/01/2024 09:25:36 - MQTT jsonmsg: 30/01/2024 09:25:36 {"device": "WPK4CJJ016", "time": "2024-01-30T09:25:36", "buffered": "no", 30/01/2024 09:25:36 "values": {"pvserial": "WPK4CJJ016", "pvstatus": 1, "pvpowerin": 1673, 30/01/2024 09:25:36 "pv1voltage": 3212, "pv1current": 2, "pv1watt": 871, "pv2voltage": 3413, 30/01/2024 09:25:36 "pv2current": 2, "pv2watt": 802, "pv3voltage": 0, "pv3current": 0, 30/01/2024 09:25:36 "pv3watt": 0, "pv4voltage": 0, "pv4current": 0, "pv4watt": 0, "pvpowerout": 30/01/2024 09:25:36 1642, "pvfrequentie": 4992, "pvgridvoltage": 2390, "pvgridcurrent": 7, 30/01/2024 09:25:36 "pvgridpower": 1650, "pvgridvoltage2": 0, "pvgridcurrent2": 0, 30/01/2024 09:25:36 "pvgridpower2": 0, "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3": 30/01/2024 09:25:36 0, "vacrs": 2390, "vacst": 0, "vactr": 0, "ptousertotal": 0, "ptogridtotal": 30/01/2024 09:25:36 0, "ptoloadtotal": 0, "totworktime": 9013601, "pvenergytoday": 1, 30/01/2024 09:25:36 "pvenergytotal": 15462, "epvtotal ": 15590, "epv1today ": 0, "epv1total": 30/01/2024 09:25:36 7723, "epv2today": 0, "epv2total": 7867, "epv3today": 0, "epv3total": 0, 30/01/2024 09:25:36 "etousertoday": 0, "etousertotal": 0, "etogridtoday": 0, "etogridtotal": 0, 30/01/2024 09:25:36 "eloadtoday": 0, "eloadtotal": 0, "deratingmode": 0, "iso": 3079, "dcir": 30/01/2024 09:25:36 80, "dcis": 0, "dcit": 0, "gfci": 5636096, "pvtemperature": 281, 30/01/2024 09:25:36 "pvipmtemperature": 0, "temp3": 0, "temp4": 0, "temp5": 355, "pbusvoltage": 30/01/2024 09:25:36 3695, "nbusvoltage": 0, "ipf": 20000, "realoppercent": 2, "opfullwatt": 0, 30/01/2024 09:25:36 "standbyflag": 0, "faultcode": 0, "warningcode": 0, "systemfaultword0": 0, 30/01/2024 09:25:36 "systemfaultword1": 0, "systemfaultword2": 0, "systemfaultword3": 0, 30/01/2024 09:25:36 "systemfaultword4": 0, "systemfaultword5": 0, "systemfaultword6": 0, 30/01/2024 09:25:36 "systemfaultword7": 0, "invstartdelaytime": 0, "bdconoffstate": 0, 30/01/2024 09:25:36 "drycontactstate": 0, "edischrtoday": 0, "edischrtotal": 0, "echrtoday": 0, 30/01/2024 09:25:36 "echrtotal": 0, "eacchrtoday": 0, "eacchrtotal": 0, "priority": 0, "epsfac": 30/01/2024 09:25:36 0, "epsvac1": 0, "epsiac1": 0, "epspac1": 0, "epsvac2": 0, "epsiac2": 0, 30/01/2024 09:25:36 "epspac2": 0, "epsvac3": 0, "epsiac3": 0, "epspac3": 0, "epspac": 0, 30/01/2024 09:25:36 "loadpercent": 0, "pf": 0, "dcv": 0, "bdc1_sysstatemode": 0, 30/01/2024 09:25:36 "bdc1_faultcode": 0, "bdc1_warncode": 0, "bdc1_vbat": 0, "bdc1_ibat": 0, 30/01/2024 09:25:36 "bdc1_soc": 0, "bdc1_vbus1": 0, "bdc1_vbus2": 0, "bdc1_ibb": 0, "bdc1_illc": 30/01/2024 09:25:36 0, "bdc1_tempa": 0, "bdc1_tempb": 0, "bdc1_pdischr": 0, "bdc1_pchr": 0, 30/01/2024 09:25:36 "bdc1_edischrtotal": 0, "bdc1_echrtotal": 0, "bdc1_flag": 0, 30/01/2024 09:25:36 "bdc2_sysstatemode": 0, "bdc2_faultcode": 0, "bdc2_warncode": 0, 30/01/2024 09:25:36 "bdc2_vbat": 0, "bdc2_ibat": 0, "bdc2_soc": 0, "bdc2_vbus1": 0, 30/01/2024 09:25:36 "bdc2_vbus2": 0, "bdc2_ibb": 0, "bdc2_illc": 0, "bdc2_tempa": 0, 30/01/2024 09:25:36 "bdc2_tempb": 0, "bdc2_pdischr": 0, "bdc2_pchr": 0, "bdc2_edischrtotal": 0, 30/01/2024 09:25:36 "bdc2_echrtotal": 0, "bdc2_flag": 0, "bms_status": 0, "bms_error": 0, 30/01/2024 09:25:36 "bms_warninfo": 0, "bms_soc": 0, "bms_batteryvolt": 0, "bms_batterycurr": 0, 30/01/2024 09:25:36 "bms_batterytemp": 0, "bms_maxcurr": 0, "bms_deltavolt": 0, "bms_cyclecnt": 30/01/2024 09:25:36 0, "bms_soh": 0, "bms_constantvolt": 0, "bms_bms_info": 0, "bms_packinfo": 30/01/2024 09:25:36 0, "bms_usingcap": 0, "bms_fw": 0, "bms_mcuversion": 0, "bms_commtype": 0}} 30/01/2024 09:25:36 - Grott MQTT topic used : energy/growatt 30/01/2024 09:25:36 - MQTT message message sent 30/01/2024 09:25:36 - Grott Send data to PVOutput disabled 30/01/2024 09:25:36 - Grott Send data to Influx disabled 30/01/2024 09:25:36 - Grott extension processing disabled ```

muppet3000 commented 5 months ago

@PianSom Please could you take a screengrab of the integration's page and paste it here, even better if you can find the relevant value missing on there as well. Here's an example of what mine looks like: image

PianSom commented 5 months ago

Here you go. The missing value is ... missing!! Should be PV1 Energy - Today (like the PV2 one you can see).

Screenshot 2024-01-30 at 13 47 48

muppet3000 commented 5 months ago

You're running the version of Grott that has a bug where it has a space in the name of the value. If you look at this snippet from the logs:

"epvtotal ": 15590, "epv1today ": 0, "epv1total": 30/01/2024 09:25:36 7723, "epv2today": 0, "epv2total": 7867, "epv3today": 0, "epv3total": 0,

You can see that after epvtotal and epv1today both have a space after them which means that this integration doesn't parse them correctly. What this requires is a fix in the upstream grott code (which I thought had already been released because I'm sure I've already helped someone else with the same issue) and then it should appear.

PianSom commented 5 months ago

Aha!! Thanks - well spotted.

I'm running Grott in Docker, and am using the image ledidobe/grott:2.8.2 which I thought was about as up to date as was available (and I think is the first version that supports the TL-X MIN inverter that I have). Is there a newer one, do you happen to know?

muppet3000 commented 5 months ago

Aha!! Thanks - well spotted.

I'm running Grott in Docker, and am using the image ledidobe/grott:2.8.2 which I thought was about as up to date as was available (and I think is the first version that supports the TL-X MIN inverter that I have). Is there a newer one, do you happen to know?

I think the place to ask that question is over in the https://github.com/johanmeijer/grott/issues/ area. If you're familiar with docker though, my recommendation would be to take a clone of the 'master' branch branch that repo and then mount it into the container as a volume.

PianSom commented 5 months ago

For prosperity, in case any come across this on a search ...

The latest (Jan 2024) beta, which contains the "space" correction, is 2.8.4 (https://github.com/johanmeijer/grott/blob/Beta-(2.8.x)/Version_history.txt)

Looks like this hasn't yet been incorporated into any docker image so far, so looks like I will need to build my own from the beta branch.

Thanks again @muppet3000 !

PianSom commented 4 months ago

Hello @muppet3000

I have now upgraded my grout container to a new beta (see here for the current state of play; things will change soon) which, I can see, does not give me the SPACE bug.

After a HA restart I am now seeing the missing sensors, albeit with a changed sensor name starting with the inverter serial number (this may be due to user error).

typxxi commented 3 months ago

Not really a user error, I guess the change is coming via mqtt into your system.

It is the same behaviour as if you would have deleted your device from inside the grott ha integration. Once you have done then the device and its sensors will vanish and be deleted.

And when you then readd the same inverter again or grott is working again then grott ha integration will recognice the messages as a new inverter and add that to the grott ha integration with the serial as its name. All the sensors will be back within minutes. And then you open that inverter and can rename the inverter (but you might always save your current inverter names just in case such thing happens again cause then you can easily rename the inverter to the previous one and all your dashboards will get their proper sensors back.

I also think it might be time to close the issue considerng that even Johann is now moving ahead and callind the latest beta the version to go to for the last 2 months for example here https://github.com/johanmeijer/grott/issues/516#issuecomment-1998113973