Closed dlein closed 4 months ago
@dlein The easee wallbox automatically starts charging once you connect a car. We cant to anything about that. But evcc should stop the charge shortly after if not enough surplus is available (or priorities are not in favor of this loadpoint.
When I understand correctly, this stopping does not happen at all? Or only in some conditions?
@naltatis, correct. When it still worked, it used to start charging and stopped when it detected that it shouldn't according to configuration. That disabling is what stopped working. It just keeps charging.
I was unable to reproduce this with me easee+tesla setup. Stopping the charger worked as expected. Priority SoC of 30% wasn't reached.
[lp-1 ] DEBUG 2024/05/03 09:20:55 charger status: C
[lp-1 ] INFO 2024/05/03 09:20:55 start charging ->
[lp-1 ] DEBUG 2024/05/03 09:20:55 wake-up timer: stop
[lp-1 ] DEBUG 2024/05/03 09:20:55 soc estimated: 76.00% (vehicle: 76.00%)
[lp-1 ] DEBUG 2024/05/03 09:20:55 vehicle soc: 76%
[lp-1 ] DEBUG 2024/05/03 09:20:55 vehicle soc limit: 80%
[lp-1 ] DEBUG 2024/05/03 09:20:55 vehicle range: 379km
[lp-1 ] WARN 2024/05/03 09:20:55 charger logic error: disabled but charging
[lp-1 ] DEBUG 2024/05/03 09:20:58 pv timer elapse
[lp-1 ] DEBUG 2024/05/03 09:20:58 pv timer inactive
[lp-1 ] DEBUG 2024/05/03 09:20:58 charger enable
[lp-1 ] DEBUG 2024/05/03 09:20:58 pv charge current: 0A = 0A + -8.87A (2040W @ 1p)
[lp-1 ] DEBUG 2024/05/03 09:20:58 projected site power 2040W >= 700W disable threshold
[lp-1 ] DEBUG 2024/05/03 09:20:58 pv disable in 0s
[lp-1 ] DEBUG 2024/05/03 09:20:58 pv disable timer elapsed
[lp-1 ] DEBUG 2024/05/03 09:21:00 charger disable
[lp-1 ] DEBUG 2024/05/03 09:21:00 wake-up timer: stop
[site ] DEBUG 2024/05/03 09:21:05 ----
[lp-1 ] DEBUG 2024/05/03 09:21:05 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 09:21:05 charge currents: [0.009 0 0]A
[lp-2 ] DEBUG 2024/05/03 09:21:05 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:05 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:05 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 09:21:05 charge power: 0W
[site ] DEBUG 2024/05/03 09:21:05 pv power: 612W
[site ] DEBUG 2024/05/03 09:21:05 battery soc: 22%
[site ] DEBUG 2024/05/03 09:21:05 battery power: 1932W
[site ] DEBUG 2024/05/03 09:21:05 grid meter: 17W
[site ] DEBUG 2024/05/03 09:21:05 site power: 2049W
[lp-2 ] DEBUG 2024/05/03 09:21:05 charger status: B
[lp-2 ] DEBUG 2024/05/03 09:21:05 pv charge current: 0A = 0A + -8.91A (2049W @ 1p)
[site ] DEBUG 2024/05/03 09:21:15 ----
[lp-1 ] DEBUG 2024/05/03 09:21:15 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 09:21:15 charge currents: [0.009 0 0]A
[lp-2 ] DEBUG 2024/05/03 09:21:15 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:15 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:15 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 09:21:15 charge power: 0W
[site ] DEBUG 2024/05/03 09:21:15 pv power: 615W
[site ] DEBUG 2024/05/03 09:21:15 battery soc: 22%
[site ] DEBUG 2024/05/03 09:21:15 battery power: 1904W
[site ] DEBUG 2024/05/03 09:21:15 grid meter: -10W
[site ] DEBUG 2024/05/03 09:21:15 site power: 1994W
[lp-3 ] DEBUG 2024/05/03 09:21:15 charger status: A
[site ] DEBUG 2024/05/03 09:21:25 ----
[lp-1 ] DEBUG 2024/05/03 09:21:25 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 09:21:25 charge currents: [0.009 0 0]A
[lp-2 ] DEBUG 2024/05/03 09:21:25 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:25 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:25 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 09:21:25 charge power: 0W
[site ] DEBUG 2024/05/03 09:21:26 pv power: 592W
[site ] DEBUG 2024/05/03 09:21:26 battery soc: 22%
[site ] DEBUG 2024/05/03 09:21:26 battery power: 2236W
[site ] DEBUG 2024/05/03 09:21:26 grid meter: 29W
[site ] DEBUG 2024/05/03 09:21:26 site power: 2365W
[lp-4 ] DEBUG 2024/05/03 09:21:26 charge total import: 2.443kWh
[lp-4 ] DEBUG 2024/05/03 09:21:26 charger status: B
[lp-4 ] DEBUG 2024/05/03 09:21:26 pv charge current: 0A = 0A + -10.3A (2365W @ 1p)
[site ] DEBUG 2024/05/03 09:21:35 ----
[lp-1 ] DEBUG 2024/05/03 09:21:35 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 09:21:35 charge currents: [0.009 0 0]A
[lp-2 ] DEBUG 2024/05/03 09:21:35 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:35 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 09:21:35 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 09:21:35 charge power: 0W
[site ] DEBUG 2024/05/03 09:21:35 pv power: 590W
[site ] DEBUG 2024/05/03 09:21:35 battery soc: 22%
[site ] DEBUG 2024/05/03 09:21:35 battery power: 1892W
[site ] DEBUG 2024/05/03 09:21:35 grid meter: 80W
[site ] DEBUG 2024/05/03 09:21:35 site power: 2072W
[lp-1 ] DEBUG 2024/05/03 09:21:35 charger status: B
[lp-1 ] INFO 2024/05/03 09:21:35 stop charging <-
[lp-1 ] DEBUG 2024/05/03 09:21:36 soc estimated: 76.00% (vehicle: 76.00%)
[lp-1 ] DEBUG 2024/05/03 09:21:36 vehicle soc: 76%
[lp-1 ] DEBUG 2024/05/03 09:21:36 vehicle soc limit: 80%
Ok but one difference. You had enough surplus to do 1p min charging. Mine was below. I'll check later.
@andig was something changed in this areas when implementing circuits?
Don't think so plus LM isn't in use here afaikt.
New try. Now with enough surplus for 1p charging. But charger still stopped as expected.
[lp-1 ] DEBUG 2024/05/03 10:45:37 charger status: C
[lp-1 ] INFO 2024/05/03 10:45:37 car connected
[lp-1 ] DEBUG 2024/05/03 10:45:37 pv timer elapse
[lp-1 ] DEBUG 2024/05/03 10:45:37 pv timer inactive
[lp-1 ] INFO 2024/05/03 10:45:37 start charging ->
[lp-1 ] DEBUG 2024/05/03 10:45:37 wake-up timer: stop
[lp-1 ] DEBUG 2024/05/03 10:45:37 vehicle status: C
[lp-1 ] DEBUG 2024/05/03 10:45:37 vehicle soc: 76%
[lp-1 ] DEBUG 2024/05/03 10:45:37 vehicle soc limit: 80%
[lp-1 ] DEBUG 2024/05/03 10:45:37 vehicle range: 377km
[lp-1 ] WARN 2024/05/03 10:45:37 charger logic error: disabled but charging
[lp-1 ] DEBUG 2024/05/03 10:45:40 charger enable
[lp-1 ] DEBUG 2024/05/03 10:45:40 pv charge current: 0A = 0A + -10.9A (2496W @ 1p)
[lp-1 ] DEBUG 2024/05/03 10:45:40 projected site power 2496W >= 700W disable threshold
[lp-1 ] DEBUG 2024/05/03 10:45:40 pv disable in 0s
[lp-1 ] DEBUG 2024/05/03 10:45:40 pv disable timer elapsed
[lp-1 ] DEBUG 2024/05/03 10:45:42 charger disable
[lp-1 ] DEBUG 2024/05/03 10:45:42 wake-up timer: stop
[site ] DEBUG 2024/05/03 10:45:45 ----
[lp-1 ] DEBUG 2024/05/03 10:45:45 charge power: 1374W
[lp-1 ] DEBUG 2024/05/03 10:45:45 charge currents: [5.95 0 0]A
[lp-2 ] DEBUG 2024/05/03 10:45:45 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:45:45 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:45:45 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 10:45:45 charge power: 0W
[site ] DEBUG 2024/05/03 10:45:45 pv power: 2764W
[site ] DEBUG 2024/05/03 10:45:45 battery soc: 31%
[site ] DEBUG 2024/05/03 10:45:45 battery power: 1352W
[site ] DEBUG 2024/05/03 10:45:45 grid meter: -1639W
[site ] DEBUG 2024/05/03 10:45:45 site power: -187W
[lp-2 ] DEBUG 2024/05/03 10:45:46 charger status: B
[lp-2 ] DEBUG 2024/05/03 10:45:46 pv charge current: 0.813A = 0A + 0.813A (-187W @ 1p)
[lp-2 ] DEBUG 2024/05/03 10:45:46 site power -187W <= 0W enable threshold
[lp-2 ] DEBUG 2024/05/03 10:45:46 pv enable timer start: 5m0s
[lp-2 ] DEBUG 2024/05/03 10:45:46 pv enable in 5m0s
[site ] DEBUG 2024/05/03 10:45:55 ----
[lp-1 ] DEBUG 2024/05/03 10:45:55 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 10:45:55 charge currents: [0.008 0 0]A
[lp-2 ] DEBUG 2024/05/03 10:45:55 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:45:55 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:45:55 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 10:45:55 charge power: 0W
[site ] DEBUG 2024/05/03 10:45:55 pv power: 2642W
[site ] DEBUG 2024/05/03 10:45:55 battery soc: 32%
[site ] DEBUG 2024/05/03 10:45:55 battery power: -1640W
[site ] DEBUG 2024/05/03 10:45:55 grid meter: -528W
[site ] DEBUG 2024/05/03 10:45:55 battery has priority at soc 32% (< 40%)
[site ] DEBUG 2024/05/03 10:45:55 site power: -428W
[lp-3 ] DEBUG 2024/05/03 10:45:55 charger status: A
[site ] DEBUG 2024/05/03 10:46:05 ----
[lp-1 ] DEBUG 2024/05/03 10:46:05 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 10:46:05 charge currents: [0.008 0 0]A
[lp-2 ] DEBUG 2024/05/03 10:46:05 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:46:05 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:46:05 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 10:46:05 charge power: 0W
[site ] DEBUG 2024/05/03 10:46:05 pv power: 2538W
[site ] DEBUG 2024/05/03 10:46:05 battery soc: 32%
[site ] DEBUG 2024/05/03 10:46:05 battery power: -1999W
[site ] DEBUG 2024/05/03 10:46:05 grid meter: -1W
[site ] DEBUG 2024/05/03 10:46:05 battery has priority at soc 32% (< 40%)
[site ] DEBUG 2024/05/03 10:46:05 site power: 99W
[lp-4 ] DEBUG 2024/05/03 10:46:06 charger status: B
[lp-4 ] DEBUG 2024/05/03 10:46:06 pv charge current: 0A = 0A + -0.43A (99W @ 1p)
[lp-4 ] DEBUG 2024/05/03 10:46:06 pv enable timer reset
[lp-4 ] DEBUG 2024/05/03 10:46:06 pv timer inactive
[site ] DEBUG 2024/05/03 10:46:15 ----
[lp-1 ] DEBUG 2024/05/03 10:46:15 charge power: 0W
[lp-1 ] DEBUG 2024/05/03 10:46:15 charge currents: [0.008 0 0]A
[lp-2 ] DEBUG 2024/05/03 10:46:15 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:46:15 charge power: 0W
[lp-3 ] DEBUG 2024/05/03 10:46:15 charge currents: [0 0 0]A
[lp-4 ] DEBUG 2024/05/03 10:46:15 charge power: 0W
[site ] DEBUG 2024/05/03 10:46:15 pv power: 2467W
[site ] DEBUG 2024/05/03 10:46:15 battery soc: 32%
[site ] DEBUG 2024/05/03 10:46:15 battery power: -1898W
[site ] DEBUG 2024/05/03 10:46:15 grid meter: -1W
[site ] DEBUG 2024/05/03 10:46:15 battery has priority at soc 32% (< 40%)
[site ] DEBUG 2024/05/03 10:46:15 site power: 99W
[lp-1 ] DEBUG 2024/05/03 10:46:15 vehicle odometer: 118248km
[lp-1 ] DEBUG 2024/05/03 10:46:15 charger status: B
[lp-1 ] INFO 2024/05/03 10:46:15 stop charging <-
Describe the bug
evcc on homeassistant with a easee charger seems to ignore priority soc.
It starts charging, although priority soc threshold is not met. Also it does not stop charging in the afternoon, draining the battery below priority soc.
It worked before. It seems like it stopped working with 0.125, maybe a little earlier.
Except for that, all seems to work as expected, e.g. adjusting the power.
Please let me know if info is missing!
Steps to reproduce
[lp-1 ] WARN 2024/05/03 07:28:56 charger logic error: disabled but charging
Similar in the afternoon: it doesn't stop charging. Or am I just missing something in the config?
Configuration details
Log details
What type of operating system are you running?
Linux
Version
0.126.1