Comments (10)
Thanks for this, it's probably mixed up, will take a look!
from ha-myenergi.
Naming here is confusing/incorrect. The myenergy API labels all non-boosted charge as diversion. It isn't necessarily green and could be very well be imported from the grid.
But I also observed that energy_green isn't computed correctly. Looking at the source I think it doesn't account for local time zone (the myenergy API is in UTC), and because it uses hourly resolution which isn't accurate to get today's data.
from ha-myenergi.
I’ve just checked mine and the green value is tracking / equivalent to the Eddi readings, so definitely a problem.
from ha-myenergi.
too here
from ha-myenergi.
This is a problem for me too. The only MyEnergi Kit I have is the Zappi2 and the hub that came with it. My Energy dashboard only shows the car charge usage as "Green Energy today".
When this is fixed, it would be helpful to understand how the fix is done here so we can prepare for it in such a way that we don't lose our existing data :)
Let me know if there's anything I can share on my side if you need data/testing or point me to the relevant code if I find myself with a bit of free time that you don't have right now :)
from ha-myenergi.
from ha-myenergi.
"Green Energy today" (energy_green) is computed from h1d + h2d + h3d, which is supposed the diversion charge (hence the 'd'). It is green in the sense it's used for charging instead of being exported to the grid.
"Energy used today" (energy_total) is computed from h1b + h2b + h3b, which is boosted charge (hence the 'b').
I think you need to add these two values to obtain the actual energy charged. It's not swapped, but the naming is really confusing.
from ha-myenergi.
I have no generation so nothing is getting diverted, it's 100% imported energy
from ha-myenergi.
The idea of GitHub is also to offer a solution to the issues found by analysing the code and finding an error, then correcting that error through revised code, then if the author agrees, they incorporate the change. All I see recently is criticism for all the hard work that Johan put into this integration without which we’d have nothing.
from ha-myenergi.
Lol, I am working on a PR. But first we need to understand the problem. I might be wrong after all.
from ha-myenergi.
Related Issues (20)
- Manual boost stops if too high boost time set
- Add in an entity called "in session" which during a charge session is ON and when the session ends it changes to OFF HOT 6
- Wrong link shown in the connection page HOT 1
- Warnings for used SensorDeviceClasses.... which will be removed in HA Core 2025.1 HOT 4
- Add device diagnostics
- Harvi CT clamps no longer capturing data, stuck on old reading. HOT 6
- Entities not updating after update. HOT 4
- Add feature to select 1/3/auto phases to be used in ECO+ mode HOT 14
- Detected that custom integration 'myenergi' calls `async_add_job`, which is deprecated and will be removed in Home Assistant 2025.4 HOT 2
- Anyone know how to setup, or have documents for the services in HA HOT 5
- Operating mode unavailable on Libbi/Zappi HOT 7
- Inconsistent descriptions between integration and myenergi firmware descriptions HOT 1
- Calculating daily charge requirements and daily driving costs HOT 2
- Zappi2 Self-Test Failure not reported HOT 26
- Deprecation warning with HA 2024.5.0 HOT 1
- Grid Voltage taken from Zappi Slave, no Eddi vHub grid voltage HOT 8
- some sensors for Zappi showing unavailable after a while HOT 7
- More frequent updates? HOT 4
- custom integration 'myenergi' calls `async_add_job`, which is deprecated HOT 2
- automatic/1/3 phase charging switch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-myenergi.