evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
2.75k stars 521 forks source link

Überlauf der geladenen Energie-Anzeige #13911

Closed HaareistNase closed 2 weeks ago

HaareistNase commented 2 weeks ago

Describe the bug

Seit einigen Tagen kommt es bei mir zu einem Überlauf der Anzeige für die geladene Strom-Menge. Da ich nichts an meiner Konfiguration geändert habe, würde ich darauf tippen, dass der Bug mit einer der neueren Versionen von evcc gekommen ist.

grafik grafik

Passiert auch bei beiden Autos. Scheint also nicht an den Autos zu liegen. grafik grafik

Ich habe leider keine Ahnung wo dieser Wert herkommt, oder wie ich ihn beeinflussen könnte. Wird der von der Wallbox geliefert oder errechnet ihn evcc? Eventuell könnt ihr mir da helfen.

Steps to reproduce

1. 2. 3. ...

Configuration details

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

influx: 
  url: http://192.168.178.xxxx:8086
  database: homeassistant
  user: xxxx
  password: xxxx

mqtt:
  broker: 192.168.178.xxxx:1883
  topic: evcc
  user: xxxx
  password: xxxx
  clientid: xxxx

log: info
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

# unique installation id
plant: xxxx

interval: 10s # control cycle interval

sponsortoken: xxxx

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

meters:

- type: template
  template: growatt-hybrid
  id: 1
  usage: grid
  modbus: tcpip
  host: 192.168.178.xxx
  port: 5021
  name: grid1

- type: template
  template: growatt-hybrid
  id: 1
  usage: pv
  modbus: tcpip
  host: 192.168.178.xxx
  port: 5021
  name: pv1

- type: template
  template: growatt-hybrid
  id: 1
  usage: pv
  modbus: tcpip
  host: 192.168.178.xxx
  port: 5021
  name: pv2

- type: template
  template: growatt-hybrid
  id: 1
  usage: battery
  modbus: tcpip
  host: 192.168.178.xxx
  port: 5021
  capacity: 19.2
  name: battery3

chargers:
- type: template
  template: innogy-ebox
  id: 1
  host: 192.168.178.xxx
  port: 502
  modbus: tcpip
  name: wallbox5

- type: custom
  identifiers:
  - Upita
  name: ev2
  title: E-Up
  icon: car
  phases: 3
  capacity: 32
  soc:
    source: mqtt
    topic: export/e-up

- type: custom
  identifiers:
  - Penita
  name: ev1
  title: Kia
  icon: car
  phases: 3
  capacity: 64
  soc:
    source: mqtt
    topic: export/niro

loadpoints:
- title: Front
  charger: wallbox5
  mode: off
  soc:
   poll:
     mode: allways
     interval: 2m
   estimate: false
#  resetOnDisconnect: false

# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either
    type: tibber
    token: "xxx" # access token
  feedin:
    type: fixed
    price: 0.068

site:
  title: My home
  meters:
    grid: grid1
    pv:
    - pv1
    - pv2

    battery:
    - battery3
  residualPower: 200 # additional household usage margin
#  prioritySoc: 85 # give home battery priority up to this soc (empty to disable)
#  bufferSoc: 0 # continue charging on battery above soc (0 to disable)
#  bufferStartSoc: 90 # start charging on battery above soc (0 to disable)
  maxGridSupplyWhileBatteryCharging: 1000 # ignore battery charging if AC consumption is above this value
#  smartCostLimit: 0 # set cost limit for automatic charging in PV mode

Log details

