evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Continuous plan stops and restarts

Open cpe35 opened this issue 10 months ago • 24 comments

Describe the bug

Overnight the planer was set to charge the car. Despite the continuous option enabled, the charging was not continuous. At first the car was only charged for 15 minutes, then the charging paused for 45 minutes and started again.

The logs below show that for the first and second charging period the planer calculated the same average cost of 0.311 euros/kwh.

Steps to reproduce

The following was observed:

  1. The planer was set to charge a car until 7:00 with the continuous option enabled.
  2. At first the planer estimates to start the charging at 4:00: Jan 31 03:59:50 t440p evcc[179231]: [lp-1 ] DEBUG 2026/01/31 03:59:50 plan: charge 1h35m39s between 2026-01-31 04:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
  3. The charging starts as planed: INFO 2026/01/31 04:00:40 start charging ->
  4. Four minutes later a new start date (5:00) is calculated: DEBUG 2026/01/31 04:04:50 plan: continuing until end of slot at 2026-01-31 04:15:00 +0100 CET DEBUG 2026/01/31 04:05:00 plan: charge 1h32m9s between 2026-01-31 05:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
  5. The charging is stopped at 4:15 INFO 2026/01/31 04:15:10 stop charging <-
  6. Then the charging starts again at 5:00 INFO 2026/01/31 05:00:30 start charging ->

Configuration details

