bassmaster187 / TeslaLogger

TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
https://www.teslalogger.de
GNU General Public License v3.0
504 stars 167 forks source link

go-e Charger -> no PV share calculated #1252

Open rosch99 opened 5 months ago

rosch99 commented 5 months ago

Describe the bug PV-Share is not calculated when using go-e charger wallbox.

Expected behavior newer firmware versions support the following additional API keys so it should be possible to calculate PV share while charging. pgrid --> PowerGrid (in Watt) ppv --> PowerPV (in Watt) pakku --> PowerAkku (in Watt)

Screenshots If applicable, add screenshots to help explain your problem. screenshot_wallbox_go-e_charger

api_status_go-e_charger

Teslalogger Type Docker on a Raspberry Pi4
Did you update the Image with apt-get update & upgrade?

Do you use Tasker or iBeacon no

Additional context go-e Charger API --> https://github.com/goecharger/go-eCharger-API-v2

Adminius commented 5 months ago

Hey, grid power (kW) doesn't help. We need energy (kWh).

rosch99 commented 5 months ago

Does that mean the wallbox needs to calculate the PV share? I dont think go-e charger can do that, imho "pgrid", "ppv" and "pakku" are (only) used to calculate power for surplus charging.

Adminius commented 5 months ago

calculate power for surplus charging

That's the problem: power, we need energy ;) If a wallbox has energy values for the grid (like cFos, openWB...), we can use it. Power only doen't help at all in our case.

rosch99 commented 4 months ago

Ok, i got it. What i dont get is, since energy is power for a given time (kWh) which timeframe should be used to calc the PV share? Is it energy_Grid and energy_PV for THIS charging session, could be complicated to get? How is this calculated (and reported) by cFos, openWB?

Adminius commented 4 months ago

cFos (and openWB) has direct connection to the Meter and get precalculated kWh

You can't take power x time, because time should be each second, because you charging with PV and power differs every second...

rosch99 commented 1 month ago

I would like to take up this topic again.

What energy data is required to calculate the PV share?

-Amount of energy for this charging session (kWh) from the wallbox? -Amount of energy from the grid (kWh, which is an ever inceasing counter!)

Are these the correct counters, what data do cFos and OpenWB provide?

Adminius commented 1 month ago

-Amount of energy for this charging session (kWh) from the wallbox? -Amount of energy from the grid (kWh, which is an ever inceasing counter!)

🤪