[lp-1  ] DEBUG 2024/05/15 12:17:43 charge total import: -872424.875kWh
[lp-1  ] DEBUG 2024/05/15 12:17:43 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:17:43 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:17:43 pv charge current: 14.3A = 10A + 4.31A (-992W @ 1p)
[site  ] DEBUG 2024/05/15 12:17:51 ----
[lp-1  ] DEBUG 2024/05/15 12:17:53 charge power: 2157W
[lp-1  ] DEBUG 2024/05/15 12:17:53 charge currents: [9.12 0.15 0.11]A
[site  ] DEBUG 2024/05/15 12:17:54 pv power: 4210W
[site  ] DEBUG 2024/05/15 12:17:55 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:17:55 battery power: -1190W
[site  ] DEBUG 2024/05/15 12:17:56 grid meter: 84W
[site  ] DEBUG 2024/05/15 12:17:56 site power: -906W
[lp-1  ] DEBUG 2024/05/15 12:17:56 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:17:56 charge total import: -872424.875kWh
[lp-1  ] DEBUG 2024/05/15 12:17:56 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:17:56 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:17:56 pv charge current: 13.9A = 10A + 3.94A (-906W @ 1p)
[site  ] DEBUG 2024/05/15 12:18:01 ----
[lp-1  ] DEBUG 2024/05/15 12:18:01 charge power: 2164W
[lp-1  ] DEBUG 2024/05/15 12:18:01 charge currents: [9.15 0.11 0.15]A
[site  ] DEBUG 2024/05/15 12:18:02 pv power: 4213W
[site  ] DEBUG 2024/05/15 12:18:02 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:18:02 battery power: -1147W
[site  ] DEBUG 2024/05/15 12:18:02 grid meter: 33W
[site  ] DEBUG 2024/05/15 12:18:03 site power: -914W
[lp-1  ] DEBUG 2024/05/15 12:18:03 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:18:03 charge total import: -872424.875kWh
[lp-1  ] DEBUG 2024/05/15 12:18:03 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:18:03 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:18:03 pv charge current: 14A = 10A + 3.97A (-914W @ 1p)
[site  ] DEBUG 2024/05/15 12:18:11 ----
[lp-1  ] DEBUG 2024/05/15 12:18:11 charge power: 2164W
[lp-1  ] DEBUG 2024/05/15 12:18:11 charge currents: [9.15 0.11 0.15]A
[site  ] DEBUG 2024/05/15 12:18:12 pv power: 4208W
[site  ] DEBUG 2024/05/15 12:18:12 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:18:12 battery power: -1170W
[site  ] DEBUG 2024/05/15 12:18:13 grid meter: -172W
[site  ] DEBUG 2024/05/15 12:18:13 site power: -1142W
[lp-1  ] DEBUG 2024/05/15 12:18:13 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:18:13 charge total import: -872424.875kWh
[lp-1  ] DEBUG 2024/05/15 12:18:13 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:18:13 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:18:13 pv charge current: 15A = 10A + 4.96A (-1142W @ 1p)
[site  ] DEBUG 2024/05/15 12:18:21 ----
[lp-1  ] DEBUG 2024/05/15 12:18:21 charge power: 2148W
[lp-1  ] DEBUG 2024/05/15 12:18:21 charge currents: [9.12 0.11 0.11]A
[site  ] DEBUG 2024/05/15 12:18:22 pv power: 4202W
[site  ] DEBUG 2024/05/15 12:18:23 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:18:23 battery power: -1130W
[site  ] DEBUG 2024/05/15 12:18:23 grid meter: 0W
[site  ] DEBUG 2024/05/15 12:18:23 site power: -930W
[lp-1  ] DEBUG 2024/05/15 12:18:23 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:18:23 charge total import: -872424.875kWh
[lp-1  ] DEBUG 2024/05/15 12:18:23 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:18:23 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:18:24 pv charge current: 14A = 10A + 4.04A (-930W @ 1p)
[site  ] DEBUG 2024/05/15 12:18:31 ----
[lp-1  ] DEBUG 2024/05/15 12:18:31 charge power: 2167W
[lp-1  ] DEBUG 2024/05/15 12:18:31 charge currents: [9.12 0.15 0.15]A
[site  ] DEBUG 2024/05/15 12:18:32 pv power: 4218W
[site  ] DEBUG 2024/05/15 12:18:32 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:18:32 battery power: -1230W
[site  ] DEBUG 2024/05/15 12:18:33 grid meter: -18W
[site  ] DEBUG 2024/05/15 12:18:33 site power: -1048W
[lp-1  ] DEBUG 2024/05/15 12:18:33 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:18:33 charge total import: -872424.812kWh
[lp-1  ] DEBUG 2024/05/15 12:18:33 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:18:33 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:18:33 pv charge current: 14.6A = 10A + 4.56A (-1048W @ 1p)
[site  ] DEBUG 2024/05/15 12:18:41 ----
[lp-1  ] DEBUG 2024/05/15 12:18:41 charge power: 2173W
[lp-1  ] DEBUG 2024/05/15 12:18:41 charge currents: [9.19 0.15 0.11]A
[site  ] DEBUG 2024/05/15 12:18:42 pv power: 4210W
[site  ] DEBUG 2024/05/15 12:18:42 battery soc: 60%
[site  ] DEBUG 2024/05/15 12:18:42 battery power: -1220W
[site  ] DEBUG 2024/05/15 12:18:43 grid meter: -70W
[site  ] DEBUG 2024/05/15 12:18:43 site power: -1090W
[lp-1  ] DEBUG 2024/05/15 12:18:43 detected active phases: 1p
[lp-1  ] DEBUG 2024/05/15 12:18:43 charge total import: -872424.812kWh
[lp-1  ] DEBUG 2024/05/15 12:18:43 charger status: C
[lp-1  ] DEBUG 2024/05/15 12:18:43 vehicle soc: 64%
[lp-1  ] DEBUG 2024/05/15 12:18:43 pv charge current: 14.7A = 10A + 4.74A (-1090W @ 1p)

What type of operating system are you running?

Offizieller Docker-Container für Home-Assistant auf einer nativen Home-Assistant-Installation.

Version

No response

naltatis commented 2 weeks ago

@HaareistNase kannst du mal evcc charger ausführen und das Ergebnis zeigen?

HaareistNase commented 2 weeks ago

Ups ... wie mache ich das im Home-Assistant-Docker? Gehts auch vom Test-Pi?

evcc charger [main ] INFO 2024/05/15 13:34:08 evcc 0.118.11 [main ] INFO 2024/05/15 13:34:08 using config file: /home/pi/evcc.yaml [mqtt ] INFO 2024/05/15 13:34:09 connecting evcc at tcp://192.168.178.21:1883 Power: 0W Current L1..L3: 0.15A 0.15A 0.15A Charge status: B Enabled: false

Schnell ein Update auf dem Testpi gemacht.

evcc charger [main ] INFO 2024/05/15 13:37:23 evcc 0.126.2 [main ] INFO 2024/05/15 13:37:23 using config file: /home/pi/evcc.yaml [mqtt ] INFO 2024/05/15 13:37:24 connecting evcc at tcp://192.168.178.21:1883 Power: 3547W Energy: -872422.8kWh Current L1..L3: 15.1A 0.15A 0.15A Charge status: C Enabled: false

naltatis commented 2 weeks ago

@premultiply magst du mal schauen, wo hier der Energy Wert herkommt?

VolkerK62 commented 2 weeks ago

EnergyMeter ist in 0.126.0 reingekommen. Wurde aber nach 0.126.2 reverted https://github.com/evcc-io/evcc/commit/7d67b502a7600a8231aabb98cc6c144990d62445. Änderung ist also nur im Nightly verfügbar.

andig commented 2 weeks ago

...und damit gelöst :)

HaareistNase commented 2 weeks ago

...und damit gelöst :)

Versteh ich das richtig, in der 126.2, die ich im HA benutze, dürfte das nicht vorkommen? Oder verteilt ihr im Home-Assistant-Addon die nightlys?

TobiasHuber1980 commented 2 weeks ago

Im HA gibt's keine nightly... also abwarten bis zum nächsten master....

HaareistNase commented 1 week ago

Super, in den beiden neuen Versionen ist der Fehler nicht mehr aufgetreten. Danke dafür.