Hello guys, an question about Enphase, i think its 'ontopic' so this should be the wright place..
I am using Domoticz (and an Toon v2 thermostate as interface) and used the existing 'hardware' to add the Enphase Envoy for my solarpanels.
The only thing is that the information isn't correct.
Domoticz shows an nice sensor with the 'kwh' of the day, thats very nice (and accurate if i compare with my Enphase app).
But the TOTAL kwh information isn't correct.
If i do this:
http://192.168.1.66/api/v1/production
The result is:
Code: Select all
{
"wattHoursToday": 0,
"wattHoursSevenDays": 5873,
"[b]wattHoursLifetime": 149064,[/b]
"wattsNow": 0
}
My question is:
What can i do to get an good result?
If i use the Enphase app is says:
Lifetime (levensduur): 2,2 Megawatt
Because i use an very nice Solar app on the Toon i would like to get good results, so not only the 'daily kwh' but also the 'Total kwh'.
Before i try other methods like PVOutput (and maybe getting info via the API in stead of via the Envoy)...i think the problem first has to be solved.
Or am i doing something wrong?
PS
To be complete; this it what i get after giving the command:
http://192.168.1.66/production.json
Code: Select all
==============
{"production":[{"type":"inverters",
"activeCount":7,
"readingTime":1611301689,
"wNow":-6,
"whLifetime":149065},
{"type":"eim","activeCount":0,
"measurementType":"production",
"readingTime":1611301942,
"wNow":-1.14,
"whLifetime":0.0,
"varhLeadLifetime":0.0,
"varhLagLifetime":0.0,
"vahLifetime":0.0,
"rmsCurrent":0.589,
"rmsVoltage":240.796,
"reactPwr":0.686,
"apprntPwr":66.969,
"pwrFactor":0.0,
"whToday":0.0,
"whLastSevenDays":0.0,
"vahToday":0.0,
"varhLeadToday":0.0,
"varhLagToday":0.0}],
"consumption":[{"type":"eim",
"activeCount":0,
"measurementType":"totalConsumption",
"readingTime":1611301942,
"wNow":-1.531,
"whLifetime":0.0,
"varhLeadLifetime":0.0,
"varhLagLifetime":0.0,
"vahLifetime":0.0,
"rmsCurrent":0.318,
"rmsVoltage":240.675,
"reactPwr":-0.686,
"apprntPwr":76.604,
"pwrFactor":-0.02,
"whToday":0.0,
"whLastSevenDays":0.0,
"vahToday":0.0,
"varhLeadToday":0.0,
"varhLagToday":0.0},
{"type":"eim",
"activeCount":0,"measurementType":"netconsumption",
"readingTime":1611301942,
"wNow":-0.391,
"whLifetime":0.0,
"varhLeadLifetime":0.0,
"varhLagLifetime":0.0,
"vahLifetime":0.0,
"rmsCurrent":0.27,
"rmsVoltage":240.553,
"reactPwr":0.0,
"apprntPwr":1.514,
"pwrFactor":-1.0,
"whToday":0,
"whLastSevenDays":0,
"vahToday":0,
"varhLeadTod
ay":0,"varhLagToday":0}],
"storage":[{"type":"acb",
"activeCount":0,
"readingTime":0,
"wNow":0,
"whNow":0,"state":"idle"}]}
==================================
EDIT:
The outcome of the command>
http://192.168.1.66/api/v1/production/inverters :
Code: Select all
=================================
[
{
"serialNumber": "121915095354",
"lastReportDate": 1611303724,
"devType": 1,
"lastReportWatts": 4,
"maxReportWatts": 4
},
{
"serialNumber": "121915093494",
"lastReportDate": 1611303731,
"devType": 1,
"lastReportWatts": 3,
"maxReportWatts": 3
},
{
"serialNumber": "121915093025",
"lastReportDate": 1611303727,
"devType": 1,
"lastReportWatts": 3,
"maxReportWatts": 3
},
{
"serialNumber": "121915093523",
"lastReportDate": 1611303732,
"devType": 1,
"lastReportWatts": 3,
"maxReportWatts": 3
},
{
"serialNumber": "121915066311",
"lastReportDate": 1611303728,
"devType": 1,
"lastReportWatts": 3,
"maxReportWatts": 4
},
{
"serialNumber": "121915092825",
"lastReportDate": 1611303723,
"devType": 1,
"lastReportWatts": 4,
"maxReportWatts": 4
},
{
"serialNumber": "121915093502",
"lastReportDate": 1611303728,
"devType": 1,
"lastReportWatts": 3,
"maxReportWatts": 3
}
]
========================================
Hopefully somebody can advise me.
Thanks!