{
  "site": {
    "title": "",
    "grid": "db:7",
    "pv": ["db:5"],
    "battery": ["db:6"],
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":11,"name":"db:11","charger":"db:10","vehicle":"db:3","title":"Garage","defaultMode":"pv","priority":0,"phasesConfigured":0,"minCurrent":6,"maxCurrent":20,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"planStrategy":{"continuous":true,"precondition":0},"thresholds":{"enable":{"delay":120000000000,"threshold":0},"disable":{"delay":300000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"host":"192.168.178.164","template":"go-e-v3"},"deviceProduct":"go-e Charger Gemini","id":10,"name":"db:10","type":"template"}
  ],
  "meter": [
    {"config":{"host":"192.168.178.49","maxacpower":"0","port":"502","template":"victron-energy","usage":"grid"},"deviceProduct":"Victron Energy","id":7,"name":"db:7","type":"template"},
    {"config":{"capacity":21,"host":"192.168.178.49","maxacpower":"0","maxchargepower":3500,"maxdischargepower":5000,"minsoc":15,"port":"502","template":"victron-energy","usage":"battery"},"deviceProduct":"Victron Energy","deviceTitle":"Batterie","id":6,"name":"db:6","type":"template"},
    {"config":{"host":"192.168.178.49","maxacpower":0,"port":"502","template":"victron-energy","usage":"pv"},"deviceProduct":"Victron Energy","deviceTitle":"PV-Anlage","id":5,"name":"db:5","type":"template"}
  ],
  "vehicle": [
    {"config":{"capacity":40,"icon":"car","maxCurrent":32,"maxPower":22000,"minCurrent":10,"mode":"pv","phases":"","template":"offline","title":"ZOE"},"deviceProduct":"Generisches Fahrzeug (ohne API)","id":3,"name":"db:3","type":"template"},
    {"config":{"cache":"15m","capacity":87,"coarsecurrent":false,"icon":"car","maxCurrent":20,"maxPower":11000,"maxcurrent":20,"maxpower":11000,"minCurrent":6,"mincurrent":6,"mode":"pv","password":"***","phases":"","template":"renault","title":"Scenic","user":"***","vin":"***","wakeupmode":"default"},"deviceProduct":"Renault","id":4,"name":"db:4","type":"template"}
  ],
  "tariffs": "currency: EUR

grid: # price using energy from the grid
#  type: fixed
#  price: 0.294 # EUR/kWh
  type: template
  template: energy-charts-api
  bzn: DE-LU
  charges: 0.1675
  tax: 0.19

feedin: # price for feeding solar energy to the grid
  type: fixed
  price: 0.10 # EUR/kWh

#co2: # carbon intensity forecast
# type: template
#  template: grünstromindex
#  zip: *****

solar: # list of pv generation forecast (additive)
- type: template
  template: open-meteo
  lat: *****
  lon: *****
  dec: 45
  kwp: 7
  az: 0
  dm: 50
- type: template
  template: open-meteo
  lat: *****
  lon: *****
  dec: 15
  kwp: 3
  az: 0",
  "mqtt": {"broker":"192.168.178.49:1883","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "shm": {"vendorId":"","deviceId":""},
  "interval": 10
}

Log details

Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 charge power: 0W
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 charge currents: [0 0 0]A
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 battery 1 power: -0W
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 grid power: 208W
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 battery 1 soc: 15%
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 pv 1 power: 0W
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 03:59:40 +0100 CET)
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 site power: 308W
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 charge voltages: [225 226 226]V
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 charge total import: 3125.225kWh
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 charger status: B
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 plan: charge 1h35m39s between 2026-01-31 04:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 03:59:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 03:59:50 pv charge current: 0A = 0A + -1.34A (308W @ 1p)
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 solar forecast: accumulated 0.000Wh from 2026-01-31 03:59:40 +0100 CET to 2026-01-31 03:59:50 +0100 CET
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 solar forecast: produced 369.839
Jan 31 03:59:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 03:59:50 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 ----
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charge power: 0W
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charge currents: [0 0 0]A
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 battery 1 power: -0W
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 grid power: 209W
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 battery 1 soc: 15%
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 pv 1 power: 0W
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 03:59:50 +0100 CET)
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 site power: 309W
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 15min household consumption: 0Wh
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charge voltages: [225 226 225]V
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charge total import: 3125.225kWh
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charger status: B
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 plan: charge 1h35m39s between 2026-01-31 04:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 switched phases: 3p
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 wake-up timer: start
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 set charge current limit: 20A
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 charger enable
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 wake-up timer: start
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 pv timer elapse
Jan 31 04:00:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:00 pv timer inactive
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 solar forecast: accumulated 0.000Wh from 2026-01-31 03:59:50 +0100 CET to 2026-01-31 04:00:00 +0100 CET
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 solar forecast: produced 369.839
Jan 31 04:00:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:00 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 ----
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 charge power: 0W
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 charge currents: [0 0 0]A
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 battery 1 power: -0W
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 grid power: 208W
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 battery 1 soc: 15%
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 pv 1 power: 0W
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:00 +0100 CET)
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 site power: 308W
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 charge voltages: [225 226 226]V
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 charge total import: 3125.225kWh
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 charger status: B
Jan 31 04:00:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:10 plan: charge 1h35m39s between 2026-01-31 04:00:10 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:00 +0100 CET to 2026-01-31 04:00:10 +0100 CET
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 solar forecast: produced 369.839
Jan 31 04:00:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:10 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 ----
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 charge power: 0W
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 charge currents: [0 0 0]A
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 battery 1 power: -0W
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 grid power: 211W
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 battery 1 soc: 15%
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 pv 1 power: 0W
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:10 +0100 CET)
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 site power: 311W
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 charge voltages: [225 226 225]V
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 charge total import: 3125.225kWh
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 charger status: B
Jan 31 04:00:20 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:20 plan: charge 1h35m39s between 2026-01-31 04:00:20 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:10 +0100 CET to 2026-01-31 04:00:20 +0100 CET
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 solar forecast: produced 369.839
Jan 31 04:00:20 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:20 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 ----
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 charge power: 0W
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 charge currents: [0 0 0]A
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 battery 1 power: -0W
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 grid power: 207W
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 battery 1 soc: 15%
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 pv 1 power: 0W
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:20 +0100 CET)
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 site power: 307W
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 charge voltages: [225 226 225]V
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 charge total import: 3125.225kWh
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 charger status: B
Jan 31 04:00:30 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:30 plan: charge 1h35m39s between 2026-01-31 04:00:30 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:20 +0100 CET to 2026-01-31 04:00:30 +0100 CET
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 solar forecast: produced 369.839
Jan 31 04:00:30 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:30 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 ----
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charge power: 12360W
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charge currents: [18.7 18.9 19]A
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 battery 1 power: -0W
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 grid power: 12940W
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 battery 1 soc: 15%
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 pv 1 power: 0W
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:30 +0100 CET)
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 site power: 13040W
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charge voltages: [220 222 221]V
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charge total import: 3125.238kWh
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charger status: C
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 charge start energy: 3125.238kWh
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] INFO 2026/01/31 04:00:40 start charging ->
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 wake-up timer: stop
Jan 31 04:00:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:40 plan: charge 1h35m39s between 2026-01-31 04:00:40 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:30 +0100 CET to 2026-01-31 04:00:40 +0100 CET
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 solar forecast: produced 369.839
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 set battery Batterie mode: hold
Jan 31 04:00:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:40 set battery mode: hold
Jan 31 04:00:45 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:45 telemetry: upload failed: Post "https://api.evcc.io/v1/charge": context deadline exceeded
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 ----
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 charge power: 12362W
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 charge currents: [18.7 18.8 19]A
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 battery 1 power: -0W
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 grid power: 12949W
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 battery 1 soc: 15%
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 pv 1 power: 0W
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:40 +0100 CET)
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 site power: 13049W
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 charge voltages: [220 222 221]V
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 session energy: 0.035kWh
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 charge total import: 3125.273kWh
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 charger status: C
Jan 31 04:00:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:00:50 plan: charge 1h35m30s between 2026-01-31 04:00:50 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:40 +0100 CET to 2026-01-31 04:00:50 +0100 CET
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 solar forecast: produced 369.839
Jan 31 04:00:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:00:50 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 ----
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 charge power: 12353W
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 charge currents: [18.7 18.8 19]A
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 battery 1 power: -0W
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 grid power: 12912W
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 battery 1 soc: 15%
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 pv 1 power: 0W
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:00:50 +0100 CET)
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 site power: 13012W
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 charge voltages: [220 221 221]V
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 session energy: 0.070kWh
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 charge total import: 3125.308kWh
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 charger status: C
Jan 31 04:01:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:01:00 plan: charge 1h35m21s between 2026-01-31 04:01:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 solar forecast: accumulated 0.000Wh from 2026-01-31 04:00:50 +0100 CET to 2026-01-31 04:01:00 +0100 CET
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 solar forecast: produced 369.839
Jan 31 04:01:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:00 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:01:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:01:10 ----



Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 ----
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 charge power: 10587W
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 charge currents: [16.3 16.5 16.5]A
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 battery 1 power: -0W
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 battery 1 soc: 15%
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 grid power: 11199W
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 pv 1 power: 0W
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:04:30 +0100 CET)
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 site power: 11299W
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 charge voltages: [221 223 222]V
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 detected active phases: 3p
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 session energy: 0.748kWh
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 charge total import: 3125.986kWh
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 charger status: C
Jan 31 04:04:40 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:40 plan: charge 1h32m24s between 2026-01-31 04:04:40 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 solar forecast: accumulated 0.000Wh from 2026-01-31 04:04:30 +0100 CET to 2026-01-31 04:04:40 +0100 CET
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 solar forecast: produced 369.839
Jan 31 04:04:40 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:40 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 ----
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 charge power: 10589W
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 charge currents: [16.3 16.4 16.5]A
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 battery 1 power: -0W
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 grid power: 11214W
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 battery 1 soc: 15%
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 pv 1 power: 0W
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:04:40 +0100 CET)
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 site power: 11314W
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 charge voltages: [221 222 222]V
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 detected active phases: 3p
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 session energy: 0.778kWh
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 charge total import: 3126.016kWh
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 charger status: C
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 plan: charge 1h32m16s between 2026-01-31 05:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:04:50 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:04:50 plan: continuing until end of slot at 2026-01-31 04:15:00 +0100 CET
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 solar forecast: accumulated 0.000Wh from 2026-01-31 04:04:40 +0100 CET to 2026-01-31 04:04:50 +0100 CET
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 solar forecast: produced 369.839
Jan 31 04:04:50 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:04:50 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 ----
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 charge power: 10590W
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 charge currents: [16.3 16.5 16.5]A
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 battery 1 power: -0W
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 grid power: 11222W
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 battery 1 soc: 15%
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 pv 1 power: 0W
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:04:50 +0100 CET)
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 site power: 11322W
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 charge voltages: [221 223 222]V
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 detected active phases: 3p
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 session energy: 0.807kWh
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 charge total import: 3126.045kWh
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 charger status: C
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 plan: charge 1h32m9s between 2026-01-31 05:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:05:00 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:00 plan: continuing until end of slot at 2026-01-31 04:15:00 +0100 CET
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 solar forecast: accumulated 0.000Wh from 2026-01-31 04:04:50 +0100 CET to 2026-01-31 04:05:00 +0100 CET
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 solar forecast: produced 369.839
Jan 31 04:05:00 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:00 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 ----
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 charge power: 10595W
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 charge currents: [16.3 16.4 16.5]A
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 battery 1 power: -0W
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 grid power: 11188W
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 battery 1 soc: 15%
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 pv 1 power: 0W
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 369.839kWh updated: 2026-01-31 04:05:00 +0100 CET)
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 !! solar production: accumulate moved db:5 from 369.839 to 369.839
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 site power: 11288W
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 charge voltages: [221 222 222]V
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 detected active phases: 3p
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 session energy: 0.837kWh
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 charge total import: 3126.075kWh
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 charger status: C
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 plan: charge 1h32m1s between 2026-01-31 05:00:00 +0100 CET until 2026-01-31 07:00:00 +0100 CET (power: 13800W, avg cost: 0.311)
Jan 31 04:05:10 t440p evcc[179231]: [lp-1  ] DEBUG 2026/01/31 04:05:10 plan: continuing until end of slot at 2026-01-31 04:15:00 +0100 CET
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 solar forecast: accumulated 0.000Wh from 2026-01-31 04:05:00 +0100 CET to 2026-01-31 04:05:10 +0100 CET
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 solar forecast: produced 369.839
Jan 31 04:05:10 t440p evcc[179231]: [site  ] DEBUG 2026/01/31 04:05:10 solar forecast: accumulated 419.045kWh, produced 369.839kWh, scale 0.883

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

