evcc: go-e: session energy gets stuck when charging is paused over night in PV mode

Describe the bug

I observed multiple times that the charged counter that displays how many kWh have been charged gets stuck when the charging is paused for some hours or overnight.

For example, I started loading my vehicle yesterday in PV mode. Throughout the day, 9.3 kWh have been sent to the car’s battery. I did not stop the charging process overnight, but just let evcc manage it. As there was no surplus, the loading stopped at some time yesterday afternoon. Today around noon, when some surplus was available, the charging resumed. Even though the car state of charge display shows progress, the “charged” counter gets stuck at yesterdays 9.3 kWh.

The screenshot below shows inconsistent numbers:

image

Steps to reproduce

  1. Start Loading in PV mode
  2. After sunset, check the charged counter
  3. Wait until there is some surplus available the next day
  4. The charge counter will not be updated

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: info
levels:
  cache: error

# unique installation id
plant: xyz

interval: 10s # control cycle interval

sponsortoken: token

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false

meters:
- type: template
  template: solaredge-hybrid
  id: 1
  host: ip
  port: 1502
  usage: grid
  modbus: tcpip
  name: grid1
- type: template
  template: solaredge-hybrid
  id: 1
  host: ip
  port: 1502
  usage: pv
  modbus: tcpip
  name: pv2
- type: template
  template: solaredge-hybrid
  id: 1
  host: ip
  port: 1502
  usage: battery
  modbus: tcpip
  name: battery3

chargers:
- type: template
  template: go-e-v3
  host: ip
  name: wallbox4

loadpoints:
- title: Garage
  charger: wallbox4
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: Home
  meters:
    grid: grid1
    pvs:
    - pv2
    batteries:
    - battery3
  bufferSoc: 100
  prioritySoc: 75
  residualPower: 0   


vehicles:
  - name: born
    type: template
    template: cupra
    title: Cupra Born # Wird in der Benutzeroberfläche angezeigt (Optional)
    user: email # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: pw # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    #vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (Optional)
    #capacity: 50 # Akkukapazität in kWh (Optional) 
  - name: my_car
    type: template
    template: kia
    title: ev6 # Wird in der Benutzeroberfläche angezeigt (optional)
    user: email # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: pw # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    # vin:# Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
    capacity: 77.4  # Akkukapazität in kWh (optional)
    language: de # 'de' für Deutsch und 'en' für Englisch (optional)

Log details

evcc meter
[main  ] INFO 2023/10/23 11:30:13 evcc 0.121.1
[main  ] INFO 2023/10/23 11:30:13 using config file: /etc/evcc.yaml
[db    ] INFO 2023/10/23 11:30:14 using sqlite database: /home/pi/.evcc/evcc.db
grid1
-----
Power: 65W

pv2
---
Power: 2451W

battery3
--------
Power: 523W
Soc:   85%

What type of operating system are you running?

Linux

Version

evcc version 0.121.1

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 36 (23 by maintainers)

Most upvoted comments

Ich habs mal lesbar formatiert…

D.h. dein Vorschlag wäre also Änderung ohne hier weiter root cause Analyse zu machen? Für mich auch ok 😃