Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong and or missing values in HomeAssistant #98

Open
schlidda83 opened this issue Sep 5, 2024 · 10 comments
Open

wrong and or missing values in HomeAssistant #98

schlidda83 opened this issue Sep 5, 2024 · 10 comments

Comments

@schlidda83
Copy link

@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 :(

Originally posted by @schlidda83 in #84 (comment)

@muppet3000
Copy link
Owner

It's weird that you have voltage for PV2, that shows that something is working correctly for PV2.
Why don't you have access to the logs?

@schlidda83
Copy link
Author

yeah but that happend when using the value "MIN" which is obviously wrong. but it showed me the battery values for example.
at the moment i´m using TL3 which shows correct values but no battery values...

i can access the log now, i wasn´t aare that ihave to enable the abuse mode in the addon.

@schlidda83
Copy link
Author

	 \x7d\x61\x74\x74\x67\x72\x6e\x2f\x92\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x3c\x77\x61\x74\x74\xb8\x88\x6b\x5f\x61\x51\x76\x85\x72\x6e\x6e\x71\x75
	 \x2e\x45\x73\x6e\x17\x61\x74\x75\xde\x7e\xcd\x7b\x0d\x3a\x54\x47\x69\x6f\x76
	 \x70\x04\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x4e\x6f\x77\x61\x74\x74\x46\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x7b\x78\x72\x7e\xde\x77\x61\x74\x77\x47\x72\x6b\x17\x61
	 \x74\x74\x0f\x72\x6f\x73\xc9\x74\x74\x47\x72\x6f\x77\x61\x75\x74\x46\x1e\xe2
	 \x77\x61\x74\x7e\x47\x73\x33\xf5\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\x77\xde\x61\x74\x74\x4e\x73\x6e\x77
	 \x61\x74\x74\x78\xc3\x6f\x04\x61\x14\x6d\x48\x7c\xe8\x77\x57\x74\x42\x46\x81
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x3e\xc3\x74\x74\x43\x12\x6f\x77\x65\xdc\x74
	 \x47\x72\x6c\x7d\xe9\x74\x5d\x47\x7e\x6f\x77\x60\x13\x75\x08\x72\x6d\x77\x6d
	 \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\x0f\x48\xcd\x70\x1e\x45\x7c\x66\xb3\x68\xb0\x74\x47\x72\x0b\x35\xf1\x43
	 \x24\x47\x72\x6f\x77\x7f\x62\x74\x47\x72\x6f\x7a\x2a\x79\x49\x78\xde\x6f\x77
	 \x61\x76\x74\x47\x72\x62\x77\x61\x74\x74\x45\xce\x3a\x5f\x97\x34\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x77\xc8
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060104X
 - no matching record layout found, try generic
 - Record layout used :  T06NNNNX
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 0258000602410104475a4c3044413735453600000000000000000000000000000000000000005
	 1414c304347393044550000000000000000000000000000000000000000180905042c2e020bb8
	 0c34000100009e360b89003a000042e70abc00530000591800000000000000000000000000000
	 000000054940000034100004b361389090a001b000018670912001b0000187d08f7001b000018
	 340fa70f930f8500000000000054940000000002744dcf0000000900015855000168c50000001
	 90000c6180000003a0000a2ad00000000000000000000001800000080000000060000100a0000
	 0020000158f300000000000000000000005300000000fffa0428002502c200011910015a02010
	 160000001990ca20c6c4e20001b00011170000000000000000000000000000000000000000000
	 00003c00000000000100000000000000000000000f0c350cb1000000030000046000000048000
	 004a8000000000000000100016c8d0000000a00015c8200000000000000000000000000000000
	 00000000000000000000000000000000000000002710000018a9000000090101000000003fb10
	 0730060190f0e870036003601f3000000000000000049a200000460000004a8000000030a8800
	 29000c00000167014f0002000c000000000001000000320032000000000000000000000000000
	 000000000000000010000000000603fac046a020e09c409c40000006442903750000000001e16
	 000000000d4b0d3d3fac000000020000000d0000000002bc5528f640000000000000000000000
	 0000000000005a7
 - Possible Inverter serial QAL0CG90DU
 - Inverter serial not recognised - using inverter type default
 - Growatt new layout processing
	 - decrypt       :  True
	 - offset        :  6
	 - record layout :  T06NNNNX

 - Grott data record date/time processing started
 - date-time:  2024-09-05T04:44:46
 - Grott values retrieved:
	 -  datalogserial        :  GZL0DA75E6
	 -  pvserial             :  QAL0CG90DU
	 -  pvstatus             :  1
	 -  pvpowerin            :  4050.2
	 -  pv1voltage           :  295.3
	 -  pv1current           :  5.8
	 -  pv1watt              :  1712.7
	 -  pv2voltage           :  274.8
	 -  pv2current           :  8.3
	 -  pv2watt              :  2280.8
	 -  pvpowerout           :  1925.4
	 -  pvfrequentie         :  50.0
	 -  pvgridvoltage        :  231.4
	 -  pvgridcurrent        :  2.7
	 -  pvgridpower          :  624.7
	 -  pvgridvoltage2       :  232.2
	 -  pvgridcurrent2       :  2.7
	 -  pvgridpower2         :  626.9
	 -  pvgridvoltage3       :  229.5
	 -  pvgridcurrent3       :  2.7
	 -  pvgridpower3         :  619.6
	 -  totworktime          :  5719.0
	 -  pvenergytoday        :  0.9
	 -  pvenergytotal        :  8814.9
	 -  epvtotal             :  9235.7
	 -  epv1today            :  2.5
	 -  epv1total            :  5071.2
	 -  epv2today            :  5.8
	 -  epv2total            :  4164.5
	 -  pvtemperature        :  34.6
	 -  pvipmtemperature     :  40.9
 - MQTT jsonmsg: 
		 {"device": "QAL0CG90DU", "time": "2024-09-05T04:44:46", "buffered": "no",
		 "values": {"datalogserial": "GZL0DA75E6", "pvserial": "QAL0CG90DU",
		 "pvstatus": 1, "pvpowerin": 40502, "pv1voltage": 2953, "pv1current": 58,
		 "pv1watt": 17127, "pv2voltage": 2748, "pv2current": 83, "pv2watt": 22808,
		 "pvpowerout": 19254, "pvfrequentie": 5001, "pvgridvoltage": 2314,
		 "pvgridcurrent": 27, "pvgridpower": 6247, "pvgridvoltage2": 2322,
		 "pvgridcurrent2": 27, "pvgridpower2": 6269, "pvgridvoltage3": 2295,
		 "pvgridcurrent3": 27, "pvgridpower3": 6196, "totworktime": 41176527,
		 "pvenergytoday": 9, "pvenergytotal": 88149, "epvtotal": 92357, "epv1today":
		 25, "epv1total": 50712, "epv2today": 58, "epv2total": 41645,
		 "pvtemperature": 346, "pvipmtemperature": 409}}
 - 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 

@typxxi
Copy link

typxxi commented Sep 5, 2024

It's weird that you have voltage for PV2, that shows that something is working correctly for PV2. Why don't you have access to the logs?

Sorry Chris,

where can I find these 2 files in case of a grott add on installation ?

  • grott.ini
  • grott.log

The only grott.ini I was able to find were empty (in 2 or 3 different diretories, but all empty = 0 byte)

And of cause I can see the log file from the add on page on the 4th tab, but where is the full file stored to get more details.
I had struggled 2 days ago when 1 inverter got missing again after I had repaired the datalogger sticks of 3 other inverters a week before, when I found out that any downtime of grott during daylight can awake the GROWATT CLOUD AGENTS to clean datalogger again, not all, but I guess 1 at a time so that I might have lost those 3 in 2 weeks of several maintenance activities.

I was not aware that a downtime of grott would end in an empty ipadress in the datalogger .

Thanks a lot

@typxxi
Copy link

typxxi commented Sep 5, 2024

	 \x7d\x61\x74\x74\x67\x72\x6e\x2f\x92\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x3c\x77\x61\x74\x74\xb8\x88\x6b\x5f\x61\x51\x76\x85\x72\x6e\x6e\x71\x75
	 \x2e\x45\x73\x6e\x17\x61\x74\x75\xde\x7e\xcd\x7b\x0d\x3a\x54\x47\x69\x6f\x76
	 \x70\x04\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x4e\x6f\x77\x61\x74\x74\x46\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x7b\x78\x72\x7e\xde\x77\x61\x74\x77\x47\x72\x6b\x17\x61
	 \x74\x74\x0f\x72\x6f\x73\xc9\x74\x74\x47\x72\x6f\x77\x61\x75\x74\x46\x1e\xe2
	 \x77\x61\x74\x7e\x47\x73\x33\xf5\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\x77\xde\x61\x74\x74\x4e\x73\x6e\x77
	 \x61\x74\x74\x78\xc3\x6f\x04\x61\x14\x6d\x48\x7c\xe8\x77\x57\x74\x42\x46\x81
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x3e\xc3\x74\x74\x43\x12\x6f\x77\x65\xdc\x74
	 \x47\x72\x6c\x7d\xe9\x74\x5d\x47\x7e\x6f\x77\x60\x13\x75\x08\x72\x6d\x77\x6d
	 \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\x0f\x48\xcd\x70\x1e\x45\x7c\x66\xb3\x68\xb0\x74\x47\x72\x0b\x35\xf1\x43
	 \x24\x47\x72\x6f\x77\x7f\x62\x74\x47\x72\x6f\x7a\x2a\x79\x49\x78\xde\x6f\x77
	 \x61\x76\x74\x47\x72\x62\x77\x61\x74\x74\x45\xce\x3a\x5f\x97\x34\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x77\xc8
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060104X
 - no matching record layout found, try generic
 - Record layout used :  T06NNNNX
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 0258000602410104475a4c3044413735453600000000000000000000000000000000000000005
	 1414c304347393044550000000000000000000000000000000000000000180905042c2e020bb8
	 0c34000100009e360b89003a000042e70abc00530000591800000000000000000000000000000
	 000000054940000034100004b361389090a001b000018670912001b0000187d08f7001b000018
	 340fa70f930f8500000000000054940000000002744dcf0000000900015855000168c50000001
	 90000c6180000003a0000a2ad00000000000000000000001800000080000000060000100a0000
	 0020000158f300000000000000000000005300000000fffa0428002502c200011910015a02010
	 160000001990ca20c6c4e20001b00011170000000000000000000000000000000000000000000
	 00003c00000000000100000000000000000000000f0c350cb1000000030000046000000048000
	 004a8000000000000000100016c8d0000000a00015c8200000000000000000000000000000000
	 00000000000000000000000000000000000000002710000018a9000000090101000000003fb10
	 0730060190f0e870036003601f3000000000000000049a200000460000004a8000000030a8800
	 29000c00000167014f0002000c000000000001000000320032000000000000000000000000000
	 000000000000000010000000000603fac046a020e09c409c40000006442903750000000001e16
	 000000000d4b0d3d3fac000000020000000d0000000002bc5528f640000000000000000000000
	 0000000000005a7
 - Possible Inverter serial QAL0CG90DU
 - Inverter serial not recognised - using inverter type default
 - Growatt new layout processing
	 - decrypt       :  True
	 - offset        :  6
	 - record layout :  T06NNNNX

 - Grott data record date/time processing started
 - date-time:  2024-09-05T04:44:46
 - Grott values retrieved:
	 -  datalogserial        :  GZL0DA75E6
	 -  pvserial             :  QAL0CG90DU
	 -  pvstatus             :  1
	 -  pvpowerin            :  4050.2
	 -  pv1voltage           :  295.3
	 -  pv1current           :  5.8
	 -  pv1watt              :  1712.7
	 -  pv2voltage           :  274.8
	 -  pv2current           :  8.3
	 -  pv2watt              :  2280.8
	 -  pvpowerout           :  1925.4
	 -  pvfrequentie         :  50.0
	 -  pvgridvoltage        :  231.4
	 -  pvgridcurrent        :  2.7
	 -  pvgridpower          :  624.7
	 -  pvgridvoltage2       :  232.2
	 -  pvgridcurrent2       :  2.7
	 -  pvgridpower2         :  626.9
	 -  pvgridvoltage3       :  229.5
	 -  pvgridcurrent3       :  2.7
	 -  pvgridpower3         :  619.6
	 -  totworktime          :  5719.0
	 -  pvenergytoday        :  0.9
	 -  pvenergytotal        :  8814.9
	 -  epvtotal             :  9235.7
	 -  epv1today            :  2.5
	 -  epv1total            :  5071.2
	 -  epv2today            :  5.8
	 -  epv2total            :  4164.5
	 -  pvtemperature        :  34.6
	 -  pvipmtemperature     :  40.9
 - MQTT jsonmsg: 
		 {"device": "QAL0CG90DU", "time": "2024-09-05T04:44:46", "buffered": "no",
		 "values": {"datalogserial": "GZL0DA75E6", "pvserial": "QAL0CG90DU",
		 "pvstatus": 1, "pvpowerin": 40502, "pv1voltage": 2953, "pv1current": 58,
		 "pv1watt": 17127, "pv2voltage": 2748, "pv2current": 83, "pv2watt": 22808,
		 "pvpowerout": 19254, "pvfrequentie": 5001, "pvgridvoltage": 2314,
		 "pvgridcurrent": 27, "pvgridpower": 6247, "pvgridvoltage2": 2322,
		 "pvgridcurrent2": 27, "pvgridpower2": 6269, "pvgridvoltage3": 2295,
		 "pvgridcurrent3": 27, "pvgridpower3": 6196, "totworktime": 41176527,
		 "pvenergytoday": 9, "pvenergytotal": 88149, "epvtotal": 92357, "epv1today":
		 25, "epv1total": 50712, "epv2today": 58, "epv2total": 41645,
		 "pvtemperature": 346, "pvipmtemperature": 409}}
 - 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 

This looks like a working grott installation and the issues is the mapping that might be wrong or your batteries sensors missing in case you go back to the genuine MOD or better TL3 setup.

And in such a case I guess this can be fixed by Johan only cause egguy told me that he only puts Johans code into the HA grott addon and is not changing the code. The only case I can think of is the question on which grott version egguys current code is based. He calls it unfortunatelly "2.8.x" and says in the documentation "2.8 stable" without using the exact same figures Johans is using which would mean 2.8.3.

But at least your model is listed in his documentation here

If you do a change of configuration. It is important to save and then restart the add-on.

Specific inverter configuration
If you have multiple inverters, please refer to how to configure them in this documentation: Multiple inverters configuration
But that figure can make a huge difference cause in 2.8.1 and 2.8.2 new inverter models had been released cause I can remember when the MIN has become part of the grott list.

AND THEN THERE IS THIS REMARK
**_In the case you have one of the listed inverter types, you need a special configuration:

SPH
SPH6000, SPH3000...
SPF
SPF5000, SPF3000...
TL3
TL3-X...
MAX
MAX 100-150KTL3-X..._**

But I have no clue what special would mean.

I hope Johan or Etienne = egguy will find the missing piece or what went wrong.

@schlidda83
Copy link
Author

schlidda83 commented Sep 5, 2024

Thanks Wolfgang

i also do not know whats means "special config".

yeah, maybe they can have a chat together :)

