Energy Import too high; Export shows 0
Closed this issue · 18 comments
Hi @matt1131 can you upload the diagnostics file? That will help analyzing what's happening. There's no sensitive data in there but it will show names of other integrations installed and the envoy serial number. Feel free to remove and replace those but the data in the Envoy section is key to analysis.
On the Envoy Device page click the download diagnostics button. It will download a file to your workstation. Then rename it to a .txt file and attach it here.
config_entry-enphase_envoy.txt
Here you go. Thanks for the quick reply
For now just some notes on the data I see in the diagnostics file
Segment | Field | Value | notes |
---|---|---|---|
Production | whLifetime | 831604 | Sum phases matches. Number matches Enlighten Manger (EM) |
Production.lines[0] | whLifetime | 414166 | |
Production.lines[1] | whLifetime | 417437 | |
total-consumption | whLifetime | 799404 | Sum phases matches. Numbers shows in EM as consumed. Numbers matches Production.whLifetime - net-consumption.whlifetime |
total-consumption.lines[0] | whLifetime | 493290 | |
total-consumption.lines[1] | whLifetime | 306114 | |
net-consumption | whLifetime | -32199 | Sum phases matches. |
net-consumption.lines[0] | whLifetime | 79123 | |
net-consumption.lines[1] | whLifetime | -111323 | |
readings[0] | actEnergyDlvd | 831604 | Sum channels matches.Matches production whLifetime. |
readings[0] | actEnergyRcvd | 12 | |
readings[0].channels[0] | actEnergyDlvd | 414166 | |
readings[0].channels[0] | actEnergyRcvd | 6 | |
readings[0].channels[1] | actEnergyDlvd | 417437 | |
readings[0].channels[1] | actEnergyRcvd | 6 | |
readings[1] | actEnergyDlvd | 798683 | Sum channels matches. |
readings[1] | actEnergyRcvd | 0 | |
readings[1].channels[0] | actEnergyDlvd | 492931 | |
readings[1].channels[0] | actEnergyRcvd | 0 | |
readings[1].channels[1] | actEnergyDlvd | 305751 | |
readings[1].channels[1] | actEnergyRcvd | 0 |
Yes, installed 07/2023, PTO about 3 weeks ago
Export and Import numbers reported are Energy exchanged with the grid. What Enlighten shows as consumed is what the house consumed. These are something different. What the house uses is what is used from solar production and from grid-import. The envoy refers to it as total-consumption. These numbers in your system and enphase match.
The export being zero is an issue. The potential remarkable is the net consumption with 1 phase positive and 1 phase negative. Your solar production seems divided over both phases. Is there a specific load that may explain this huge difference, are both CT correctly installed, can you find more consumption in Enlighten website? (I have no ct so can't tell you where to look.)
The Solar production number 833kWh and the 795kWh the house consumed are very close which suggest that the house used 95% of solar production. That would be an excellent score and may be the case, but looking at my own numbers with 24 panels running since February I reached 16% and majority went on to the grid. As said, may be perfectly normal, just that the numbers draw some attention.
Thanks for looking into this. The daily consumption reported by Enlighten seems accurate compared to my Emporia Vue 2 CTs. I don't have a lifetime consumption to compare, but if I look at the net between Enlighten's lifetime produced and consumed, it closely matches my utility net meter reading plus 1 day's consumption to account for the lag between meter swap and PTO. All that to say, I don't think there's a CT issue. There are a number of reports available on the Enlighten website, but some of them won't include today's data:
The production and consumption numbers are accurate as far as I can tell. For the last 3 weeks I'm a little better than even (net exported ~61 kWh). I'm using more energy at night, but generating a lot more during the day. For reference, I have 34 405W panels.
There is something in the net-consumption data of your Envoy I don't get. I have a suspicion that is related to incorrect new export/import numbers. I also noted that net-consumption whToday and whlastsevendays report as 0. That is very often an indication the ct is not there or configured incorrectly. Along with the negative data on one of the phases this is the reason for me asking.
The report you send shows net-consumption "wNow": -4640.57, which would mean you are consuming 4Kw from grid while solar production wNow": 6702.599. And the envoy report show total consumption: "wNow": 2062.029. Enphase explains here and show 2 screens where to see it..
Just for reference, I have 24 380W panels installed in n-east/s-west orientation on a flat roof here in the Netherlands (no shade). Last 3 weeks I net exported 208, 185 and 179. I'm measuring grid import/export with my smart utility meter, I only have production data on my envoy standard.
Last week of 179 net export shows in HA as:
I think I may know why. I had forgotten that my consumption CTs are installed "load only"
I followed this thread to create a Riemann sum for my import and export:
Would this explain why I have some negative values? Is there a way to use this data rather than the Riemann Import/Export I'm using or would it have to be another calculated entity?
@matt1131 can you show the response to this request: http://enphase_envoy/ivp/meters
?
I'm probably doing something wrong, i dont get anything. What's the best way to do that?
What's the best way to do that?
You need to authenticate first: https://enphase.com/download/accessing-iq-gateway-local-apis-or-local-ui-token-based-authentication
@matt1131, in your browser enter http://envoy/ivp/meters It will respond you are not authorized and show the authorization page. (Use envoy or envoy.local rather then enphase_envoy for the name)
If you have your token already you can paste it in the token field and click submit. If you don't have it you can get it from the Enphase website https://entrez.enphaseenergy.com/. as described in the document @testuser7 shared.
Would this explain why I have some negative values?
Yes the Load Only configuration of the consumption CT causes the issue reported.
There's no way for Envoy to calculate actual exports in this case. The net-consumption and Export Index and Import Index have numbers but these don't mean much in this case. These are calculated as Consumption CT - Production CT (799404 - 831604 = -32199). That calculation makes sense if the Consumption CT includes the solar production but not if it is load only.
The consumption number from the Enlighten site can be seen in HA in the Envoy Lifetime Energy Consumption entity while realizing there may be small differences as Enphase collects once every 15 minutes.
I followed this thread to create a Riemann sum for my import and export:
That is a thread wit lots of details. If you are Riemann to integrate your Emporia Vue CT's, it is a valid thing to do. Provided they measure the combined Solar and House flows as if they are Envoy Load with Solar production CT. (I'm using Riemann to integrate all my individual Solar panels and these numbers are close to what Enphase site reports.) I think the Emphoria also has 1 day integrated numbers you can use for your dashboard.
Thanks, got it:
[
{
"eid": 704643328,
"state": "enabled",
"measurementType": "production",
"phaseMode": "split",
"phaseCount": 2,
"meteringStatus": "normal",
"statusFlags": []
},
{
"eid": 704643584,
"state": "enabled",
"measurementType": "total-consumption",
"phaseMode": "split",
"phaseCount": 2,
"meteringStatus": "normal",
"statusFlags": []
}
]
Thanks @matt1131. So final conclusion to this issue is that when Consumption CT is in load only configuration, the Export and Import values can not be calculated by envoy and values reported have no meaning. To avoid confusion here a documentation update should be done and potentially not creating the import and export entities when ivp/meters reports measurement type as total-consumption
Makes sense. Thanks for your help!