SPH 6000TL No Battery Stats #224
Replies: 8 comments 12 replies
-
Hi, ginvtype=sph variable should help you to get additional data. The stats should be at the bottom. As for documentation, search for Growatt modbus RTU protocol. The registers for the SPH are described (don't expect much more) in the range 0-124, 1000-1124. |
Beta Was this translation helpful? Give feedback.
-
I also have an SPH and am using the invtype=sph setting in my grott.ini I see various stats related to the battery, including SOC (State of Charge) and various others that seem to be voltage related, although haven't dug into them all. See screenshot attached. |
Beta Was this translation helpful? Give feedback.
-
Strange, your schema is completely different to mine. I wonder why?
Regards
Clive
…________________________________
From: robupham ***@***.***>
Sent: Monday, November 7, 2022 5:20:30 PM
To: johanmeijer/grott ***@***.***>
Cc: CliveR ***@***.***>; Author ***@***.***>
Subject: Re: [johanmeijer/grott] SPH 6000TL No Battery Stats (Discussion #224)
I also have an SPH and am using the invtype=sph setting in my grott.ini
I see various stats related to the battery, including SOC (State of Charge) and various others that seem to be voltage related, although haven't dug into them all. See screenshot attached.
[image]<https://user-images.githubusercontent.com/6196375/200373319-b9411b65-d7dc-4e7d-9a76-b32fd020db8c.png>
—
Reply to this email directly, view it on GitHub<#224 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMRYAUM7B6DK6C4NNMLDVITWHE255ANCNFSM6AAAAAARYNIKEA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Can you send the Grott log at start up and the part where one of the records is being decrypted (including the layout defs used). Then we can see what goes wrong. Just to be sure do you use the master branch or the beta (2.7.7)? |
Beta Was this translation helpful? Give feedback.
-
Ok. I use a little bit off mixed terminologie in the Grott layouts (Just like grotwatt does online and in the documentation) Also not all fields are included. I will try to make a readable mapping. Calculated values are always difficult to trace back, but lets try. I do not believe that in the SPH records (at least the one I saw) the new version values are include. But to know for sure I have to see one of your data records ( The "- Grottserver - Original Data:" part), |
Beta Was this translation helpful? Give feedback.
-
I am looking for the Grott log with the original data part. |
Beta Was this translation helpful? Give feedback.
-
Ok lets start..... I published a documentation spreadsheet: I used the original Growatt documentation (Column A-F) and added the fields which I defined in the growatt layout (column G- J). For the SPH registers 1-124 and 1000-1124 are used and should be in the data record. I do not show everything in the Grott mqtt message (or influxdb). This layout is evolutionary created with data records from users and excel info for this records from growatt (not available anymore). Can you try to match things and see what you miss in the layout? It is always possible to change the layout definitions (only add for compatibility reasons) or create new layouts! Be aware some field names are mandatory for Grott processing. |
Beta Was this translation helpful? Give feedback.
-
Every group in the Modus register definition has an offset in the data record. For the SPH record reg 0 start at 158. Every register afters wordt in the first group start reg4 so reg 124 (end of first group ) starts at 158+1244. Some values like input power has a register for the High and Low part. So input_power has a total length of 8. The second group for the SPH (1000-1124) starts at offset 666. To calculate the offset of a register in this group you can use formula: 666+(reg-1000)*4. For the last register in this group 666+(1124-1000)*4=1162, Be aware some values on the Growatt website/App does not have direct relation with a register. Some values are calculated. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have grott running and feeding data from my SPH6000 into influxdb 2.4.
My main use for it is to give me my solar generation and useage and battery stats.
I am a liitle confused as to what the metrics being stored are. Some are obvipous, others less so.
My main concern at the moment is that I don't seem to be getting any battery stats that I can identify.
Is there a document anywhere (I can't find one) that defines what each metric output by the Growatt is measuring and how it refers to Solar generation, battery charge/discharge etc.?
The metrics I have available in infulxdb data explorer are:
The Docker command I used to build the container is:
docker run -d -p 5279:5279 --restart unless-stopped -e gnomqtt="True" -e gblockcmd="False" -e gpvoutput="False" -e ginflux="True" -e ginflux2="True" -e gifip="xx.xxx.xxx.xxx" -e gifport="8086" -e giftoken="xxxxxxxxxxx" -e giforg="********" -e gifbucket="*****" -e invtype="sph" --name grott ledidobe/grott
The only thing I can think of is the 'invtype' environment variable.
Have I got this right or is there something else I am missing?
Any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions