Having walked away and taken time to think it through I'm still stuck. I have fixed:
In all of these the highest number stored for my production total is 7114821.
Code: Select all
{"production":[{"type":"inverters","activeCount":13,"readingTime":1745051430,"wNow":221,"whLifetime":7255452},{"type":"eim","activeCount":1,"measurementType":"production","readingTime":1745051513,"wNow":310.7,"whLifetime":7117187.875,"varhLeadLifetime":2111.731,"varhLagLifetime":5993765.899,"vahLifetime":12621399.547,"rmsCurrent":1.663,"rmsVoltage":242.356,"reactPwr":245.63,"apprntPwr":402.707,"pwrFactor":0.78,"whToday":281.875,"whLastSevenDays":64625.875,"vahToday":2152.547,"varhLeadToday":0.731,"varhLagToday":2055.899,"lines":[{"wNow":310.7,"whLifetime":7117187.875,"varhLeadLifetime":2111.731,"varhLagLifetime":5993765.899,"vahLifetime":12621399.547,"rmsCurrent":1.663,"rmsVoltage":242.356,"reactPwr":245.63,"apprntPwr":402.707,"pwrFactor":0.78,"whToday":281.875,"whLastSevenDays":64625.875,"vahToday":2152.547,"varhLeadToday":0.731,"varhLagToday":2055.899}]}],"consumption":[{"type":"eim","activeCount":1,"measurementType":"total-consumption","readingTime":1745051513,"wNow":435.646,"whLifetime":25763107.459,"varhLeadLifetime":18538224.186,"varhLagLifetime":-5987294.444,"vahLifetime":34957874.297,"rmsCurrent":4.798,"rmsVoltage":242.472,"reactPwr":-435.589,"apprntPwr":1163.311,"pwrFactor":0.37,"whToday":2486.459,"whLastSevenDays":14.459,"vahToday":6306.297,"varhLeadToday":5522.186,"varhLagToday":0.0,"lines":[{"wNow":435.646,"whLifetime":25763107.459,"varhLeadLifetime":18538224.186,"varhLagLifetime":-5987294.444,"vahLifetime":34957874.297,"rmsCurrent":4.798,"rmsVoltage":242.472,"reactPwr":-435.589,"apprntPwr":1163.311,"pwrFactor":0.37,"whToday":2486.459,"whLastSevenDays":14.459,"vahToday":6306.297,"varhLeadToday":5522.186,"varhLagToday":0.0}]},{"type":"eim","activeCount":1,"measurementType":"net-consumption","readingTime":1745051513,"wNow":124.946,"whLifetime":18646406.88,"varhLeadLifetime":18540335.917,"varhLagLifetime":6471.455,"vahLifetime":34957874.297,"rmsCurrent":3.135,"rmsVoltage":242.472,"reactPwr":-681.219,"apprntPwr":760.183,"pwrFactor":0.16,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0,"lines":[{"wNow":124.946,"whLifetime":18646406.88,"varhLeadLifetime":18540335.917,"varhLagLifetime":6471.455,"vahLifetime":34957874.297,"rmsCurrent":3.135,"rmsVoltage":242.472,"reactPwr":-681.219,"apprntPwr":760.183,"pwrFactor":0.16,"whToday":0,"whLastSevenDays":0,"vahToday":0,"varhLeadToday":0,"varhLagToday":0}]}],"storage":[{"type":"acb","activeCount":0,"readingTime":0,"wNow":0,"whNow":0,"state":"idle"}]}