evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Load Management, throttling doesn't work

Open djfanatix opened this issue 2 years ago • 16 comments

I tried the load management (to keep the grid import below a certain level for peak prices), but whenever the grid import is too high, EVCC stops the charging, instead of throttling down. How to fix this?

I tried also to change my meter from Homewizard to Solaredge modbus, but no effect.

relevant config:

chargers:

  • name: goe type: template template: go-e-v3 host: 192.168.1.84 # IP-Adresse oder Hostname

site: title: xxx # display name for UI bufferSoC: # ignore home battery discharge above soc (empty to disable) residualPower: 100 circuit: main maxGridSupplyWhileBatteryCharging: 100 meters: grid: homewizard # grid meter

circuits:

  • name: main #maxCurrent: 20 maxPower: 4000 meter: homewizard #parent:

meters:

  • name: homewizard type: template template: homewizard usage: grid host: 192.168.1.109 # IP address or hostname

log

circuit-main] WARN 2024/05/04 13:24:44 over power detected: 5939W > 4000W [circuit-main] WARN 2024/05/04 13:24:49 over power detected: 5917W > 4000W [lp-1 ] INFO 2024/05/04 13:24:59 stop charging <- [lp-1 ] INFO 2024/05/04 13:25:09 start charging -> [lp-1 ] INFO 2024/05/04 13:25:19 stop charging <- [lp-1 ] INFO 2024/05/04 13:25:29 start charging -> [circuit-main] WARN 2024/05/04 13:26:19 over power detected: 6048W > 4000W [lp-1 ] INFO 2024/05/04 13:26:29 stop charging <- [lp-1 ] INFO 2024/05/04 13:26:39 start charging -> [lp-1 ] INFO 2024/05/04 13:26:59 stop charging <- [lp-1 ] INFO 2024/05/04 13:27:09 start charging ->

——— BREAK