evcc version 0.300.7

cpe35 avatar Jan 31 '26 12:01 cpe35

The charging is stopped at 4:15

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

andig avatar Jan 31 '26 12:01 andig

Ok, here is the complete log file evcc.log

cpe35 avatar Jan 31 '26 13:01 cpe35

I believe you've identified a special edge case. The planner prefers the later start when costs are equal (<=). During charging, the remaining duration decreases, a later equivalent window is found, and the plan jumps. There is a protection to continue charging until the current slot ends but none to avoid such jump. Result is a new continues charging plan starting later to complete required charged energy in time as an effect of the floating plan optimization.

iseeberg79 avatar Jan 31 '26 15:01 iseeberg79

@andig if we want to fix that it must be added for the loadpoint_plan - an idea would be to compare average costs and continue charging on same costs or to just continue if we are already charging?

loadpoint_plan.go ~200

		case strategy.Continuous && planStart.After(lp.clock.Now()):
			lp.log.DEBUG.Printf("plan: continuing- later plan start %s would interrupt continuous charging", planStart.Round(time.Second).Local())
			return true

iseeberg79 avatar Jan 31 '26 16:01 iseeberg79

Thanks for looking into it!

I just noticed that the described issue has already happened before with shorter pauses. Maybe the relevant logs are helpful: evcc1.log evcc2.log

