-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Envoy Lifetime Net Energy: Wrong Values #123071
Comments
Hey there @bdraco, @cgarwood, @joostlek, @catsmanac, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) enphase_envoy documentation |
Hi again @FabFaeb, what you are seeing is the result of 3 phase installations transferring energy between phases by exporting and importing to the grid. This is more a virtual transfer as the phases are separated and there is no way to transfer between them. So when you are running on battery and one of the phases (say phase L1) needs more energy then the battery can provide on that specific phase, while it has energy available on another phase (say phase L2) this virtual transfer takes place. The battery will export to the grid on phase L2 the amount that it is missing on phase L1. And the phase L1 will pull that energy from the grid. In this way the energy seems to have transferred from L2 to L1. As a result the CT on L1 and L2 measure the exported and imported energy that was virtually transferred and the result is the values are too high. Your official grid meter is balancing these amount as many EU countries have Thanks to @Hoffmann77 (briancmpbll/home_assistant_custom_envoy#195 (comment)) explaining the issue. He proposes to use the active current and Riemann integrator to calculate import/export. There is also a description on how to use the current in the coomunity I'm also in the process of adding a lifetime balanced grid import export entity to home assistant which is the sum of import and export. That then can be used to calculate import/export using positive and negative changes much like we did for calculating the battery values the other day (#121988). That would eliminate these double counts using automation and templates. |
Hey @catsmanac - thanks for the quick response! |
Not specifically for enphase. It's one of the Home Assistant integrations and basically covered by the HOme Assistant community and discord. Issues can be reported for the HOme Assisatnt Integration or if pyenphase specific in the pyenphase github. |
Hi @catsmanac , Thanks in advance! Edit: it is also not listed as "disabled" enitity - it's just not there... |
Hi @FabFaeb, no bother at all. The code is indeed merged to core, but new features are mostly only released in the monthly upgrades, while releases inside a month are intended for bug fixes. Currently beta testing for 2024.10 has started and I see the balanced net consumption in included in version 2024.10.0b0. So it will be available with the final release of 2024.10 on October 2. |
Ooh I see - thanks for the clarification! |
The problem
Hi all (and probably @catsmanac ;P),
I am currently playing around with the envoy integration for my newly installed enphase system.
While doing so, I noticed that the values for
Envoy Lifetime net energy consumption
andEnvoy Lifetime net energy production
seem far off when compared to the values in the "Enlighten" app.Here is an example from yesterday: Enlighten reports 0,7 kWh grid consumption and 10,2 kWh grid production. (sorry for the german language in the screenshots - I'd be happy to translate anything for you if there are questions)
While Homeassistant reports 7,8 kWh grid consumption and 17,1 kWh grid production (which is definitely far too high):
I have noticed that the values for "solar production" (18,9 kWh) and the "grid overall" value (9,28 kWh in Homeassistant and 9,5 kWh in Enlighten) seem to be correct and unaffected from this issue.
The energy dashboard values are set as described in https://www.home-assistant.io/integrations/enphase_envoy/#energy-dashboard.
I have attached the diagnostics data of the Envoy-S-Metered-EU Gateway device (running firmware D7.6.358) from Homeassistant.
Do you have any idea where this could be coming from? Could it be possible that the consumption CTs are set to "NET" when they really should be set to "TOTAL"? But why do the Enlighten Values seem to be correct then?
Thanks in advance
FabFaeb
What version of Home Assistant Core has the issue?
core-2024.7.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
enphase_envoy
Link to integration documentation on our website
https://www.home-assistant.io/integrations/enphase_envoy/
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: