Control behavior when car is loosing charge on connection
Description
When the car (in this case Tesla) has finished charging to the charging limit the day before and subsequently lost some percent due to being awake / air conditioning / ideling etc. it seems that EVCC does not recognize the new lower charge level, even though the configuration shows the new lower SoC. Car could now charge again (surplus present) but does not.
Steps to Reproduce
- charge car to charge limit (in pv surplus mode)
- leave car connected
- car looses charge on idle
- EVCC still sees SoC at 80% while car SoC is lower
Configuration (YAML)
plant: *****
Configuration (UI)
{
"charger": [
{"id":1,"name":"db:1","type":"template","config":{"template":"easee","charger":"EHEGAC2A","password":"***","timeout":"20s","user":"***"}}
],
"experimental": true,
"influx": {"database":"","insecure":false,"org":"","password":"","token":"","url":"","user":""},
"interval": 10,
"loadpoints": [
{"id":2,"name":"db:2","batteryBoostLimit":20,"charger":"db:1","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"phasesConfigured":0,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":0,"smartFeedInPriorityLimit":null,"soc":{"estimate":false,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Easee Große Garage","ui":{"maxTemp":0,"minTemp":0}}
],
"meter": [
{"id":4,"name":"db:4","type":"template","config":{"id":3,"template":"sma-hybrid","chargepower":"","host":"192.168.178.55","maxacpower":"0","modbus":"tcpip","port":502,"usage":"pv","watchdog":"60s"},"deviceTitle":"Wechselrichter"},
{"id":5,"name":"db:5","type":"template","config":{"id":3,"template":"sma-hybrid","baudrate":9600,"capacity":10.24,"chargepower":"","comset":"8N1","host":"192.168.178.55","maxacpower":10000,"maxchargepower":"","maxdischargepower":"","modbus":"tcpip","port":502,"usage":"battery","watchdog":"60s"},"deviceTitle":"Hausbatterie"},
{"id":6,"name":"db:6","type":"template","config":{"template":"sma-home-manager","host":"192.168.178.33","usage":"grid"}}
],
"mqtt": {"broker":"wss://mqtt.evcc-crowdscience.de/","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":false,"password":"","topic":"evcc/019c94b5-c4cc-7000-9784-48ff8684fc7c","user":""},
"residualPower": 100,
"shm": {"deviceId":"","deviceSerial":"","vendorId":""},
"site": {"aux":null,"battery":["db:5"],"consumers":null,"ext":null,"grid":"db:6","pv":["db:4"],"title":"So30"},
"tariff": [
{"id":8,"name":"db:8","type":"template","config":{"template":"fixed","price":0.078},"deviceProduct":"Fixed Price"},
{"id":9,"name":"db:9","type":"template","config":{"template":"grünstromindex","zip":"***"},"deviceProduct":"Grünstromindex"},
{"id":11,"name":"db:11","type":"template","config":{"template":"open-meteo","ac":"1000","alphatemp":"-0.004","az":35,"de":"0","dec":90,"dm":"0","efficiency":"100","interval":"1h","kwp":3.48,"lat":"***","lon":"***","rossmodel":"0.0342"},"deviceProduct":"Open-Meteo","deviceTitle":"PV-Zaun"},
{"id":10,"name":"db:10","type":"template","config":{"template":"open-meteo","ac":"1000","alphatemp":"-0.004","az":-135,"de":"0","dec":6,"dm":"0","efficiency":"100","interval":"1h","kwp":10.2,"lat":"***","lon":"***","rossmodel":"0.0342"},"deviceProduct":"Open-Meteo","deviceTitle":"PV-Küchendach"},
{"id":7,"name":"db:7","type":"template","config":{"template":"tibber","token":"***"},"deviceProduct":"Tibber"}
],
"tariffRefs": {"co2":"db:9","feedIn":"db:8","grid":"db:7","planner":"","solar":["db:10","db:11"]},
"vehicle": [
{"id":12,"name":"db:12","type":"template","config":{"template":"tesla","accessToken":"***","autodetectdisabled":false,"cache":"15m","capacity":72,"clientId":"5d74d959-96fe-44aa-a683-d8e2afabeee8","climaterdisabled":false,"commandProxy":"https://api.myteslamate.com","icon":"car","mode":"pv","priority":0,"refreshToken":"***","title":"Model Y","vin":"***"},"deviceProduct":"Tesla"}
]
}
Logs
[lp-1 ] DEBUG 2026/07/07 10:55:10 !! plan: plan time zero
[lp-1 ] DEBUG 2026/07/07 10:55:10 pv charge current: 5.3A = 0A + 5.3A (-3659W @ 3p)
[site ] DEBUG 2026/07/07 10:55:10 solar forecast: produced 10.211kWh, forecasted 17.224kWh, scale 0.593
[site ] DEBUG 2026/07/07 10:55:19 ----
[lp-1 ] DEBUG 2026/07/07 10:55:19 charge power: 0W
[lp-1 ] DEBUG 2026/07/07 10:55:19 charge currents: [0.009 0.008 0.007]A
[site ] DEBUG 2026/07/07 10:55:19 grid power: -3640W
[site ] DEBUG 2026/07/07 10:55:19 grid powers: [-1307 -1373 -959]W
[site ] DEBUG 2026/07/07 10:55:19 grid currents: [-5.57 -5.81 -4.34]A
[site ] DEBUG 2026/07/07 10:55:20 battery 1 power: 0W
[site ] DEBUG 2026/07/07 10:55:20 pv 1 power: 4420W
[site ] DEBUG 2026/07/07 10:55:20 battery 1 soc: 100%
[site ] DEBUG 2026/07/07 10:55:20 site power: -3540W
[lp-1 ] DEBUG 2026/07/07 10:55:20 charge total import: 6547.821kWh
[lp-1 ] DEBUG 2026/07/07 10:55:20 charger status: B
[lp-1 ] DEBUG 2026/07/07 10:55:20 !! plan: plan time zero
[lp-1 ] DEBUG 2026/07/07 10:55:20 pv charge current: 5.13A = 0A + 5.13A (-3540W @ 3p)
[site ] DEBUG 2026/07/07 10:55:20 solar forecast: produced 10.211kWh, forecasted 17.224kWh, scale 0.593
[site ] DEBUG 2026/07/07 10:55:29 ----
[lp-1 ] DEBUG 2026/07/07 10:55:29 charge power: 0W
[lp-1 ] DEBUG 2026/07/07 10:55:29 charge currents: [0.009 0.008 0.007]A
[site ] DEBUG 2026/07/07 10:55:29 grid power: -3768W
[site ] DEBUG 2026/07/07 10:55:29 grid powers: [-1352 -1414 -1001]W
[site ] DEBUG 2026/07/07 10:55:29 grid currents: [-5.74 -5.99 -4.49]A
[site ] DEBUG 2026/07/07 10:55:30 battery 1 power: 0W
Version
v0.311.0
System
linux/amd64, CEST +02:00
You have configured the poll mode charging. So this behavior is expected. To the mismatched between UI and config, see https://github.com/evcc-io/evcc/issues/25565
Alright, as I understand changing the update behavior to connected instead of charging would change this behavior while it might introduce the indicated issues.