Optimizer erroneously responds "no charging target"
Description
I have cobfigured a charging plan with target some days in future (Friday 20.11.2026). Grid tariff prediction exists for this timeframe. The dialog for the current charging plan indicates, that energy price at night between 17.11 and 18.11 is very cheap, so that car should get charged (green bars - see screenshot).
But the optimizer reports, that there would be no charging target.
The optimizer should plan for the complete time horizon, for which the registered grid price prediction provides data. I understand, that the optimizer has problems with charging plan target dates, where no grid grice prediction is available.
Steps to Reproduce
- Register dynamic grid price predictor which provides prices for 3 and more days in future
- Create charging plan with target about 3 days in future
- Ask optimizer for description of plan.
- Optimizer tells, that there is no charging plan
Configuration (YAML)
# log settings
log: info
levels:
site: debug
lp-1: debug
lp-2: debug
cache: error
db: error
hyundai: debug #trace
Configuration (UI)
{
"charger": [
{"id":77,"name":"db:77","type":"template","config":{"template":"vaillant","password":"***","realm":"germany","reboost":"15m","user":"***"},"deviceDisable":true,"deviceProduct":"Vaillant SensoNET (API)"},
{"id":56,"name":"db:56","type":"template","config":{"id":255,"template":"vestel","baudrate":9600,"comset":"8N1","host":"192.168.10.62","modbus":"tcpip","port":502},"deviceProduct":"Vestel EVC04 Home Smart"},
{"id":73,"name":"db:73","type":"template","config":{"template":"eebus-ohpcf-wolfvaillant","disablepowerlimiter":false,"reboost":"10m","ski":"***"},"deviceProduct":"Vaillant aroTHERM plus (EEBus)"}
],
"circuit": [
{"id":76,"name":"db:76","type":"template","config":{"template":"static","maxcurrent":35,"meter":"db:30","parent":""},"deviceProduct":"Statischer Stromkreis","deviceTitle":"Strombegrezung"}
],
"country": "",
"currency": "EUR",
"eebus": {"config":{"certificate":{"private":"***","public":"***"},"port":4712,"shipid":"***3564"},"status":{"qr":"***","ski":"***00c8"}},
"experimental": true,
"gridExportLimit": 0,
"influx": {"database":"evcc","insecure":true,"org":"Kariburg","password":"","token":"***","url":"http://localhost:8086","user":""},
"interval": 30,
"loadpoints": [
{"id":53,"name":"db:53","alwaysCharge":"off","batteryBoostLimit":80,"charger":"db:56","circuit":"db:76","defaultMode":"smart","limitEnergy":40,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"minSoc":0,"phasesConfigured":0,"planEnergy":40,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"2026-11-20T17:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":0.4,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"E-Auto","ui":{"maxTemp":0,"minTemp":0},"vehicle":"db:31"},
{"id":74,"name":"db:74","alwaysCharge":"off","batteryBoostLimit":100,"charger":"db:73","circuit":"db:76","defaultMode":"smart","limitEnergy":0,"limitSoc":50,"maxCurrent":16,"minCurrent":6,"minSoc":40,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":0.4,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Wärmepumpe","ui":{"maxTemp":60,"minTemp":0}},
{"id":78,"name":"db:78","alwaysCharge":"","batteryBoostLimit":100,"charger":"db:77","circuit":"db:76","defaultMode":"smart","disable":true,"limitEnergy":0,"limitSoc":23,"maxCurrent":0,"minCurrent":0,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":1,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Wärmepumpe Netz","ui":{"maxTemp":100,"minTemp":0}}
],
"messenger": [
{"id":26,"name":"db:26","type":"template","config":{"template":"email","from":"Achim Spangler","fromName":"Achim Spangler","host":"posteo.de","password":"***","port":587,"to":["[email protected]"],"user":"***"},"deviceProduct":"E-Mail"}
],
"meter": [
{"id":29,"name":"db:29","type":"template","config":{"id":247,"template":"goodwe-hybrid","battery":"1","baudrate":9600,"capacity":15,"comset":"8N1","host":"192.168.10.63","maxacpower":"0","maxchargepower":8450,"maxdischargepower":8450,"maxsoc":"100","minsoc":"10","modbus":"tcpip","port":502,"usage":"battery"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter","deviceTitle":"Batterie"},
{"id":30,"name":"db:30","type":"template","config":{"id":247,"template":"goodwe-hybrid","battery":"1","baudrate":9600,"comset":"8N1","host":"192.168.10.63","maxacpower":"0","maxchargepower":"10000","maxdischargepower":"10000","maxsoc":"100","minsoc":"10","modbus":"tcpip","port":502,"usage":"grid"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter"},
{"id":28,"name":"db:28","type":"template","config":{"id":247,"template":"goodwe-hybrid","battery":"1","baudrate":9600,"comset":"8N1","host":"192.168.10.63","maxacpower":6500,"maxchargepower":"10000","maxdischargepower":"10000","maxsoc":"100","minsoc":"10","modbus":"tcpip","port":502,"usage":"pv"},"deviceProduct":"GoodWe ET/EH/BH/BT Hybrid Inverter","deviceTitle":"PV"}
],
"mqtt": {"broker":"","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":false,"password":"","topic":"evcc","user":""},
"ocpp": {"config":{"port":8887},"status":{"stations":[]}},
"ocppforwarder": {"config":[],"status":[]},
"optimizer": true,
"optimizerChargingStrategy": "charge_before_export",
"remote": {"enabled":true},
"residualPower": 0,
"shm": {"deviceId":"","deviceSerial":"","vendorId":""},
"site": {"aux":null,"battery":["db:29"],"consumer":null,"curtail":null,"ext":null,"grid":"db:30","pv":["db:28"],"title":"Kariburg4Ioniq5"},
"tariff": [
{"id":4,"name":"db:4","type":"template","config":{"template":"fixed","price":0.08},"deviceProduct":"Fester Preis"},
{"id":75,"name":"db:75","type":"template","config":{"template":"grünstromindex","zip":"***"},"deviceProduct":"Grünstromindex"},
{"id":68,"name":"db:68","type":"template","config":{"template":"open-meteo-temperature","interval":"1h","lat":"***","lon":"***"},"deviceProduct":"Open-Meteo Temperature"},
{"id":11,"name":"db:11","type":"template","config":{"template":"open-meteo","ac":6500,"alphatemp":"-0.004","az":0,"de":"0","dec":40,"dm":"0","efficiency":99,"interval":"1h","kwp":5.88,"lat":"***","lon":"***","model":"best_match","rossmodel":0.0563},"deviceProduct":"Open-Meteo","deviceTitle":"Open-Meteo"},
{"id":33,"name":"db:33","type":"template","config":{"template":"epex-predictor","average":false,"charges":0.142,"region":"DE","tax":0.208,"uri":"***"},"deviceProduct":"EPEX Predictor Predicted EPEX spot prices"}
],
"tariffRefs": {"co2":"db:75","feedIn":"db:4","grid":"db:33","planner":"","solar":["db:11"],"temperature":"db:68"},
"vehicle": [
{"id":10,"name":"db:10","type":"template","config":{"template":"hyundai","autodetectdisabled":false,"cache":"15m","capacity":72.6,"climaterdisabled":true,"icon":"car","identifiers":[],"language":"de","mode":"pv","password":"***","phases":"3","region":"Europe","title":"Ioniq5-Bluelink","user":"***","wakeupdisabled":false},"deviceProduct":"Hyundai Bluelink"},
{"id":31,"name":"db:31","type":"template","config":{"template":"offline","capacity":72.6,"climaterdisabled":true,"coarsecurrent":true,"icon":"car","identifiers":["210913e6"],"maxCurrent":16,"mode":"pv","phases":"3","priority":0,"title":"Ioniq5-Manuell","welcomecharge":false},"deviceProduct":"Generisches Fahrzeug (ohne API)"}
]
}
Logs
[lp-2 ] DEBUG 2026/11/17 19:37:31 charger soc: 49%
[lp-2 ] DEBUG 2026/11/17 19:37:31 !! plan: plan time zero
[lp-2 ] DEBUG 2026/11/17 19:37:31 pv charge current: 0A = 0.4A + -0.848A (585W @ 3p)
[eebus ] DEBUG 2026/11/17 19:37:45 Evnt: 73cefeb9b25e78bd0c905955df13aeb1ba2fa921 eg-lpc-DataUpdateHeartbeat
[site ] DEBUG 2026/11/17 19:37:57 ----
[lp-2 ] DEBUG 2026/11/17 19:37:57 charge power: 276W
[lp-1 ] DEBUG 2026/11/17 19:37:57 charge power: 6W
[lp-1 ] DEBUG 2026/11/17 19:37:57 charge currents: [0.058 0.018 0.018]A
[db:76-Strombegrezung] DEBUG 2026/11/17 19:38:00 power: 5W
[db:76-Strombegrezung] DEBUG 2026/11/17 19:38:00 current: 1.4A
[site ] DEBUG 2026/11/17 19:38:00 grid power: 5W
[site ] DEBUG 2026/11/17 19:38:00 grid powers: [-89 214 -119]W
[site ] DEBUG 2026/11/17 19:38:00 grid currents: [-1 1.4 -0.9]A
[site ] DEBUG 2026/11/17 19:38:00 battery 1 power: 500W
[site ] DEBUG 2026/11/17 19:38:00 pv 1 power: 0W
[site ] DEBUG 2026/11/17 19:38:00 battery 1 soc: 20%
[site ] DEBUG 2026/11/17 19:38:01 site power: 605W
[lp-1 ] DEBUG 2026/11/17 19:38:01 charge voltages: [230 234 233]V
[lp-1 ] DEBUG 2026/11/17 19:38:01 charge total import: 1229.500kWh
[lp-1 ] DEBUG 2026/11/17 19:38:01 charger status: B
[lp-1 ] DEBUG 2026/11/17 19:38:01 plan: charge 3h37m23s between 2026-11-18 02:00:00 +0100 CET until 2026-11-20 18:00:00 +0100 CET (power: 11040W, avg cost: 0.279)
[lp-1 ] DEBUG 2026/11/17 19:38:01 optimizer: stop, following measured pv surplus
[lp-1 ] DEBUG 2026/11/17 19:38:01 pv charge current: 0A = 0A + -2.2A (505W @ 1p)
[eebus ] DEBUG 2026/11/17 19:38:06 Evnt: 73cefeb9b25e78bd0c905955df13aeb1ba2fa921 ma-mpc-DataUpdatePower
[eebus ] DEBUG 2026/11/17 19:38:06 Evnt: 73cefeb9b25e78bd0c905955df13aeb1ba2fa921 ma-mpc-DataUpdatePower
Version
v0.319.1
System
linux/amd64, CET +01:00
Thanks for the report. The issue still contains the placeholder RETURN TO EVCC TAB, so configuration, system state and log are missing. To analyze why the optimizer reports no charging target, please add:
- the evcc configuration (loadpoint, vehicle, tariffs)
- the system state from the issue dialog
- a debug log covering the moment you open the plan
- the exact plan settings (target SoC/energy, target time) and the current vehicle SoC
- the time range your grid tariff provides prices for
More background: https://docs.evcc.io/en/report-a-problem/
🤖 Generated with Claude Code
This looks like the known horizon limit, not a lost plan.
- The optimizer only plans as far as its forecast data reaches. The explanation in your system state says the E-Auto is planned "bis Freitag 00:00", while your plan target is Friday 18:00 CET.
- In
applyPlanGoal(core/site_optimizer_request.go), a goal beyond the horizon is only passed on if the vehicle could not charge the energy between the horizon end and the target at full power. Here that is about 18 h at up to 11 kW for 40 kWh, so no goal is sent. The vehicle then has no target in the request, and the explanation service reports "no charging target". - The loadpoint's own plan is still kept (
plan: charge 3h37m23s between 2026-11-18 02:00 ...). Charging is started early if the target could otherwise be missed (planDeadlineCritical), so the target itself should still be met. - The wording is misleading. Passing targets beyond the horizon to the explanation is already announced in #35920.
The EPEX predictor data may not cover the whole period up to Friday. A merged tariff with a longer forecast would extend the horizon, as suggested in #36264.
Related: #35920 (same symptom and cause, likely duplicate), #36264 (same cause, closed as duplicate of #35920).
🤖 Generated with Claude Code
This is not the case. The horizon of the displayed prediction data for grid price tariff, PV production and temperature is beyond the charge endtime (Saturday 21.11) which is both displayed in charging plan, and forecast tab. So the problem is NOT caused by missing forecast data. It is just not used. Please see attached screenshot.
Please reopen
Correction to my earlier comment: the limit is not your forecast data. The optimizer horizon is capped by design at 48 hours, extended to the end of that day (optimizerHorizon in core/site_optimizer_request.go), no matter how far the tariff forecast reaches. Today (17.11., after 6:00) that ends Thursday 19.11. 23:59. Your plan target on Friday is beyond it, so no goal is sent to the optimizer and the explanation says "no charging target". Charging itself is not affected: the loadpoint's own plan (charge 3h37m23s between 2026-11-18 02:00 ...) still applies, and charging starts early if the target is at risk.
The misleading wording is the same problem as #35920 (closed). Only the explanation text is wrong. A target inside the next 48 h plans normally.
Related: #35920, #36264
🤖 Generated with Claude Code
Then please provide at least the possibility, to increase the optimizer horizon to the same time distance as the predicted data are available.
Question: Which part is responsible for the green highlighted time intervals in the charger plan? Because the charger plan seems to indicate planned times to charge from grid. So somewhere is the intelligence to detect, that the next night provides very cheap grid energy - much less than in the later days.
Mach gerne ein neues Issue mit kleinen (!) Screenshots. Ich kann in Safari leider kaum scrollen und die Bearbeitung ist daher nicht möglich.
Sorry - I just edited my posts and replaced the screenshots with a much smaller version. Should now be displayed correctly.
Not sure why but I can't open this issue. Needs a new one, sorry.
On 18. Nov 2026, at 11:34, kariburger @.***> wrote:
kariburger left a comment (evcc-io/evcc#36374) https://github.com/evcc-io/evcc/issues/36374#issuecomment-6975960292 Sorry - I just edited my posts and replaced the screenshots with a much smaller version. Should now be displayed correctly.
— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/36374?email_source=notifications&email_token=AABND37N6FFBOCDP4CI4DP35ZV3KHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJXGU4TMMBSHEZKM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6975960292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABND37SIHMA66BCDCOKPCD5ZV3KHAVCNFSNUABFKJSXA33TNF2G64TZHMZDENRTGY4DGMZYHNEXG43VMU5TMNBVGE2TCNJVHA4KC5QC. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AABND3ZW7S2WAMSWWPZV6AT5ZV3KHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJXGU4TMMBSHEZKM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/AABND34OQAAVKTZQN4SJG6D5ZV3KHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJXGU4TMMBSHEZKM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you commented.
It was the "System State" which I added in a later comment. I deleted now these huge amount of timeseries data.
Das verbleibende Problem ist immer noch https://github.com/evcc-io/evcc/issues/35920#issuecomment-6974776714.