evcc icon indicating copy to clipboard operation
evcc copied to clipboard

invalid charge current limit

Open JPfeiffer66 opened this issue 1 year ago • 4 comments

Describe the bug

Hallo! Seit ein paar Tagen, vermutlich nach einem der letzten Updates, bekomme ich beim Einstellen von MIN+PV im Log die anhängenden Fehler. - Der MIN+PV-Ladevorgang startet dann auch nicht.

An der Anlage oder der Konfiguration wurde bis auf die evcc-Updates der letzten Tage nichts geändert.

Sieht mir nach einem Fehler in der Variablengröße aus!?

Image

Steps to reproduce

  1. Konstant immer bei Aktivierung der MIN+PV-Ladefunktion.

...

Configuration details

# open evcc at http://evcc.local:7070
# http://192.168.2.113:7070/#/

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

log: debug
levels:
  cache: error

# unique installation id
plant: 

interval: 10s # control cycle interval

sponsortoken: 

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

meters:
  # Sunny Home-Manager für die Messung von Einspeisung und Netzbezug
- name: my_grid
  type: template
  template: sma-home-manager 
  usage: grid  
  host: 192.168.2.220  

  # SMA Tri-Power Wechselrichter für die Messung der PV-Produktion  
- name: my_pv
  type: template
  template: sma-hybrid
  usage: pv
  # Modbus TCP
  modbus: tcpip
  id: 3
  host: 192.168.2.xxx # Hostname
  port: 502 # Port 

  # SMA Sunny Island für Messung der Batteriebe- und entladung
- name: my_battery
  type: template
  template: sma-hybrid
  usage: battery
  # Modbus TCP
  modbus: tcpip
  id: 3
  host: 192.168.2.xxx # Hostname
  port: 502 # Port 
  
chargers:
- type: template
  template: smaevcharger 
  host: 192.168.2.xxx 
  user: xxxx
  password: xxxxx  
  name: wallbox4

vehicles:
- name: eup
  title: xxxx e!up 
  type: template
  #template: vw 
  template: id
  user: xxxx
  password: xxxxx  
  vin: xxxxx  
  capacity: 32.3 # kWh 
  phases: 2
  #minSoc: 20 # es wird sofort mit höchstmöglicher Leistung bis zum angegeben Füllstand geladen, wenn der Modus nicht auf off steht
  #targetSoc: 80 # bei Erreichen dieses Füllstandes wird die Ladung gestoppt
  
loadpoints:
- title: Ladesäule Garage
  charger: wallbox4
  mode: pv
  # Max. über 3 Phasen laden
  phases: 3
  # Min. Ampere
  mincurrent: 6
  # Max. Ampere
  maxcurrent: 16
  #resetOnDisconnect: true

site:
  title: xxxxx
  meters:
    grid: my_grid
    pv: my_pv
    battery: my_battery

  
tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.400 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.06 # [currency]/kWh

Log details