Especially in the second log file the pause is only 20 seconds and the estimated average cost jumps from 0.327 to 0.326 and than back to 0.327 again:

Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 ----
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 charge power: 10318W
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 charge currents: [15.5 15.6 15.5]A
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 battery 1 power: -0W
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 grid power: 10769W
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 battery 1 soc: 26%
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 pv 1 power: 0W
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 337.033kWh updated: 2026-01-26 23:44:59 +0100 CET)
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 !! solar production: accumulate moved db:5 from 337.033 to 337.033
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 site power: 10869W
Jan 26 23:45:09 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:09 15min household consumption: 0Wh
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 charge voltages: [221 223 222]V
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 detected active phases: 3p
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 session energy: 16.316kWh
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 charge total import: 3083.743kWh
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 charger status: C
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 vehicle soc: 43%
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 vehicle soc limit: 100%
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 soc estimated: 45.61% (vehicle: 43.00%)
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 vehicle soc (estimator): 46%
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 vehicle range: 200km
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 plan: charge 18m4s between 2026-01-27 05:00:00 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.327)
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 available power -551W < 4140W min 3p threshold
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 start phase scale1p timer
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 phase scale1p in 5m0s
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 pv charge current: 1.83A = 17.6A + -15.8A (10869W @ 3p)
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 projected site power 8109W >= 0W disable threshold
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 pv disable in 0s
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 pv disable timer elapsed
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 pv timer reset
Jan 26 23:45:09 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:09 pv timer inactive
Jan 26 23:45:10 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:10 charger disable
Jan 26 23:45:10 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:10 solar forecast: accumulated 0.000Wh from 2026-01-26 23:44:59 +0100 CET to 2026-01-26 23:45:10 +0100 CET
Jan 26 23:45:10 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:10 solar forecast: produced 337.033
Jan 26 23:45:10 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:10 solar forecast: accumulated 381.376kWh, produced 337.033kWh, scale 0.884
Jan 26 23:45:10 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:10 set battery Batterie mode: normal
Jan 26 23:45:10 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:10 set battery mode: normal
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 ----
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge power: 0W
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge currents: [0 0 0]A
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 battery 1 power: 34W
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 grid power: 59W
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 battery 1 soc: 26%
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 pv 1 power: 0W
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 337.033kWh updated: 2026-01-26 23:45:09 +0100 CET)
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 !! solar production: accumulate moved db:5 from 337.033 to 337.033
Jan 26 23:45:19 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:19 site power: 193W
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge voltages: [225 226 226]V
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 session energy: 16.319kWh
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge total import: 3083.746kWh
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charger status: B
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge final energy: 16.319kWh
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] INFO 2026/01/26 23:45:19 stop charging <-
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 charge total import: 3083.746kWh
Jan 26 23:45:19 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:19 vehicle soc: 46%
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 vehicle soc limit: 100%
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 vehicle status: B
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 soc gradient updated: soc: 46.0%, socDiff: 22.0%, energyDiff: 16319Wh, energyPerSocStep: 741.8Wh, virtualCapacity: 74177Wh
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 vehicle soc (estimator): 46%
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 vehicle range: 215km
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 plan: charge 16m11s between 2026-01-26 23:45:20 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.326)
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 set charge current limit: 20A
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 charger enable
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 wake-up timer: start
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 phase timer inactive
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 pv timer elapse
Jan 26 23:45:20 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:20 pv timer inactive
Jan 26 23:45:20 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:20 solar forecast: accumulated 0.000Wh from 2026-01-26 23:45:10 +0100 CET to 2026-01-26 23:45:20 +0100 CET
Jan 26 23:45:20 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:20 solar forecast: produced 337.033
Jan 26 23:45:20 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:20 solar forecast: accumulated 381.376kWh, produced 337.033kWh, scale 0.884
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 ----
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 charge power: 0W
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 charge currents: [0 0 0]A
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 battery 1 power: 215W
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 grid power: 17W
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 battery 1 soc: 26%
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 pv 1 power: 0W
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 337.033kWh updated: 2026-01-26 23:45:19 +0100 CET)
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 !! solar production: accumulate moved db:5 from 337.033 to 337.033
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 site power: 332W
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 charge voltages: [225 226 226]V
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 charge total import: 3083.746kWh
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 charger status: B
Jan 26 23:45:29 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:29 plan: charge 16m11s between 2026-01-26 23:45:29 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.326)
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 solar forecast: accumulated 0.000Wh from 2026-01-26 23:45:20 +0100 CET to 2026-01-26 23:45:29 +0100 CET
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 solar forecast: produced 337.033
Jan 26 23:45:29 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:29 solar forecast: accumulated 381.376kWh, produced 337.033kWh, scale 0.884
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 ----
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charge power: 10308W
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charge currents: [15.5 15.6 15.5]A
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 battery 1 power: 244W
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 grid power: 10005W
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 battery 1 soc: 26%
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 pv 1 power: 0W
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 337.033kWh updated: 2026-01-26 23:45:29 +0100 CET)
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 !! solar production: accumulate moved db:5 from 337.033 to 337.033
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 site power: 10349W
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charge voltages: [221 222 223]V
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charge total import: 3083.750kWh
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charger status: C
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 charge start energy: 3083.750kWh
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] INFO 2026/01/26 23:45:39 start charging ->
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 wake-up timer: stop
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 vehicle soc: 46%
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 vehicle soc limit: 100%
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 soc estimated: 46.00% (vehicle: 46.00%)
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 vehicle soc (estimator): 46%
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 vehicle range: 215km
Jan 26 23:45:39 t440p evcc[144154]: [lp-1  ] DEBUG 2026/01/26 23:45:39 plan: charge 16m11s between 2026-01-26 23:45:39 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.327)
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 solar forecast: accumulated 0.000Wh from 2026-01-26 23:45:29 +0100 CET to 2026-01-26 23:45:39 +0100 CET
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 solar forecast: produced 337.033
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 solar forecast: accumulated 381.376kWh, produced 337.033kWh, scale 0.884
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 set battery Batterie mode: hold
Jan 26 23:45:39 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:39 set battery mode: hold
Jan 26 23:45:49 t440p evcc[144154]: [site  ] DEBUG 2026/01/26 23:45:49 ----