[circuit-main] WARN 2024/05/04 15:22:06 over power detected: 5483W > 4000W [circuit-main] DEBUG 2024/05/04 15:22:06 current: 0A [site ] DEBUG 2024/05/04 15:22:06 pv power: 1224W [site ] DEBUG 2024/05/04 15:22:06 battery soc: 60% [site ] DEBUG 2024/05/04 15:22:06 battery power: 0W [site ] DEBUG 2024/05/04 15:22:06 grid meter: 5483W [site ] DEBUG 2024/05/04 15:22:06 site power: 5583W [lp-1 ] DEBUG 2024/05/04 15:22:06 detected active phases: 1p [lp-1 ] DEBUG 2024/05/04 15:22:06 charge total import: 254.222kWh [lp-1 ] DEBUG 2024/05/04 15:22:06 charger status: C [lp-1 ] DEBUG 2024/05/04 15:22:06 vehicle soc: 79% [lp-1 ] DEBUG 2024/05/04 15:22:06 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/05/04 15:22:06 vehicle range: 347km [circuit-main] DEBUG 2024/05/04 15:22:06 validate power: 4283.969238W -> 0W <= 4000W at 5483W: capped at 0W [lp-1 ] DEBUG 2024/05/04 15:22:07 charger disable [circuit-main] DEBUG 2024/05/04 15:22:16 power: 1228W [circuit-main] DEBUG 2024/05/04 15:22:16 current: 0A [site ] DEBUG 2024/05/04 15:22:16 pv power: 1230W [site ] DEBUG 2024/05/04 15:22:16 battery soc: 60% [site ] DEBUG 2024/05/04 15:22:16 battery power: 0W [site ] DEBUG 2024/05/04 15:22:16 grid meter: 1228W [site ] DEBUG 2024/05/04 15:22:16 site power: 1328W [lp-1 ] DEBUG 2024/05/04 15:22:16 charge total import: 254.225kWh [lp-1 ] DEBUG 2024/05/04 15:22:16 charger status: B [lp-1 ] INFO 2024/05/04 15:22:16 stop charging <- [lp-1 ] DEBUG 2024/05/04 15:22:16 charge total import: 254.225kWh [lp-1 ] DEBUG 2024/05/04 15:22:17 vehicle soc: 80% [lp-1 ] DEBUG 2024/05/04 15:22:17 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/05/04 15:22:17 vehicle range: 348km [circuit-main] DEBUG 2024/05/04 15:22:17 validate power: 0W -> 2772W <= 4000W at 1228W: capped at 2772W [lp-1 ] DEBUG 2024/05/04 15:22:17 max charge current: 12.1A [lp-1 ] DEBUG 2024/05/04 15:22:17 charger enable [lp-1 ] DEBUG 2024/05/04 15:22:17 wake-up timer: start [site ] DEBUG 2024/05/04 15:22:17 set battery mode: normal [site ] DEBUG 2024/05/04 15:22:21 ---- [lp-1 ] DEBUG 2024/05/04 15:22:21 charge power: -9W [lp-1 ] DEBUG 2024/05/04 15:22:21 charge currents: [0.266 0 0]A [circuit-main] DEBUG 2024/05/04 15:22:21 power: -1527W [circuit-main] DEBUG 2024/05/04 15:22:21 current: 0A [site ] DEBUG 2024/05/04 15:22:22 pv power: 1184W [site ] DEBUG 2024/05/04 15:22:22 battery soc: 60% [site ] DEBUG 2024/05/04 15:22:22 battery power: 2871W [site ] DEBUG 2024/05/04 15:22:22 grid meter: -1527W [site ] DEBUG 2024/05/04 15:22:22 site power: 1444W [site ] DEBUG 2024/05/04 15:22:26 ---- [lp-1 ] DEBUG 2024/05/04 15:22:26 charge power: -8W [lp-1 ] DEBUG 2024/05/04 15:22:26 charge currents: [0.304 0 0]A [circuit-main] WARN 2024/05/04 15:22:26 over power detected: 6346W > 4000W [circuit-main] DEBUG 2024/05/04 15:22:26 current: 0A [site ] DEBUG 2024/05/04 15:22:26 pv power: 1017W [site ] DEBUG 2024/05/04 15:22:26 battery soc: 60% [site ] DEBUG 2024/05/04 15:22:26 battery power: -4999W [site ] DEBUG 2024/05/04 15:22:26 grid meter: 6346W [site ] DEBUG 2024/05/04 15:22:26 site power: 6446W [lp-1 ] DEBUG 2024/05/04 15:22:26 charge total import: 254.225kWh [lp-1 ] DEBUG 2024/05/04 15:22:26 charger status: C [lp-1 ] INFO 2024/05/04 15:22:26 start charging -> [lp-1 ] DEBUG 2024/05/04 15:22:26 wake-up timer: stop [lp-1 ] DEBUG 2024/05/04 15:22:26 vehicle soc: 80% [lp-1 ] DEBUG 2024/05/04 15:22:26 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/05/04 15:22:26 vehicle range: 348km [circuit-main] DEBUG 2024/05/04 15:22:26 validate power: -7.598999977W -> 0W <= 4000W at 6346W: capped at 0W [lp-1 ] DEBUG 2024/05/04 15:22:26 charger disable [lp-1 ] DEBUG 2024/05/04 15:22:26 wake-up timer: stop [site ] DEBUG 2024/05/04 15:22:26 set battery mode: hold

——— BREAK

circuit-main] DEBUG 2024/05/04 15:29:25 validate power: 1410.093018W -> 1709W <= 4000W at 2291W: capped at 1709W [lp-1 ] DEBUG 2024/05/04 15:29:25 max charge current: 7.43A [site ] DEBUG 2024/05/04 15:29:29 ---- [lp-1 ] DEBUG 2024/05/04 15:29:29 charge power: 1663W [lp-1 ] DEBUG 2024/05/04 15:29:29 charge currents: [6.99 0 0]A [circuit-garage] DEBUG 2024/05/04 15:29:29 power: 1662.942993W [circuit-garage] DEBUG 2024/05/04 15:29:29 current: 6.992000103A [circuit-main] DEBUG 2024/05/04 15:29:30 power: 2532W [circuit-main] DEBUG 2024/05/04 15:29:30 current: 0A [site ] DEBUG 2024/05/04 15:29:30 pv power: 1571W [site ] DEBUG 2024/05/04 15:29:30 battery soc: 59% [site ] DEBUG 2024/05/04 15:29:30 battery power: 0W [site ] DEBUG 2024/05/04 15:29:30 grid meter: 2532W [site ] DEBUG 2024/05/04 15:29:30 site power: 2632W

djfanatix avatar May 04 '24 16:05 djfanatix

