evcc: In mode "now" evcc uses only maxcurrent from vehicle, no longer from loadpoint
Describe the bug
I have defined maxcurrent for the vehicle to 22A, but for my loadpoint only to 20A, since the line to my loadpoint does not support more than 20A.
Until version 0.123.0 my loading current was always 20A, no matter what mode I was using. With the new christmas version now my car loads with 22A, when I use mode “now”. I can confirm on my phoenix wallbox, that 22A is really set as limit.
I would expect, that the maxcurrent that the loadpoint is using, depends on the specified maxcurrent of the connected car AND the specified maxcurrent of the loadpoint, whatever is lower.
Steps to reproduce
- define maxcurrent of the car higher than maxcurrent of loadpoint
- charge with mode pv, check max. power value
- change to mode now (or charge to minSoc)
- check max. power value
Configuration details
vehicles:
- type: template
template: carwings
title: Nissan Leaf
user: ***
password: ***
capacity: 40
phases: 1
icon: car
cache: 15m
#mode: pv
#minSoc: 30
#targetSoc: 80
minCurrent: 6
maxCurrent: 22
name: ev1
loadpoints:
- title: Garage Carmen
charger: wallbox1
vehicle: ev1
mode: pv
phases: 3
mincurrent: 6
maxcurrent: 20
# resetOnDisconnect: false
soc:
poll:
mode: always
interval: 720m
Log details
provided, if necessary.
What type of operating system are you running?
Linux
Version
0.123.2
About this issue
- Original URL
- State: open
- Created 6 months ago
- Comments: 17 (14 by maintainers)
Unser Vorschlag (@premultiply) analog @DerAndereAndi:
minCurrent
: Use the max of loadpoint, charger and vehicle minCurrentmaxCurrent
: Use the min of loadpoint, charger and vehicle maxCurrentDabei:
minCurrent
< Loadpoint-Minimum erwünscht ist. Dafür gibt es in der Implementierung eine Standard 6A Untergrenze falls sonst nichts definiert ist (Case: EEbus)Offen:
Du meinst den unterschiedlichen minCurrent für 1p und 3p? Das wird doch heute auch nicht unterstützt wenn ich mich nicht irre. Daher wäre das dafür keine Lösung aber für alle anderen und damit besser als der Status Quo. Irre ich mich hier?
Um den Fall zu unterstützen, müsstet ihr wohl unterschiedliche
minCurrent
Einstellungen für 1p und 3p auf vehicle Ebene ermöglichen. Und dann je nach Lademodus (1p oder 3p an der Wallbox) den entsprechenden nehmen oder entsprechende der Phases Einstellung der Wallbox. Einen anderen Weg um dieses Problem zu lösen sehe ich nicht. Spricht aber jetzt auch imho nicht gegen den gemachten Vorschlag.