cpe35 avatar Jan 31 '26 16:01 cpe35

@andig if we want to fix that it must be added for the loadpoint_plan - an idea would be to compare average costs and continue charging on same costs or to just continue if we are already charging?

loadpoint_plan.go ~200

		case strategy.Continuous && planStart.After(lp.clock.Now()):
			lp.log.DEBUG.Printf("plan: continuing- later plan start %s would interrupt continuous charging", planStart.Round(time.Second).Local())
			return true

Fix what? It just becomes a shorter but still continous plan.

andig avatar Jan 31 '26 16:01 andig

yes and no - it's a little shorter, and has a gap (45min) now. Not resulting in a continuous plan finally. Need to change perspectives: full charging session is not continuous as the planner in the end has created more than one continuous window. The new logs are showing the same, plan jumps because of floating optimization. There is another chance to fulfill the energy demand at a later window. We should think about to give a current continuous plan in execution priority as the next plan cannot be cheaper but at equal costs only and being later.

iseeberg79 avatar Jan 31 '26 17:01 iseeberg79

yes and no - it's a little shorter, and has a gap (45min) now.

Really, it is a new continuous plan since planning assumptions have changed. I don't think we should enforce continuous charging in this case. Or should we? What happens when we try to change to x% with preconditioning? When the plan gets shorter you'll either overshoot the x% or can't charge for preconditioning.