One more log, but this time 'virtual' as I am not home. I put a circuit 'vanmoof' with 150w, and I manually switch the charger on. charging power is 82w and grid import is less then 150w, but still it switches off after a while.

[circuit-vanmoof] DEBUG 2024/05/05 12:53:27 power: 82W [circuit-vanmoof] DEBUG 2024/05/05 12:53:27 current: 0A [circuit-main] DEBUG 2024/05/05 12:53:27 power: 3W [circuit-main] DEBUG 2024/05/05 12:53:27 current: 0A [site ] DEBUG 2024/05/05 12:53:27 pv power: 333W [site ] DEBUG 2024/05/05 12:53:27 battery soc: 49% [site ] DEBUG 2024/05/05 12:53:27 battery power: 0W [site ] DEBUG 2024/05/05 12:53:27 grid meter: -1W [site ] DEBUG 2024/05/05 12:53:27 site power: -1W [lp-2 ] INFO 2024/05/05 12:53:27 start charging -> [lp-2 ] WARN 2024/05/05 12:53:27 charger out of sync: expected disabled, got enabled [circuit-vanmoof] DEBUG 2024/05/05 12:53:27 validate power: 82W -> 68W <= 150W at 82W: capped at 68W [site ] DEBUG 2024/05/05 12:53:28 set battery mode: hold [site ] DEBUG 2024/05/05 12:53:32 ---- [circuit-vanmoof] DEBUG 2024/05/05 12:53:32 power: 0W [circuit-vanmoof] DEBUG 2024/05/05 12:53:32 current: 0A [circuit-main] DEBUG 2024/05/05 12:53:32 power: 64W [circuit-main] DEBUG 2024/05/05 12:53:32 current: 0A [site ] DEBUG 2024/05/05 12:53:32 pv power: 197W [site ] DEBUG 2024/05/05 12:53:32 battery soc: 49% [site ] DEBUG 2024/05/05 12:53:32 battery power: 0W [site ] DEBUG 2024/05/05 12:53:32 grid meter: 64W [site ] DEBUG 2024/05/05 12:53:32 site power: 64W [site ] DEBUG 2024/05/05 12:53:37 ---- [circuit-vanmoof] DEBUG 2024/05/05 12:53:37 power: 0W [circuit-vanmoof] DEBUG 2024/05/05 12:53:37 current: 0A [circuit-main] DEBUG 2024/05/05 12:53:37 power: 9W [circuit-main] DEBUG 2024/05/05 12:53:37 current: 0A [site ] DEBUG 2024/05/05 12:53:37 pv power: 163W [site ] DEBUG 2024/05/05 12:53:37 battery soc: 49% [site ] DEBUG 2024/05/05 12:53:37 battery power: 0W [site ] DEBUG 2024/05/05 12:53:37 grid meter: 80W [site ] DEBUG 2024/05/05 12:53:37 site power: 80W [lp-2 ] INFO 2024/05/05 12:53:37 stop charging <- [circuit-vanmoof] DEBUG 2024/05/05 12:53:37 validate power: 0W -> 150W <= 150W at 0W: capped at 150W [site ] DEBUG 2024/05/05 12:53:37 set battery mode: normal

djfanatix avatar May 05 '24 10:05 djfanatix

I'm also experiencing similar issue with the Load Management feature. Charge current is always capped at 0A, when the grid current goes over circuit's limit, even though there should be plenty of room to adjust it to a lower value than 16A:

