evcc: Charging with KEBA is not stopped, if mode is set to "stop" in gui
Describe the bug If the charging mode is switched from “Nur PV” (only PV) to “Stop” in the GUI, charging continues and is not stopped
To Reproduce Steps to reproduce the behavior:
- Go to the GUI, charging is ongoing in ‘Nur PV’ (only PV) mode
- Click on ‘Stop’
- Charging should stopp, but in the ‘Fahrzeug’ (vehicle) information, still ‘lädt’ (charging) is shown
- See error
Expected behavior Charging should stopp if it’s selected in the GUI.
EVCC details:
Show output of evcc -v
:
evcc version 0.56 (cad5996)
Show evcc configuration file evcc.yaml
:
uri: xxx.xxx.xxx.xxx:7070 # uri for ui interval: 10s # control cycle intervallog: debug levels: core: debug lp-1: debug lp-2: fatal
meters:
- name: grid
type: default
power:
type: calc
add:
- type: modbus value: Power model: sunspec uri: xxx.xxx.xxx.xxx:502 # Wechselrichter id: 126 scale: -1
- type: http uri: http://xxx.xxx.xxx:8081/xxx jq: .data[0].tuples[0][1] #parste response json scale: 0.01
Berechnung: grid = xxx - Wechselrichter
- name: pv type: default power: type: modbus value: Power model: sunspec uri: xxx.xxx.xxx.xxx:502 # Wechselrichter id: 126
chargers:
- name: keba type: keba uri: xxx.xxx.xxx.xxx
site: title: xxx meters: grid: grid pv: pv # pv meter
loadpoints:
- title: Garage # display name for UI
charger: keba # charger
mode: pv
soc:
min: 0 # immediately charge to 0% regardless of mode unless “off” (disabled)
target: 100 # always charge to 100%
estimate: false # set true to interpolate between api updates
levels: # target soc levels for UI
- 30
- 50
- 80
- 100 onDisconnect: # set defaults when vehicle disconnects mode: pv # switch back to pv mode targetSoC: 100 # charge to 100% phases: 2 # ev phases (default 3) enable: # pv mode enable behavior delay: 1m # threshold must be exceeded for this long threshold: -2800 # minimum export power (W). If zero, export must exceed minimum charge power to enable disable: # pv mode disable behavior delay: 5m # threshold must be exceeded for this long threshold: 200 # maximum import power (W) guardduration: 10m # switch charger contactor not more often than this (default 10m) mincurrent: 0 # minimum charge current (default 6A) maxcurrent: 16 # maximum charge current (default 16A)
Show evcc log output with --log error
:
[lp-1 ] INFO 2021/06/11 14:18:02 set charge mode: off [lp-1 ] DEBUG 2021/06/11 14:18:03 charge power: 3801W [lp-1 ] DEBUG 2021/06/11 14:18:03 charge currents: [8.28 8.19 0]A [lp-1 ] DEBUG 2021/06/11 14:18:03 detected phases: 2p [8.28 8.19 0]A [lp-1 ] DEBUG 2021/06/11 14:18:03 charger status: C [lp-1 ] DEBUG 2021/06/11 14:18:03 charger vehicle id: 0000000000000000 [lp-1 ] DEBUG 2021/06/11 14:18:03 max charge current: 0 [lp-1 ] DEBUG 2021/06/11 14:18:09 charge power: 3824W [lp-1 ] DEBUG 2021/06/11 14:18:09 charge currents: [8.27 8.2 0]A [lp-1 ] DEBUG 2021/06/11 14:18:09 detected phases: 2p [8.27 8.2 0]A [lp-1 ] DEBUG 2021/06/11 14:18:09 charger status: C [lp-1 ] DEBUG 2021/06/11 14:18:09 charger vehicle id: 0000000000000000
Some more detailed report from a later analysis:
Show evcc log output with --log trace
:
[lp-1 ] DEBUG 2021/06/11 14:54:54 charger vehicle id: 0000000000000000 [keba ] TRACE 2021/06/11 14:54:54 send to xxx.xxx.xxx.xxx:7090 report 2 [keba ] TRACE 2021/06/11 14:54:54 recv from xxx.xxx.xxx.xxx:7090 { "ID": "2", "State": 3, "Error1": 0, "Error2": 0, "Plug": 7, "AuthON": 0, "Authreq": 0, "Enable sys": 1, "Enable user": 1, "Max curr": 16000, "Max curr %": 266, "Curr HW": 16000, "Curr user": 16000, "Curr FS": 0, "Tmo FS": 0, "Curr timer": 7595, "Tmo CT": 0, "Setenergy": 0, "Output": 0, "Input": 0, "Serial": "xxxxxxxx", "Sec": 1373381 } [lp-1 ] DEBUG 2021/06/11 14:54:54 max charge current: 0 [keba ] TRACE 2021/06/11 14:54:54 send to xxx.xxx.xxx.xxx:7090 curr 0 [keba ] TRACE 2021/06/11 14:54:54 recv from xxx.xxx.xxx.xxx:7090 TCH-OK :done [cache ] TRACE 2021/06/11 14:54:54 chargeCurrent: 0 [cache ] TRACE 2021/06/11 14:54:54 remoteDisabled: [keba ] TRACE 2021/06/11 14:54:56 recv from xxx.xxx.xxx.xxx:7090 {"E pres": 60283} [keba ] TRACE 2021/06/11 14:54:56 recv: listener blocked [modbus] TRACE 2021/06/11 14:54:59 modbus: closing connection due to idle timeout: 5.000101031s [keba ] TRACE 2021/06/11 14:55:00 recv from xxx.xxx.xxx.xxx:7090 {"Max curr": 6000} [keba ] TRACE 2021/06/11 14:55:00 recv: listener blocked [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 {"E pres": 60379} [keba ] TRACE 2021/06/11 14:55:02 recv: listener blocked [site ] DEBUG 2021/06/11 14:55:02 ---- [modbus] ... [site ] DEBUG 2021/06/11 14:55:02 pv power: 7890W [cache ] TRACE 2021/06/11 14:55:02 pvPower: 7890 [modbus] ... read pv power from inverter [http ] ... read site power via vzlogger [site ] DEBUG 2021/06/11 14:55:02 grid power: -177W [site ] DEBUG 2021/06/11 14:55:02 site power: -177W [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 3 [cache ] TRACE 2021/06/11 14:55:02 gridPower: -176.8800000000001 [cache ] TRACE 2021/06/11 14:55:02 mode: off [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { "ID": "3", "U1": 236, "U2": 236, "U3": 237, "I1": 6041, "I2": 6008, "I3": 0, "P": 2811389, "PF": 985, "E pres": 60384, "E total": xxxxxxx, "Serial": "xxxxxxxx", "Sec": 1373390 } [lp-1 ] DEBUG 2021/06/11 14:55:02 charge power: 2811W [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 3 [cache ] TRACE 2021/06/11 14:55:02 chargePower: 2811.389 [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { ... } [lp-1 ] DEBUG 2021/06/11 14:55:02 charge currents: [6.04 6.01 0]A [lp-1 ] DEBUG 2021/06/11 14:55:02 detected phases: 2p [6.04 6.01 0]A [cache ] TRACE 2021/06/11 14:55:02 chargeCurrents: [6.041 6.008 0] [cache ] TRACE 2021/06/11 14:55:02 activePhases: 2 [cache ] TRACE 2021/06/11 14:55:02 chargeCurrent: 0 [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 3 [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { ... } [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 2 [cache ] TRACE 2021/06/11 14:55:02 chargedEnergy: 6038.400000000001 [cache ] TRACE 2021/06/11 14:55:02 chargeDuration: 2m10s [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { ... } [lp-1 ] DEBUG 2021/06/11 14:55:02 charger status: C [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 100 [cache ] TRACE 2021/06/11 14:55:02 connected: true [cache ] TRACE 2021/06/11 14:55:02 charging: true [cache ] TRACE 2021/06/11 14:55:02 enabled: true [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { "ID": "100", ... } [lp-1 ] DEBUG 2021/06/11 14:55:02 charger vehicle id: 0000000000000000 [keba ] TRACE 2021/06/11 14:55:02 send to xxx.xxx.xxx.xxx:7090 report 2 [keba ] TRACE 2021/06/11 14:55:02 recv from xxx.xxx.xxx.xxx:7090 { "ID": "2", "State": 3, "Error1": 0, "Error2": 0, "Plug": 7, "AuthON": 0, "Authreq": 0, "Enable sys": 1, "Enable user": 1, "Max curr": 6000, "Max curr %": 100, "Curr HW": 16000, "Curr user": 6000, "Curr FS": 0, "Tmo FS": 0, "Curr timer": 7595, "Tmo CT": 0, "Setenergy": 0, "Output": 0, "Input": 0, "Serial": "xxxxxxxx", "Sec": 1373390 }
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (13 by maintainers)
UPDATE kannst Du Dir sparen. Du hast
minCurrent: 0
konfiguriert was quatsch ist. Bitte nimm den Defaultwert.@andig Kann das Problem auch nicht nachvollziehen, habe ja einige Kebas im Einsatz.
Da uns hier ein aussagekräftiges Logfile fehlt mache ich mal zu. Gerne mit Log einschl. der
ENA
Statements wieder öffnen.