I'd keep it as is, maybe make clearer that "continuous" is a relative term. Wdyt?

andig avatar Feb 01 '26 10:02 andig

EVCC1.LOG (Jan 26, 2026)

LogTime Event ReqDuration PlanStart PlanEnd Cost Pause
03:45 Created 1h29m 04:00 ~05:30 0.312 -
04:00 Start charging 1h17m 04:00 ~05:17 0.312 -
04:02 PAUSE (shift) 1h16m 04:15 ~05:31 0.312 13min
04:15 Resume 1h01m 04:15 ~05:16 0.312 -
04:15 PAUSE (shift) 1h01m 04:30 ~05:31 0.312 15min
04:30 Resume 48m 04:30 ~05:18 0.312 -
04:30 PAUSE (shift) 48m 04:45 ~05:33 0.312 15min
04:45 Resume 33m 04:45 ~05:18 0.312 -
04:46 PAUSE (shift) 32m 05:00 ~05:33 0.312 14min
05:00 Resume ~11m 05:00 ~05:11 0.311 -
05:11 Complete - - - - -

iseeberg79 avatar Feb 01 '26 12:02 iseeberg79

@iseeberg79 the 13min pause should have been skipped imho. Is that one really paused? The others are all due to the charging speeding up more and more combined with preference for later start even if costs are equal.

What I find strange is that the plan end jumps around by 15min- I would have expected that to be fairly stable.

andig avatar Feb 01 '26 13:02 andig

Yes, you are right - and I also would expect the end to be stable. Every short pause to restart within 15min is avoided and charge-end is post-poned until slot end. There is only one critical situation:

From log #evcc1.log:

2026/01/26 04:43:09 charger status: C 2026/01/26 04:43:09 plan: charge 33m12s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:43:09 plan: avoid re-start within 15m0s, continuing for remaining 1m50s 2026/01/26 04:43:21 charge power: 10127W 2026/01/26 04:43:21 charger status: C 2026/01/26 04:43:21 plan: charge 33m2s between 2026-01-26 05:00:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:43:29 charge power: 0W 2026/01/26 04:43:29 charger status: B 2026/01/26 04:43:30 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:43:39 charge power: 0W 2026/01/26 04:43:39 charger status: B 2026/01/26 04:43:39 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:43:49 charge power: 0W 2026/01/26 04:43:49 charger status: B 2026/01/26 04:43:49 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:43:59 charge power: 0W 2026/01/26 04:43:59 charger status: B 2026/01/26 04:43:59 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:09 charge power: 0W 2026/01/26 04:44:09 charger status: B 2026/01/26 04:44:09 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:19 charge power: 0W 2026/01/26 04:44:19 charger status: B 2026/01/26 04:44:19 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:29 charge power: 0W 2026/01/26 04:44:29 charger status: B 2026/01/26 04:44:29 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:39 charge power: 0W 2026/01/26 04:44:39 charger status: B 2026/01/26 04:44:39 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:49 charge power: 0W 2026/01/26 04:44:49 charger status: B 2026/01/26 04:44:49 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:44:59 charge power: 0W 2026/01/26 04:44:59 charger status: B 2026/01/26 04:44:59 plan: charge 33m30s between 2026-01-26 04:45:00 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:45:09 charge power: 0W 2026/01/26 04:45:09 charger status: B 2026/01/26 04:45:09 plan: charge 33m30s between 2026-01-26 04:45:09 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312) 2026/01/26 04:45:19 charge power: -41W 2026/01/26 04:45:19 charger status: C 2026/01/26 04:45:19 plan: charge 33m30s between 2026-01-26 04:45:19 +0100 CET until 2026-01-26 07:00:00 +0100 CET (power: 11000W, avg cost: 0.312)

Because of having a restart in >15min the charging is stopped.

Same situation for evcc.log and evcc2.log - a new continuous window finishing later at (almost) same costs; having a pause >>15min

2026/01/26 23:44:59 plan: charge 18m14s between 2026-01-27 05:00:00 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.327) 2026/01/26 23:44:59 plan: continuing until end of slot at 2026-01-26 23:45:00 +0100 CET 2026/01/26 23:45:09 charge power: 10318W 2026/01/26 23:45:09 charger status: C 2026/01/26 23:45:09 plan: charge 18m4s between 2026-01-27 05:00:00 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.327) 2026/01/26 23:45:19 charge power: 0W 2026/01/26 23:45:19 charger status: B 2026/01/26 23:45:20 plan: charge 16m11s between 2026-01-26 23:45:20 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.326) 2026/01/26 23:45:29 charge power: 0W 2026/01/26 23:45:29 charger status: B 2026/01/26 23:45:29 plan: charge 16m11s between 2026-01-26 23:45:29 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.326) 2026/01/26 23:45:39 charge power: 10308W 2026/01/26 23:45:39 charger status: C 2026/01/26 23:45:39 plan: charge 16m11s between 2026-01-26 23:45:39 +0100 CET until 2026-01-27 07:00:00 +0100 CET (power: 11000W, avg cost: 0.327) 2026/01/26 23:45:49 charge power: 10323W 2026/01/26 23:45:50 charger status: C

... looking into

iseeberg79 avatar Feb 01 '26 15:02 iseeberg79

still trying to provide a tested and proved change; requires to analyze some real charging sessions

iseeberg79 avatar Feb 04 '26 20:02 iseeberg79