as you know, i´ve made a post at Johann to. @muppet3000 post with johann (johanmeijer/grott#587 (comment))

@typxxi
Copy link

typxxi commented Sep 5, 2024

I have written a request in Etiennes GROTT HA ADDON to improve the documentation regarding this topic cause he mentions it and does not explain what it means

BUT I guess that this is from a previous version before he added other inverters so they are now part of the basic grott 2.83 release - even though I am not sure. Anyhow , I guess Etienne and Johan will find out sooner or later what is going on. For me it does not look like an issue of Chris integration here cause the "templates" for the different inverters which are needed for decoding should be part of the GROTT itself cause we can see them in the log without having muppets integration installed.

@muppet3000
Copy link
Owner

I'll happily leave this issue open, but it looks like an issue with the upstream Grott application/add-in as you've identified.

Let me know if there's anything further I can do to help in this repo.

@typxxi
Copy link

typxxi commented Sep 6, 2024

Let me know if there's anything further I can do to help in this repo.

Off topic, but I would love to know where these 2 files are stored in case of a grott add on installation ?

  • grott.ini
  • grott.log

I can not find the grott.ini which is more than 0 bytes long.
And with grott log I mean the log where we can see only any excerpt.

That would be the easiest way to look for missing inverters if the mqtt messages arrived or not. During a full day of maintenance and with 10 HA reboots a day I am loosing 1 - 2 inverters which would mean 1 - 3% considering my 8 inverters, which would mean 1 - 2 out of 80 times. NOW during maintenance it is easy to remember that if 1 inverter is missing I have to reconfigure datalogger settings, but in 6 months without such an incidence it becomes harder.

I have already added a reminder on the HA GROWATT inverter page that in case of missing inverter first step is to edit the datalogger settings IP adress.

Thanks a lot - great work.

@muppet3000
Copy link
Owner

That would be something for @egguy to answer, I don't have an add-on style installation myself, so I really don't know how that works or where it lives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants