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

SPF to PVoutput wrong values #163

Open
onzifonzi opened this issue Sep 15, 2022 · 4 comments
Open

SPF to PVoutput wrong values #163

onzifonzi opened this issue Sep 15, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@onzifonzi
Copy link

onzifonzi commented Sep 15, 2022

Hi,
Here are the data received from SPF, beta docker image.
- ppv1 : 1975.0
- ppv2 : 0.0
- buck1curr : 250.6
- buck2curr : 0.0
- op_watt : 1866.0
- pvpowerout : 1866.0

but pvoutput shows
image

I think ppv1 have to be in Power column and op_watt to go in Power Used.

Regards

@onzifonzi onzifonzi changed the title SPF to PVoutput wrong parameters SPF to PVoutput wrong values Sep 15, 2022
@onzifonzi
Copy link
Author

The problem solved
Here is the last output
image

Here are my modifications

        if header[14:16] != "20" :
            pvdata = {
                "d"     : pvodate,
                "t"     : pvotime,
            #2.7.1    "v1"    : definedkey["pvenergytoday"]*100,
                **"v2"    : definedkey["ppv1"]/10,**
                **"v3"    : definedkey["eacDischarToday"]*100,**
                **"v4"    : definedkey["pvpowerout"]/10,**
                **"v6"    : definedkey["vpv1"]/10**
                }
            if not conf.pvdisv1 :
                pvdata["v1"] = definedkey["pvenergytoday"]*100
            else:
                if conf.verbose :  print("\t - " + "Grott PVOutput send V1 disabled")

            if conf.pvtemp :
                pvdata["v5"] = **definedkey["dcdctemp"]/10**

Thanks

@johanmeijer
Copy link
Owner

johanmeijer commented Sep 15, 2022

HI @onzifonzi. Thanks for your remark.

We can have a discussion on if we should have ppv1 or powerout being sent to pvouput.org. I personally think that powerout is a better value because that is the real (netto) power delivered to the grid (my case) or your battery (= pvv1 - the loss of energy in the inverter).

I never thought about sending energy usage information from the inverter to pvoutput because I do not have a SPF or other inverter with battery connected. My energy usage is being sent bij my energy meter.

I do think it is a good idea to sent energy usage for some inverter to pvoutput like already being done in case a smart meter (SDM630) is connected to the inverter.

I see you use eacDischarToday and not op_watt is that right? It is not that easy for me to change (as for you) because I have to take into account that multiple inverter types are being used so I have to make it possible to enable/disable this with a parameter in grott.ini for compatibility reasons.

But will implement it in the next version.

@johanmeijer johanmeijer added the enhancement New feature or request label Sep 15, 2022
@onzifonzi
Copy link
Author

Hi, @johanmeijer, Thank you for comments,

Here are the values that SPF logger sends
- pvstatus : 8
- vpv1 : 367.4
- vpv2 : 0.0
- ppv1 : 1452.0
- ppv2 : 0.0
- buck1curr : 188.5
- buck2curr : 0.0
- op_watt : 1486.0
- pvpowerout : 1486.0
- op_va : 385024.0
- acchr_watt : 0.0
- acchr_VA : 0.0
- bat_Volt : 0.0
- batterySoc : 0
- bus_volt : 420.6
- grid_volt : 247.8
- line_freq : 50.0
- outputvolt : 247.8
- pvgridvoltage : 247.8
- outputfreq : 50.0
- invtemp : 28.0
- dcdctemp : 26.6
- loadpercent : 29.7
- buck1_ntc : 26.6
- buck2_ntc : 28.3
- OP_Curr : 5.9
- Inv_Curr : 5.7
- AC_InWatt : 82.0
- AC_InVA : 74.3
- faultBit : 0
- warningBit : 8192
- faultValue : 0
- warningValue : 0
- constantPowerOK : 2576
- epvtoday : 1.4
- pvenergytoday : 1.4
- epvtotal : 2194.3
- eacCharToday : 0.0
- eacCharTotal : 0.3
- ebatDischarToday : 0.0
- ebatDischarTotal : 2.1
- eacDischarToday : 3.9
- eacDischarTotal : 8104.8
- ACCharCurr : 0.0
- ACDischarWatt : 1486.0
- ACDischarVA : 1501.0
- BatDischarWatt : 0.0
- BatDischarVA : 0.0
- BatWatt : 0.0

I have no battery and cant see what is difference between ppv1 and pvoutput, by me these values are the same :)
I'm using eacDischarToday because this value is resetting at midnight.

I'll monitor values and its changing through the day and will update the thread.

Regards.

@onzifonzi
Copy link
Author

onzifonzi commented Sep 19, 2022

Pvstatus is 10, vpv1 and ppv1 are 0 when the sun went down, but there is something strange. When op_watt and pvpowerout are below 3000 eacDischarToday increases all the day, but when they are beyond 3500 eacDischarToday stops increasing after vpv1 and ppv1 get 0 and start increasing again when sun rising up.

I think this is growatt problem and I've reported to them by email.

For now last my modifications are fine. You can include them in next version.

Regards.

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

No branches or pull requests

2 participants