I have a real charging session that was interrupted from 04:45 to 05:00. Would it help to post the complete trace?

Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] DEBUG 2026/02/02 02:45:00 charger status: B Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 plan: creating plan with continuous=true, precondition=0s, duration=2h11m20s, target=2026-02-02 07:30:00 +0100 CET Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] DEBUG 2026/02/02 02:45:00 plan: charge 2h11m20s between 2026-02-02 03:15:00 +0100 CET until 2026-02-02 07:30:00 +0100 CET (power: 11040W, avg cost: 0.091) Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 03:15:00 +0100 CET to 2026-02-02 03:30:00 +0100 CET cost 0.090 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 03:30:00 +0100 CET to 2026-02-02 03:45:00 +0100 CET cost 0.090 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 03:45:00 +0100 CET to 2026-02-02 04:00:00 +0100 CET cost 0.090 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 04:00:00 +0100 CET to 2026-02-02 04:15:00 +0100 CET cost 0.091 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 04:15:00 +0100 CET to 2026-02-02 04:30:00 +0100 CET cost 0.092 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 04:30:00 +0100 CET to 2026-02-02 04:45:00 +0100 CET cost 0.092 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 04:45:00 +0100 CET to 2026-02-02 05:00:00 +0100 CET cost 0.092 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 05:00:00 +0100 CET to 2026-02-02 05:15:00 +0100 CET cost 0.095 Feb 02 02:45:00 linux evcc[1866501]: [lp-1 ] TRACE 2026/02/02 02:45:00 slot from: 2026-02-02 05:15:00 +0100 CET to 2026-02-02 05:26:20 +0100 CET cost 0.091

Feb 02 04:33:39 linux evcc[1866501]: [lp-1 ] DEBUG 2026/02/02 04:33:39 plan: charge 37m26s between 2026-02-02 04:45:00 +0100 CET until 2026-02-02 07:30:00 +0100 CET (power: 11040W, avg cost: 0.093) Feb 02 04:33:39 linux evcc[1866501]: [lp-1 ] DEBUG 2026/02/02 04:33:39 plan: avoid re-start within 15m0s, continuing for remaining 11m20s

Feb 02 04:45:19 linux evcc[1866501]: [lp-1 ] INFO 2026/02/02 04:45:19 stop charging <- Feb 02 05:00:36 linux evcc[1866501]: [lp-1 ] INFO 2026/02/02 05:00:36 start charging ->

All-Ex-U avatar Feb 04 '26 21:02 All-Ex-U

requires to analyze some real charging sessions

@iseeberg79 what do you mean with "real" charging sessions? If I can help by setting the log level to trace instead of debug let me know. With the energy-chart-api the issue is happening quite often for me.

cpe35 avatar Feb 04 '26 21:02 cpe35

Means it's unfortunate. As there is floating optimization, planning is to change on different circumstances. Actually I am testing the implementation by real charging sessions and analyze the logs afterwards. The dynamic loadpoint_plan handling is not easily to verify. The plan returned is always continuous but at the moment it is not guaranteed to have "a continuous charging session".

iseeberg79 avatar Feb 04 '26 21:02 iseeberg79

It comes down to the question what we expect of a "continuous" plan. What is the continuity requirement when it turns out that the required charging time is shorter than initially expected? Keep going (at higher cost) or stop and later restart new "continuous" plan with lower cost?

andig avatar Feb 07 '26 15:02 andig

Yes, you are right.

It is to assume that we would have equal costs and never counting lower costs. It's just rounding differences and later equal charging costs.

The PR assumes that the cheapest window has been determined. "costs" to restart charging taken into account, but at least the user selected to charge using one session and not disrupt. PR changes to be truly continuous; and fixes to have a precondition execution (for both strategies). I have recorded some debug logs if required.

iseeberg79 avatar Feb 07 '26 16:02 iseeberg79

The PR assumes that the cheapest window has been determined.

"Cheapest" for the longer plan. I repeat the question:

What is the continuity requirement when it turns out that the required charging time is shorter than initially expected? a) Keep going (at higher cost) or b) stop and later restart new "continuous" plan with lower cost?

Your PR is a) while we currently have b). Both are valid choices. I'd appreciate more feedback.

andig avatar Feb 07 '26 16:02 andig

As a user when choosing “continuous charging“ I expect a) My expectations for “continuous”:

  • Continuous charging is more important than costs.
  • No interruptions, even if price updates lead to a more expensive plan.

My motivation to use “continuous“: In low temperatures the battery will cool down during charge interruptions and needs to be heated again in the next slot. I assume that this will be more expensive than savings by little fluctuations in costs.

If I wanted b) I would choose “cheapest”. My expectations for cheapest:

  • Costs are more important than continuous charging
  • Price updates may lead to new interruptions

All-Ex-U avatar Feb 07 '26 17:02 All-Ex-U

Thanks. More expectations or thumbs up are welcome!

iseeberg79 avatar Feb 07 '26 18:02 iseeberg79