muppet3000 / homeassistant-grott

Home Assistant Integration for Grott - MQTT
MIT License
73 stars 17 forks source link

Missing Battery States in HA (Growatt MOD 10000TL3-XH BP) #84

Open DMuenster opened 6 months ago

DMuenster commented 6 months ago

Hallo @muppet3000 ,

First of all, thank you very much for the great work! However, I have a question where you could possibly help me? I have a Growatt MOD 10000TL3-XH BP with a battery and unfortunately I cannot see the battery values displayed in HA. Am I doing something wrong?

Current setup:

Data is also transmitted, but not that of the battery.

Thank you very much

Best regards Dennis

muppet3000 commented 6 months ago

Can you please post a copy of your logs from Grott here so I can see what sensors are being published to mqtt.

Also, can you please try installing the 'main' release of this integration instead of the last release, it's possible that I've added all the sensors in the most recent Dev with but haven't published it as a formal release yet.

Happy to help if you're still having problems after that.

DMuenster commented 6 months ago

Danke für die schnelle Antwort! Blöde frage, aber wie komme ich an die Grott Logs? :)

muppet3000 commented 6 months ago

Ahhh, I didn't read your last message correctly, you're using the addon.

I think there are some logs published for that under the addon itself, try looking there. I'll send you an example tomorrow if needed.

In the meantime can you just try using the latest 'main' version of my integration and see if that works?

DMuenster commented 6 months ago

Unfortunately, installing the main version did not result in any improvement. That's why I would like to accept the small instructions for the logs. Thank you

muppet3000 commented 6 months ago

I don't run Home Assistant with supervisor (aka the one that supports Addons) so I'm not sure how to do this myself. @egguy - Are you able to advise on how to get the logs from Grott when running the addon??

@DMuenster - If it helps this forum post shows a way that you can get logs but I'm not sure how up-to-date it is: https://community.home-assistant.io/t/where-are-the-hassio-addon-logs-stored/30060/12

The specific logs I'm looking for are like this:

- Grott values retrieved:                                                                                                                                                                                                                                                                                 [31/49014]
                 -  datalogserial        :  NAC3915162
                 -  pvserial             :  NWCPA47006
                 -  pvstatus             :  5
                 -  pvpowerin            :  30.0
                 -  pv1voltage           :  370.7
                 -  pv1current           :  0.0
                 -  pv1watt              :  5.9
                 -  pv2voltage           :  206.6
                 -  pv2current           :  0.1
                 -  pv2watt              :  26.5
                 -  pvpowerout           :  357.0
                 -  pvfrequentie         :  49.8
                 -  pvgridvoltage        :  241.0
                 -  pvgridcurrent        :  1.9
                 -  pvgridpower          :  353.6
                 -  pvgridvoltage2       :  0.0                                                                                                                                                                                                                                                                                               -  pvgridcurrent2       :  0.0                                                                                                                                                                                                                                                                                               -  pvgridpower2         :  0.0
                 -  pvgridvoltage3       :  0.0                                                                                                                                                                                                                                                                                               -  pvgridcurrent3       :  0.0
                 -  pvgridpower3         :  0.0
                 -  totworktime          :  24784.3
                 -  eactoday             :  1.9
                 -  pvenergytoday        :  1.9
                 -  eactotal             :  21337.6
                 -  epvtotal             :  16469.6
                 -  epv1today            :  0.0
                 -  epv1total            :  9839.5
                 -  epv2today            :  0.0
                 -  epv2total            :  5156.6
                 -  pvtemperature        :  26.6
                 -  pvipmtemperature     :  24.6
                 -  pvboosttemp          :  24.5
                 -  bat_dsp              :  53.2
                 -  eacharge_today       :  8.2
                 -  eacharge_total       :  7400.2
                 -  batterytype          :  1
                 -  uwsysworkmode        :  5
                 -  systemfaultword0     :  0
                 -  systemfaultword1     :  0
                 -  systemfaultword2     :  0
                 -  systemfaultword3     :  0
                 -  systemfaultword4     :  0
                 -  systemfaultword5     :  0
                 -  systemfaultword6     :  0
                 -  systemfaultword7     :  0
                 -  pdischarge1          :  410.0
                 -  p1charge1            :  0.0
                 -  vbat                 :  52.9
                 -  SOC                  :  0.8
                 -  pactouserr           :  278.2
                 -  pactousertot         :  278.2
                 -  pactogridr           :  0.0
                 -  pactogridtot         :  0.0
                 -  plocaloadr           :  710.0
                 -  plocaloadtot         :  710.0
                 -  spdspstatus          :  0.5
                 -  spbusvolt            :  297.9
                 -  etouser_tod          :  12.5
                 -  etouser_tot          :  17345.9
                 -  etogrid_tod          :  0.0
                 -  etogrid_tot          :  31279.2
                 -  edischarge1_tod      :  2.1
                 -  edischarge1_tot      :  11072.6
                 -  eharge1_tod          :  7.5
                 -  eharge1_tot          :  10027.1
                 -  elocalload_tod       :  7.2
                 -  elocalload_tot       :  3581.8
         - MQTT jsonmsg:
                         {"device": "NWCPA47006", "time": "2024-03-24T07:02:49", "buffered": "no",
                         "values": {"datalogserial": "NAC3915162", "pvserial": "NWCPA47006",
                         "pvstatus": 5, "pvpowerin": 300, "pv1voltage": 3707, "pv1current": 0,
                         "pv1watt": 59, "pv2voltage": 2066, "pv2current": 1, "pv2watt": 265,
                         "pvpowerout": 3570, "pvfrequentie": 4982, "pvgridvoltage": 2410,
                         "pvgridcurrent": 19, "pvgridpower": 3536, "pvgridvoltage2": 0,
                         "pvgridcurrent2": 0, "pvgridpower2": 0, "pvgridvoltage3": 0,
                         "pvgridcurrent3": 0, "pvgridpower3": 0, "totworktime": 178446730,
                         "eactoday": 19, "pvenergytoday": 19, "eactotal": 213376, "epvtotal": 164696,
                         "epv1today": 0, "epv1total": 98395, "epv2today": 0, "epv2total": 51566,
                         "pvtemperature": 266, "pvipmtemperature": 246, "pvboosttemp": 245,
                         "bat_dsp": 532, "eacharge_today": 82, "eacharge_total": 74002,
                         "batterytype": 1, "uwsysworkmode": 5, "systemfaultword0": 0,
                         "systemfaultword1": 0, "systemfaultword2": 0, "systemfaultword3": 0,
                         "systemfaultword4": 0, "systemfaultword5": 0, "systemfaultword6": 0,
DMuenster commented 6 months ago

Hello muppet3000, sorry that I haven't contacted you in so long. But I've got it working now. I have briefly attached the correct settings for a Growatt MOD 10000TL3-XH BP with APX Battery.

HA add-on:

Then you get (for me) 77 identities and also the ones you want from the battery. The request can then be closed again.

Nevertheless, thank you very much for your help! Best regards

schlidda83 commented 1 month ago

@muppet3000 Hi and Thanks a lot for your work here!

I have a similar issue so reopen this here, hope thats ok?

my inverter: MOD 7000TL3-XH(BP) Homeassistant with HACS - Grott stable branch (2.8) Current version: 0.1.11

Mosquito MQTT

i have set TL3 in my grott config set until i read this here. so i changed it to MIN as @DMuenster wrote above. it gave me also over 70 instead 48 entities.

but i cannot change the version in in HACS. image no matter what i select it will choose 1.1.0 in the end.

anyway i guess there it still something wrong? Pv2 no entries no export to grid today

image

can you help? i´m also unable to get the logs :(

muppet3000 commented 3 weeks ago

@muppet3000 Hi and Thanks a lot for your work here!

I have a similar issue so reopen this here, hope thats ok?

my inverter: MOD 7000TL3-XH(BP) Homeassistant with HACS - Grott stable branch (2.8) Current version: 0.1.11

Mosquito MQTT

i have set TL3 in my grott config set until i read this here. so i changed it to MIN as @DMuenster wrote above. it gave me also over 70 instead 48 entities.

but i cannot change the version in in HACS. image no matter what i select it will choose 1.1.0 in the end.

anyway i guess there it still something wrong? Pv2 no entries no export to grid today

image

can you help? i´m also unable to get the logs :(

@schlidda83 could you please log this as a new ticket as I think your issue is unrelated to the main issue this ticket was about.