[site  ] DEBUG 2025/11/03 13:12:45 ----
[lp-1  ] DEBUG 2025/11/03 13:12:46 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:12:46 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:12:46 grid power: 54W
[site  ] DEBUG 2025/11/03 13:12:46 grid powers: [963 -415 -494]W
[site  ] DEBUG 2025/11/03 13:12:46 grid currents: [4.19 -2.48 -2.18]A
[site  ] DEBUG 2025/11/03 13:12:46 battery 1 power: -1593W
[site  ] DEBUG 2025/11/03 13:12:46 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:12:46 pv 1 power: 2447W
[site  ] DEBUG 2025/11/03 13:12:46 !! solar production: accumulate set my_pv 93684.840kWh meter total (was: Accumulated: 0.092kWh updated: 2025-11-03 13:12:38 +0000 GMT meter: 93684.834kWh)
[site  ] DEBUG 2025/11/03 13:12:46 !! solar production: accumulate moved my_pv from 0.092 to 0.098
[site  ] DEBUG 2025/11/03 13:12:46 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:12:46 site power: 154W
[lp-1  ] DEBUG 2025/11/03 13:12:46 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:12:46 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:12:47 pv charge current: min 4A > 0A (154W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:12:47 set charge current limit 4A: invalid current 4
[site  ] DEBUG 2025/11/03 13:12:48 ----
[lp-1  ] DEBUG 2025/11/03 13:12:48 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:12:48 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:12:48 grid power: 54W
[site  ] DEBUG 2025/11/03 13:12:48 grid powers: [963 -415 -494]W
[site  ] DEBUG 2025/11/03 13:12:48 grid currents: [4.19 -2.48 -2.18]A
[site  ] DEBUG 2025/11/03 13:12:48 battery 1 power: -1593W
[site  ] DEBUG 2025/11/03 13:12:48 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:12:48 pv 1 power: 2441W
[site  ] DEBUG 2025/11/03 13:12:48 !! solar production: accumulate set my_pv 93684.841kWh meter total (was: Accumulated: 0.098kWh updated: 2025-11-03 13:12:46 +0000 GMT meter: 93684.840kWh)
[site  ] DEBUG 2025/11/03 13:12:48 !! solar production: accumulate moved my_pv from 0.098 to 0.099
[site  ] DEBUG 2025/11/03 13:12:48 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:12:48 site power: 154W
[lp-1  ] DEBUG 2025/11/03 13:12:48 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:12:48 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:12:48 pv charge current: min 4A > 0A (154W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:12:48 set charge current limit 4A: invalid current 4
[site  ] DEBUG 2025/11/03 13:12:58 ----
[lp-1  ] DEBUG 2025/11/03 13:12:58 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:12:58 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:12:58 grid power: 37W
[site  ] DEBUG 2025/11/03 13:12:58 grid powers: [910 -396 -477]W
[site  ] DEBUG 2025/11/03 13:12:58 grid currents: [3.96 -2.42 -2.11]A
[site  ] DEBUG 2025/11/03 13:12:58 battery 1 power: -1518W
[site  ] DEBUG 2025/11/03 13:12:58 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:12:58 pv 1 power: 2364W
[site  ] DEBUG 2025/11/03 13:12:58 !! solar production: accumulate set my_pv 93684.847kWh meter total (was: Accumulated: 0.099kWh updated: 2025-11-03 13:12:48 +0000 GMT meter: 93684.841kWh)
[site  ] DEBUG 2025/11/03 13:12:58 !! solar production: accumulate moved my_pv from 0.099 to 0.105
[site  ] DEBUG 2025/11/03 13:12:58 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:12:58 site power: 137W
[lp-1  ] DEBUG 2025/11/03 13:12:58 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:12:58 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:12:59 pv charge current: min 4A > 0A (137W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:12:59 set charge current limit 4A: invalid current 4
[site  ] DEBUG 2025/11/03 13:13:08 ----
[lp-1  ] DEBUG 2025/11/03 13:13:08 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:08 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:08 grid power: 23W
[site  ] DEBUG 2025/11/03 13:13:08 grid powers: [906 -386 -496]W
[site  ] DEBUG 2025/11/03 13:13:08 grid currents: [3.94 -2.39 -2.19]A
[site  ] DEBUG 2025/11/03 13:13:08 battery 1 power: -1496W
[site  ] DEBUG 2025/11/03 13:13:08 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:08 pv 1 power: 2284W
[site  ] DEBUG 2025/11/03 13:13:09 !! solar production: accumulate set my_pv 93684.854kWh meter total (was: Accumulated: 0.105kWh updated: 2025-11-03 13:12:58 +0000 GMT meter: 93684.847kWh)
[site  ] DEBUG 2025/11/03 13:13:09 !! solar production: accumulate moved my_pv from 0.105 to 0.112
[site  ] DEBUG 2025/11/03 13:13:09 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:09 site power: 123W
[lp-1  ] DEBUG 2025/11/03 13:13:09 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:09 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:09 pv charge current: min 4A > 0A (123W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:13:09 set charge current limit 4A: invalid current 4
[site  ] DEBUG 2025/11/03 13:13:18 ----
[lp-1  ] DEBUG 2025/11/03 13:13:18 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:18 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:18 grid power: 53W
[site  ] DEBUG 2025/11/03 13:13:18 grid powers: [881 -356 -472]W
[site  ] DEBUG 2025/11/03 13:13:18 grid currents: [3.83 -2.3 -2.09]A
[site  ] DEBUG 2025/11/03 13:13:18 battery 1 power: -1442W
[site  ] DEBUG 2025/11/03 13:13:18 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:18 pv 1 power: 2229W
[site  ] DEBUG 2025/11/03 13:13:18 !! solar production: accumulate set my_pv 93684.860kWh meter total (was: Accumulated: 0.112kWh updated: 2025-11-03 13:13:09 +0000 GMT meter: 93684.854kWh)
[site  ] DEBUG 2025/11/03 13:13:18 !! solar production: accumulate moved my_pv from 0.112 to 0.118
[site  ] DEBUG 2025/11/03 13:13:18 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:18 site power: 153W
[lp-1  ] DEBUG 2025/11/03 13:13:18 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:18 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:18 pv charge current: min 4A > 0A (153W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:13:18 set charge current limit 4A: invalid current 4
[site  ] DEBUG 2025/11/03 13:13:28 ----
[lp-1  ] DEBUG 2025/11/03 13:13:28 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:28 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:28 grid power: 49W
[site  ] DEBUG 2025/11/03 13:13:28 grid powers: [827 -330 -449]W
[site  ] DEBUG 2025/11/03 13:13:28 grid currents: [3.6 -2.22 -1.99]A
[site  ] DEBUG 2025/11/03 13:13:28 battery 1 power: -1358W
[site  ] DEBUG 2025/11/03 13:13:28 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:28 pv 1 power: 2156W
[site  ] DEBUG 2025/11/03 13:13:28 !! solar production: accumulate set my_pv 93684.866kWh meter total (was: Accumulated: 0.118kWh updated: 2025-11-03 13:13:18 +0000 GMT meter: 93684.860kWh)
[site  ] DEBUG 2025/11/03 13:13:28 !! solar production: accumulate moved my_pv from 0.118 to 0.124
[site  ] DEBUG 2025/11/03 13:13:28 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:28 site power: 149W
[lp-1  ] DEBUG 2025/11/03 13:13:28 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:28 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:28 pv charge current: min 4A > 0A (149W @ 2p, battery: false)
[lp-1  ] ERROR 2025/11/03 13:13:28 set charge current limit 4A: invalid current 4
[lp-1  ] DEBUG 2025/11/03 13:13:35 set session soc limit: 70
[site  ] DEBUG 2025/11/03 13:13:35 ----
[lp-1  ] DEBUG 2025/11/03 13:13:35 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:35 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:35 grid power: 44W
[site  ] DEBUG 2025/11/03 13:13:35 grid powers: [786 -314 -427]W
[site  ] DEBUG 2025/11/03 13:13:35 grid currents: [3.43 -2.18 -1.9]A
[site  ] DEBUG 2025/11/03 13:13:35 battery 1 power: -1324W
[site  ] DEBUG 2025/11/03 13:13:35 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:35 pv 1 power: 2112W
[site  ] DEBUG 2025/11/03 13:13:36 !! solar production: accumulate set my_pv 93684.870kWh meter total (was: Accumulated: 0.124kWh updated: 2025-11-03 13:13:28 +0000 GMT meter: 93684.866kWh)
[site  ] DEBUG 2025/11/03 13:13:36 !! solar production: accumulate moved my_pv from 0.124 to 0.128
[site  ] DEBUG 2025/11/03 13:13:36 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:36 site power: 144W
[lp-1  ] DEBUG 2025/11/03 13:13:36 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:36 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:36 limitSoc reached: 76.0% > 70%
[site  ] DEBUG 2025/11/03 13:13:38 ----
[lp-1  ] DEBUG 2025/11/03 13:13:38 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:38 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:38 grid power: 44W
[site  ] DEBUG 2025/11/03 13:13:38 grid powers: [786 -314 -427]W
[site  ] DEBUG 2025/11/03 13:13:38 grid currents: [3.43 -2.18 -1.9]A
[site  ] DEBUG 2025/11/03 13:13:38 battery 1 power: -1299W
[site  ] DEBUG 2025/11/03 13:13:38 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:38 pv 1 power: 2097W
[site  ] DEBUG 2025/11/03 13:13:38 !! solar production: accumulate set my_pv 93684.871kWh meter total (was: Accumulated: 0.128kWh updated: 2025-11-03 13:13:36 +0000 GMT meter: 93684.870kWh)
[site  ] DEBUG 2025/11/03 13:13:38 !! solar production: accumulate moved my_pv from 0.128 to 0.129
[site  ] DEBUG 2025/11/03 13:13:38 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:38 site power: 144W
[lp-1  ] DEBUG 2025/11/03 13:13:38 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:38 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:38 limitSoc reached: 76.0% > 70%
[site  ] DEBUG 2025/11/03 13:13:48 ----
[lp-1  ] DEBUG 2025/11/03 13:13:48 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:48 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:48 grid power: 51W
[site  ] DEBUG 2025/11/03 13:13:48 grid powers: [728 -274 -404]W
[site  ] DEBUG 2025/11/03 13:13:48 grid currents: [3.19 -2.08 -1.8]A
[site  ] DEBUG 2025/11/03 13:13:48 battery 1 power: -1226W
[site  ] DEBUG 2025/11/03 13:13:48 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:48 pv 1 power: 2028W
[site  ] DEBUG 2025/11/03 13:13:48 !! solar production: accumulate set my_pv 93684.877kWh meter total (was: Accumulated: 0.129kWh updated: 2025-11-03 13:13:38 +0000 GMT meter: 93684.871kWh)
[site  ] DEBUG 2025/11/03 13:13:48 !! solar production: accumulate moved my_pv from 0.129 to 0.135
[site  ] DEBUG 2025/11/03 13:13:48 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:48 site power: 151W
[lp-1  ] DEBUG 2025/11/03 13:13:48 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:48 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:48 limitSoc reached: 76.0% > 70%
[site  ] DEBUG 2025/11/03 13:13:58 ----
[lp-1  ] DEBUG 2025/11/03 13:13:58 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:13:58 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:13:58 grid power: 35W
[site  ] DEBUG 2025/11/03 13:13:58 grid powers: [689 -268 -386]W
[site  ] DEBUG 2025/11/03 13:13:58 grid currents: [3.02 -2.06 -1.73]A
[site  ] DEBUG 2025/11/03 13:13:58 battery 1 power: -1163W
[site  ] DEBUG 2025/11/03 13:13:58 battery 1 soc: 57%
[site  ] DEBUG 2025/11/03 13:13:58 pv 1 power: 1971W
[site  ] DEBUG 2025/11/03 13:13:58 !! solar production: accumulate set my_pv 93684.882kWh meter total (was: Accumulated: 0.135kWh updated: 2025-11-03 13:13:48 +0000 GMT meter: 93684.877kWh)
[site  ] DEBUG 2025/11/03 13:13:58 !! solar production: accumulate moved my_pv from 0.135 to 0.140
[site  ] DEBUG 2025/11/03 13:13:58 battery has priority at soc 57% (< 95%)
[site  ] DEBUG 2025/11/03 13:13:58 site power: 135W
[lp-1  ] DEBUG 2025/11/03 13:13:58 charge total import: 3291.184kWh
[lp-1  ] DEBUG 2025/11/03 13:13:58 charger status: B
[lp-1  ] DEBUG 2025/11/03 13:13:58 limitSoc reached: 76.0% > 70%
[site  ] DEBUG 2025/11/03 13:14:08 ----
[lp-1  ] DEBUG 2025/11/03 13:14:08 charge power: 0W
[lp-1  ] DEBUG 2025/11/03 13:14:08 charge currents: [-0 -0 -0]A
[site  ] DEBUG 2025/11/03 13:14:08 grid power: 40W
[site  ] DEBUG 2025/11/03 13:14:08 grid powers: [642 -233 -370]W
[site  ] DEBUG 2025/11/03 13:14:08 grid currents: [2.82 -1.99 -1.66]A
[site  ] DEBUG 2025/11/03 13:14:08 battery 1 power: -1102W
[site  ] DEBUG 2025/11/03 13:14:08 battery 1 soc: 58%
[site  ] DEBUG 2025/11/03 13:14:08 pv 1 power: 1923W
[site  ] DEBUG 2025/11/03 13:14:08 !! solar production: accumulate set my_pv 93684.887kWh meter total (was: Accumulated: 0.140kWh

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.209.6

JPfeiffer66 avatar Nov 03 '25 13:11 JPfeiffer66

[lp-1 ] ERROR 2025/11/03 13:13:18 set charge current limit 4A: invalid current 4

Da hast du wohl den "Min.Ladestrom" auf 4A eingestellt. Ändere das mal auf 6A.

VolkerK62 avatar Nov 03 '25 14:11 VolkerK62

[lp-1 ] ERROR 2025/11/03 13:13:18 set charge current limit 4A: invalid current 4

Da hast du wohl den "Min.Ladestrom" auf 4A eingestellt. Ändere das mal auf 6A.

In der yaml-Datei hätte ich eigentlich 4A eingestellt. - Trotzdem wird in evcc aber 6A als [default] angezeigt.?? Ich möchte ja nicht erst bei 6A laden.

JPfeiffer66 avatar Nov 03 '25 19:11 JPfeiffer66

Ich möchte ja nicht erst bei 6A laden.

das wirst du aber müssen, weil 6A laut IEC-Norm das Minimum ist.

VolkerK62 avatar Nov 03 '25 19:11 VolkerK62

Da war ich wohl komplett auf dem Holzweg! Habe nun auf 6A eingestellt und alles funktioniert wieder. Vielen Dank für den Hinweis.

JPfeiffer66 avatar Nov 03 '25 20:11 JPfeiffer66