evcc  | [site  ] DEBUG 2024/05/05 15:42:03 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 charge power: 10486W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 charge currents: [15.1 15.3 15.2]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:03 power: 11800W
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:03 current: 17.1A
evcc  | [site  ] DEBUG 2024/05/05 15:42:03 grid meter: 11800W
evcc  | [site  ] DEBUG 2024/05/05 15:42:03 grid powers: [3753 3973 4072]W
evcc  | [site  ] DEBUG 2024/05/05 15:42:03 grid currents: [15.9 16.8 17.1]A
evcc  | [site  ] DEBUG 2024/05/05 15:42:03 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:42:03 site power: 11800W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 detected active phases: 3p
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 charger status: C
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 soc estimated: 67.85% (vehicle: 66.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 vehicle soc: 68%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:03 vehicle range: 230km
evcc  | [circuit-main] TRACE 2024/05/05 15:42:03 validate current: 16A -> 16A <= 24A at 17.1A: ok
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 charge power: 10486W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 charge currents: [15.1 15.3 15.2]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:18 power: 13697W
evcc  | [circuit-main] WARN 2024/05/05 15:42:18 over current detected: 25.6A > 24A
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 grid meter: 13697W
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 grid powers: [3734 3954 6041]W
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 grid currents: [15.8 16.7 25.6]A
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:42:18 site power: 13697W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 detected active phases: 3p
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 charger status: C
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 soc estimated: 67.91% (vehicle: 66.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 vehicle soc: 68%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 vehicle range: 230km
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:18 validate current: 16A -> 0A <= 24A at 25.6A: capped at 0A
evcc  | [eebus ] DEBUG 2024/05/05 15:42:18 Send: d:_i:47859_Elli-Wallbox-XXX write 13905 LoadControlLimitListData
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 charger disable
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:18 wake-up timer: stop
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:33 charge power: 12W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:33 charge currents: [0.05 0 0]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:33 power: 10437W
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:33 current: 21.7A
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 grid meter: 10437W
evcc  | [eebus ] DEBUG 2024/05/05 15:42:33 Send: d:_i:47859_Elli-Wallbox-XXX notify 13924 DeviceDiagnosisHeartbeatData
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 grid powers: [2626 2872 4938]W
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 grid currents: [12.7 13.7 21.7]A
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:42:33 site power: 10437W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:33 charger status: B
evcc  | [lp-1  ] INFO 2024/05/05 15:42:33 stop charging <-
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:34 vehicle status: B
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:34 vehicle soc: 69%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:34 vehicle range: 240km
evcc  | [circuit-main] TRACE 2024/05/05 15:42:34 validate current: 16A -> 16A <= 24A at 21.7A: ok
evcc  | [eebus ] DEBUG 2024/05/05 15:42:34 Send: d:_i:47859_Elli-Wallbox-XXX write 13925 LoadControlLimitListData
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:34 charger enable
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:34 wake-up timer: start
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 charge power: 1122W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 charge currents: [3.93 0.47 0.48]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:48 power: 3683W
evcc  | [circuit-main] DEBUG 2024/05/05 15:42:48 current: 11.1A
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 grid meter: 3683W
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 grid powers: [152 933 2597]W
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 grid currents: [1.5 4 11.1]A
evcc  | [eebus ] DEBUG 2024/05/05 15:42:48 Recv: d:_i:47859_Elli-Wallbox-XXX: to Measurement notify 14379 MeasurementListData
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:42:48 site power: 3683W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 charger status: C
evcc  | [lp-1  ] INFO 2024/05/05 15:42:48 start charging ->
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 wake-up timer: stop
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 soc estimated: 69.00% (vehicle: 69.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 vehicle soc: 69%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:42:48 vehicle range: 240km
evcc  | [circuit-main] TRACE 2024/05/05 15:42:48 validate current: 16A -> 16A <= 24A at 11.1A: ok
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 charge power: 9372W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 charge currents: [13.5 13.6 13.6]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:18 power: 11728W
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:18 current: 22.4A
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 grid meter: 11728W
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 grid powers: [2852 3598 5277]W
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 grid currents: [12 15.3 22.4]A
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:43:18 site power: 11728W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 detected active phases: 3p
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 charger status: C
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 soc estimated: 69.06% (vehicle: 69.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 vehicle soc: 69%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:18 vehicle range: 240km
evcc  | [circuit-main] TRACE 2024/05/05 15:43:18 validate current: 16A -> 16A <= 24A at 22.4A: ok
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 charge power: 10605W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 charge currents: [15.2 15.5 15.4]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:33 power: 14606W
evcc  | [circuit-main] WARN 2024/05/05 15:43:33 over current detected: 26.3A > 24A
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 grid meter: 14606W
evcc  | [eebus ] DEBUG 2024/05/05 15:43:33 Send: d:_i:47859_Elli-Wallbox-XXX notify 14000 DeviceDiagnosisHeartbeatData
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 grid powers: [3760 4645 6201]W
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 grid currents: [15.8 19.8 26.3]A
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:43:33 site power: 14606W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 detected active phases: 3p
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 charger status: C
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 soc estimated: 69.11% (vehicle: 69.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 vehicle soc: 69%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 vehicle range: 240km
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:33 validate current: 16A -> 0A <= 24A at 26.3A: capped at 0A
evcc  | [eebus ] DEBUG 2024/05/05 15:43:33 Send: d:_i:47859_Elli-Wallbox-XXX write 14001 LoadControlLimitListData
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 charger disable
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:33 wake-up timer: stop
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 ----
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:48 charge power: 12W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:48 charge currents: [0.05 0 0]A
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:48 power: 3767W
evcc  | [circuit-main] DEBUG 2024/05/05 15:43:48 current: 10.9A
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 grid meter: 3767W
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 grid powers: [161 1036 2570]W
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 grid currents: [1.2 4.3 10.9]A
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 pv power: 0W
evcc  | [site  ] DEBUG 2024/05/05 15:43:48 site power: 3767W
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:48 charger status: B
evcc  | [lp-1  ] INFO 2024/05/05 15:43:48 stop charging <-
evcc  | [eebus ] DEBUG 2024/05/05 15:43:49 Send: d:_i:47859_Elli-Wallbox-XXX notify 14020 DeviceDiagnosisHeartbeatData
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:49 soc estimated: 69.11% (vehicle: 69.00%)
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:49 vehicle soc: 69%
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:49 vehicle range: 240km
evcc  | [circuit-main] TRACE 2024/05/05 15:43:49 validate current: 16A -> 16A <= 24A at 10.9A: ok
evcc  | [eebus ] DEBUG 2024/05/05 15:43:49 Send: d:_i:47859_Elli-Wallbox-XXX write 14021 LoadControlLimitListData
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:49 charger enable
evcc  | [lp-1  ] DEBUG 2024/05/05 15:43:49 wake-up timer: start

Config:

circuits:
- name: main
  maxCurrent: 24
  meter: p1reader

loadpoints:
- title: ID. Charger Pro
  circuit: main
  charger: wallbox1
  mode: pv

chargers:
- type: template
  template: ellipro
  ski: XXX
  ip: XXX
  name: wallbox1

site:
  title: Home
  circuit: main
  meters:
    grid: p1reader

rupenik avatar May 05 '24 13:05 rupenik

Same by me with go-eCharger.

Can also provide log if needed, but it's the same as already provided above. "capped at 0A"

SolarPower2024 avatar May 05 '24 16:05 SolarPower2024

It's a mistake in the logic: https://github.com/evcc-io/evcc/pull/13768/files#diff-d2a33ea9d1c599f7c4bd32a2db5e4976ebe8662651eac13f05cbb8528f86cae6L273-R274. Instead of setting power/current to the over-power/current value, it should be reduced by that amount.

There's another bug that more tests have revealed which is that reducing demand on an already overloaded circuit will also switch off: https://github.com/evcc-io/evcc/pull/13768/files#diff-0394cd1d6f06bac95ba8a34adc5658f9dd03fb2303110fd77ffef1f743b1ab22R36. Reason is that we've tried to be conservative in

delta := max(0, new-old)

and always look at positive deltas only. If circuit is already overloaded, the already reduced new value will be further reduced by the over-power/current which may lead to disabling (but not necessarily).

I'm not entirely sure how to handle this. For time being I'd say let's play it safe and stay with the conservative approach.

/cc @premultiply

andig avatar May 05 '24 17:05 andig

First issue should be fixed in tomorrow's nightly.

andig avatar May 05 '24 17:05 andig

Tested the nightly and it worked for me 👍

[lp-1  ] DEBUG 2024/05/05 21:56:26 max charge current: 15A
[lp-1  ] DEBUG 2024/05/05 21:56:26 charger enable
[lp-1  ] DEBUG 2024/05/05 21:56:26 wake-up timer: start
[site  ] DEBUG 2024/05/05 21:56:55 ----
[lp-1  ] DEBUG 2024/05/05 21:56:55 charge power: 3428W
[lp-1  ] DEBUG 2024/05/05 21:56:56 charge currents: [15.2 0 0]A
[circuit-main] DEBUG 2024/05/05 21:56:56 power: 3962W
[circuit-main] DEBUG 2024/05/05 21:56:56 current: 16A
[site  ] DEBUG 2024/05/05 21:56:56 pv power: 0W
[site  ] DEBUG 2024/05/05 21:56:56 grid meter: 3962W
[site  ] DEBUG 2024/05/05 21:56:56 grid currents: [0 16 1]A
[site  ] DEBUG 2024/05/05 21:56:56 site power: 3962W
[lp-1  ] DEBUG 2024/05/05 21:56:56 charge total import: 4347.367kWh
[lp-1  ] DEBUG 2024/05/05 21:56:56 charger status: C
[lp-1  ] DEBUG 2024/05/05 21:56:56 charge start energy: 4.35e+03kWh
[lp-1  ] INFO 2024/05/05 21:56:56 start charging ->
[lp-1  ] DEBUG 2024/05/05 21:56:56 wake-up timer: stop
[lp-1  ] DEBUG 2024/05/05 21:56:56 vehicle soc: 89%
[lp-1  ] DEBUG 2024/05/05 21:56:56 vehicle range: 430km
[circuit-main] DEBUG 2024/05/05 21:56:56 validate current: 15A -> 15A <= 16A at 16A: capped at 15A

wernerb avatar May 05 '24 20:05 wernerb

Remaining issue fixed thanks to @premultiply

andig avatar May 06 '24 19:05 andig

@andig @premultiply - Validated the nightly build and works as intended (in PV and fast mode). Great and awesome work!! Thx!

Unwillingly473 avatar May 12 '24 19:05 Unwillingly473

Hi perhaps is another issue in my case but hitting the same problem:

I'm running: [0.126.3](https://hub.docker.com/layers/evcc/evcc/nightly/images/sha256-be8381292fa51fa72f37a28147ea323023facbb873bbe6385056928ec7be8ed5?context=explore)

relevant config:

circuits:
  - name: main
    maxCurrent: 0
    maxPower: 11
    meter: grid
    parent:
  - name: garage
    maxCurrent: 24
    meter:
    parent: main

meters:
  - name: grid
    type: template
    template: solaredge-hybrid
    usage: grid
    modbus: tcpip
    id: 1
    host: 192.168.2.225 # Hostname
    port: 9000 # Port
    timeout: 1m # optional
  - name: pv
    type: template
    template: solaredge-hybrid
    usage: pv
    modbus: tcpip
    id: 4
    host: 192.168.2.225 # Hostname
    port: 9000 # Port
    timeout: 1m # optional

chargers:
- type: template
  template: go-e
  host: 192.168.2.217
  name: go-e

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage # display name for UI
    circuit: garage
    charger: go-e # charger
#    phases: 3
    mode: "pv" # set default charge mode, use "off" to disable by default if charger is publicly available
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 10s # threshold must be exceeded for this long
      threshold: -2000 # grid power threshold (in Watts, negative=export). 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: 500 # maximum import power (W)
    guardDuration: 10m # switch charger contactor not more often than this (default 5m)

# site describes the EVU connection, PV and home battery
site:
  - title: VillaChiara # display name for UI
    meters:
      grid: grid # grid meter reference
      pv: # (pvs = deprecated)
        - pv # first pv meter reference
    residualPower: 300
    circuit: main

logs:

[circuit-main] WARN 2024/05/21 22:22:28 over power detected: 87W > 11W
[site  ] DEBUG 2024/05/21 22:22:29 pv power: 0W
[site  ] DEBUG 2024/05/21 22:22:29 grid meter: -8W
[site  ] DEBUG 2024/05/21 22:22:29 site power: 292W
[lp-1  ] DEBUG 2024/05/21 22:22:29 charge voltages: [220 220 220]V
[lp-1  ] DEBUG 2024/05/21 22:22:29 detected connected phases: 3p
[lp-1  ] DEBUG 2024/05/21 22:22:29 charge total import: 8898.000kWh
[lp-1  ] DEBUG 2024/05/21 22:22:29 charger status: B
[site  ] DEBUG 2024/05/21 22:22:32 ----
[lp-1  ] DEBUG 2024/05/21 22:22:32 charge power: 0W
[lp-1  ] DEBUG 2024/05/21 22:22:32 charge currents: [0 0 0]A
[site  ] DEBUG 2024/05/21 22:22:34 pv power: 0W
[site  ] DEBUG 2024/05/21 22:22:34 grid meter: 68W
[site  ] DEBUG 2024/05/21 22:22:34 site power: 368W
[lp-1  ] DEBUG 2024/05/21 22:22:34 charge voltages: [221 220 219]V
[lp-1  ] DEBUG 2024/05/21 22:22:34 detected connected phases: 3p
[lp-1  ] DEBUG 2024/05/21 22:22:34 charge total import: 8898.000kWh
[lp-1  ] DEBUG 2024/05/21 22:22:34 charger status: B
[site  ] DEBUG 2024/05/21 22:22:37 ----
[lp-1  ] DEBUG 2024/05/21 22:22:37 charge power: 0W
[lp-1  ] DEBUG 2024/05/21 22:22:37 charge currents: [0 0 0]A
[site  ] DEBUG 2024/05/21 22:22:38 pv power: 0W
[site  ] DEBUG 2024/05/21 22:22:38 grid meter: -86W
[site  ] DEBUG 2024/05/21 22:22:38 site power: 214W
[lp-1  ] DEBUG 2024/05/21 22:22:38 charge voltages: [220 220 219]V
[lp-1  ] DEBUG 2024/05/21 22:22:38 detected connected phases: 3p
[lp-1  ] DEBUG 2024/05/21 22:22:38 charge total import: 8898.000kWh
[lp-1  ] DEBUG 2024/05/21 22:22:38 charger status: B
[site  ] DEBUG 2024/05/21 22:22:42 ----
[lp-1  ] DEBUG 2024/05/21 22:22:42 charge power: 0W
[lp-1  ] DEBUG 2024/05/21 22:22:42 charge currents: [0 0 0]A
[site  ] DEBUG 2024/05/21 22:22:44 pv power: 0W
[site  ] DEBUG 2024/05/21 22:22:44 grid meter: -167W
[site  ] DEBUG 2024/05/21 22:22:44 site power: 133W
[lp-1  ] DEBUG 2024/05/21 22:22:44 charge voltages: [221 220 219]V
[lp-1  ] DEBUG 2024/05/21 22:22:44 detected connected phases: 3p
[lp-1  ] DEBUG 2024/05/21 22:22:44 charge total import: 8898.000kWh
[lp-1  ] DEBUG 2024/05/21 22:22:44 charger status: B
[site  ] DEBUG 2024/05/21 22:22:47 ----
[lp-1  ] DEBUG 2024/05/21 22:22:47 charge power: 0W
[lp-1  ] DEBUG 2024/05/21 22:22:47 charge currents: [0 0 0]A
[site  ] DEBUG 2024/05/21 22:22:48 pv power: 0W
[site  ] DEBUG 2024/05/21 22:22:48 grid meter: 13W
[site  ] DEBUG 2024/05/21 22:22:48 site power: 313W
[lp-1  ] DEBUG 2024/05/21 22:22:48 charge voltages: [221 220 220]V
[lp-1  ] DEBUG 2024/05/21 22:22:48 detected connected phases: 3p
[lp-1  ] DEBUG 2024/05/21 22:22:48 charge total import: 8898.000kWh
[lp-1  ] DEBUG 2024/05/21 22:22:48 charger status: B
[site  ] DEBUG 2024/05/21 22:22:52 ----
[lp-1  ] DEBUG 2024/05/21 22:22:52 charge power: 0W
[lp-1  ] DEBUG 2024/05/21 22:22:52 charge currents: [0 0 0]A
[circuit-main] WARN 2024/05/21 22:22:53 over power detected: 87W > 11W
[site  ] DEBUG 2024/05/21 22:22:54 pv power: 0W

Note that I'm not importing anything (almost) as I'm charging my car using the house battery (that is not included in the config given the SE bug with modbus).

stepir avatar May 21 '24 20:05 stepir

Whats the issue?

andig avatar May 21 '24 20:05 andig

Charging do not get started /edit even on NOW

stepir avatar May 21 '24 20:05 stepir

Is there a reason to specify both maxCurrent and maxPower in the main circuit?

As you’ve configured 0A as maxCurrent, I would expect that charging wouldn’t start..

I have only specified maxPower and don’t use maxCurrent and peak shaving works without issues.

Unwillingly473 avatar May 21 '24 21:05 Unwillingly473

maxCurrent: 0

That is the reason.

And

maxPower: 11

= 11W as mentioned in the log is also very low.

premultiply avatar May 21 '24 21:05 premultiply

ahhh got it - sorry i moved from hoermto version where maxcurrent: 0 meant unlimited and maxpower was Kwh on wh!

stepir avatar May 21 '24 22:05 stepir

That is the reason.

I don't think so. 0 means "no limit".

andig avatar May 22 '24 06:05 andig

Right, it was the 11W limitation.

premultiply avatar May 22 '24 06:05 premultiply