Evcc Stops after start
Description
After adding an Ocpp Wallbox to evcc and updating to 0.315.0 evcc Starts but the log File Stops after a few Seconds. The Screen in the App appears normal but all Data ist Frozen.
Steps to Reproduce
Restart
Configuration (YAML)
network:
schema: http
host: evcc.local # .local suffix announces the hostname on MDNS
port: 7070
log: debug
levels:
cache: error
# unique installation id
plant: *****
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true
site:
title: Zuhause
meters:
grid: grid1
# mqtt message broker
mqtt:
broker: localhost:1883
topic: evcc # root topic for publishing, set empty to disable publishing
user: *****
password: *****
vehicles:
- name: vw_passat_joern
title: Passat # Wird in der Benutzeroberfläche angezeigt (Optional)
type: custom
capacity: 10 # Akkukapazität in kWh (Optional)
phases: 1
soc:
source: mqtt
topic: Wican/vw_passat_joern/soc_aufbereitet
timeout: 8h
Configuration (UI)
{
"charger": [
{"id":11,"name":"db:11","type":"template","config":{"template":"go-e-v3","host":"192.168.178.90"},"deviceProduct":"go-e Charger V3"},
{"id":13,"name":"db:13","type":"template","config":{"template":"ocpp-goe","connector":"1","connecttimeout":"5m","meterinterval":"10s","remotestart":false,"stationid":"***"},"deviceProduct":"go-e Charger Gemini 2.0 (OCPP)"}
],
"experimental": false,
"influx": {"database":"","insecure":false,"org":"","password":"","token":"","url":"","user":""},
"interval": 30,
"loadpoints": [
{"id":12,"name":"db:12","batteryBoostLimit":20,"charger":"db:11","defaultMode":"pv","limitEnergy":0,"limitSoc":80,"maxCurrent":32,"minCurrent":6,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":1,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Carport innen","ui":{"maxTemp":100,"minTemp":0},"vehicle":"vw_passat_joern"},
{"id":14,"name":"db:14","batteryBoostLimit":20,"charger":"db:13","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":32,"minCurrent":6,"minSoc":0,"phasesConfigured":0,"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"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Carport aussen","ui":{"maxTemp":100,"minTemp":0},"vehicle":"db:10"}
],
"meter": [
{"id":2,"name":"db:2","type":"template","config":{"id":3,"template":"sma-hybrid","baudrate":9600,"comset":"8N1","host":"192.168.178.121","maxacpower":9000,"maxchargepower":"4200","modbus":"tcpip","port":502,"usage":"pv","watchdog":"60s"},"deviceProduct":"SMA Smart Energy Hybrid-Wechselrichter","deviceTitle":"Hausdach"},
{"id":3,"name":"db:3","type":"template","config":{"id":3,"template":"sma-hybrid","baudrate":9600,"capacity":18,"comset":"8N1","host":"192.168.178.121","maxacpower":"0","maxchargepower":9000,"maxdischargepower":9000,"modbus":"tcpip","port":502,"usage":"battery","watchdog":"60s"},"deviceProduct":"SMA Smart Energy Hybrid-Wechselrichter","deviceTitle":"Hausakku"},
{"id":1,"name":"db:1","type":"template","config":{"template":"sma-home-manager","host":"192.168.178.59","usage":"grid"},"deviceProduct":"SMA Sunny Home Manager 2.0"},
{"id":4,"name":"db:4","type":"template","config":{"template":"sma-inverter-speedwire","host":"192.168.178.60","password":"***","usage":"pv"},"deviceProduct":"SMA Wechselrichter (Speedwire)","deviceTitle":"Schleppdach"}
],
"mqtt": {"broker":"localhost:1883","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":false,"password":"***","topic":"evcc","user":"mqttuser"},
"residualPower": 200,
"shm": {"deviceId":"","deviceSerial":"","vendorId":""},
"site": {"aux":null,"battery":["db:3"],"consumer":null,"curtail":null,"ext":null,"grid":"db:1","pv":["db:2","db:4"],"title":"Zuhause"},
"tariff": [
{"id":5,"name":"db:5","type":"template","config":{"template":"fixed","price":0.3},"deviceProduct":"Fester Preis"},
{"id":6,"name":"db:6","type":"template","config":{"template":"fixed","price":0.08},"deviceProduct":"Fester Preis"},
{"id":9,"name":"db:9","type":"template","config":{"template":"forecast-solar","az":-8,"dec":7,"interval":"1h","kwp":11.4,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Scheune-Schleppdach"},
{"id":7,"name":"db:7","type":"template","config":{"template":"forecast-solar","az":-8,"dec":90,"interval":"1h","kwp":3.8,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Scheune-Giebel"},
{"id":8,"name":"db:8","type":"template","config":{"template":"forecast-solar","az":-8,"dec":45,"interval":"1h","kwp":10.2,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Hausdach"}
],
"tariffRefs": {"co2":"","feedIn":"db:6","grid":"db:5","planner":"","solar":["db:7","db:8","db:9"],"temperature":""},
"vehicle": [
{"id":10,"name":"db:10","type":"template","config":{"template":"opel","accessToken":"***","autodetectdisabled":false,"cache":"15m","capacity":50,"climaterdisabled":false,"icon":"car","maxCurrent":16,"maxPower":10000,"minCurrent":6,"phases":"3","priority":0,"refreshToken":"***","title":"Corsa","user":"***","vin":"***","wakeupdisabled":false},"deviceProduct":"Opel"}
]
}
Logs
[lp-2 ] INFO 2026/09/02 20:00:36 vehicle updated: unknown -> Corsa
[site ] DEBUG 2026/09/02 20:00:36 ----
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge power: 0W
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2026/09/02 20:00:36 charge power: 0W
[lp-2 ] DEBUG 2026/09/02 20:00:36 charge currents: [0 0 0]A
[site ] DEBUG 2026/09/02 20:00:36 grid power: -479W
[site ] DEBUG 2026/09/02 20:00:36 grid powers: [-233 -155 -91]W
[site ] DEBUG 2026/09/02 20:00:36 grid currents: [-1.09 -1.11 -1.1]A
[site ] DEBUG 2026/09/02 20:00:36 pv 2 power: 0W
[site ] DEBUG 2026/09/02 20:00:36 battery 1 power: 0W
[site ] DEBUG 2026/09/02 20:00:36 pv 1 power: 26W
[site ] DEBUG 2026/09/02 20:00:36 pv power: 26W
[site ] DEBUG 2026/09/02 20:00:36 battery 1 soc: 91%
[site ] DEBUG 2026/09/02 20:00:36 site power: -279W
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge voltages: [228 227 229]V
[lp-1 ] DEBUG 2026/09/02 20:00:36 detected connected phases: 3p
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge total import: 7630.000kWh
[site ] DEBUG 2026/09/02 20:00:36 set residual power: 200
[lp-1 ] DEBUG 2026/09/02 20:00:36 charger status: B
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge start energy: 7630.000kWh
[lp-1 ] INFO 2026/09/02 20:00:36 car connected
[lp-1 ] DEBUG 2026/09/02 20:00:36 pv timer elapse
[lp-1 ] DEBUG 2026/09/02 20:00:36 pv timer inactive
[lp-1 ] DEBUG 2026/09/02 20:00:36 charge total import: 7630.000kWh
Version
v0.315.0
System
linux/arm, CEST +02:00
Thanks for the detailed config and log.
What I found
The log doesn't show a crash or error — it just stops mid-cycle, right after [lp-1] car connected / pv timer inactive / charge total import: 7630.000kWh, all for lp-1 (the go-e-v3 charger, not the newly added ocpp-goe one). That pattern (process alive, UI frozen, no further log lines, no error) looks like the evcc process is stuck/deadlocked somewhere rather than having crashed.
I looked for a likely cause in the OCPP charger code (charger/ocpp.go, charger/ocpp) since that's what changed for you, including the one OCPP-related change shipped in 0.315.0 (af4d14f65, "keep websocket alive between heartbeats"). That change only widens the websocket ping timeout and doesn't touch the code path visible in your log, so I can't confirm it as the cause with the evidence at hand. I also can't rule out an interaction between the two chargers/loadpoints being configured together (configureChargers waits for all chargers, including the OCPP one with its 5-minute connecttimeout, before the site loop can fully run).
What would help pin this down
- Does it stay frozen forever (needs a restart), or does it eventually resume (e.g. after ~5 minutes, matching your
connecttimeout: 5mon the OCPP charger)? - Since the process is likely just stuck (not crashed), a goroutine dump while frozen would show exactly where:
kill -QUIT <evcc-pid>on Linux prints all goroutine stacks to stderr/the log — could you capture and share that? - Does the freeze still happen if you temporarily remove/disable the
ocpp-goecharger (db:13) and its loadpoint, to confirm it's actually related to the OCPP addition and not a coincidence with the version upgrade?
Without a goroutine dump or a way to reproduce without the OCPP charger, I don't have enough to confirm a root cause.
🤖 Generated with Claude Code
- Ist stays Frozen forever. Even after 60m it stays Frozen.2. I don't know how to do so?3. Even with deaktivated Ocpp Charger it freezes.Am 02.09.26, 20:15 schrieb "github-actions[bot]" @.***>: github-actions[bot] left a comment (evcc-io/evcc#33439) Thanks for the detailed config and log. What I found The log doesn't show a crash or error — it just stops mid-cycle, right after [lp-1] car connected / pv timer inactive / charge total import: 7630.000kWh, all for lp-1 (the go-e-v3 charger, not the newly added ocpp-goe one). That pattern (process alive, UI frozen, no further log lines, no error) looks like the evcc process is stuck/deadlocked somewhere rather than having crashed. I looked for a likely cause in the OCPP charger code (charger/ocpp.go, charger/ocpp) since that's what changed for you, including the one OCPP-related change shipped in 0.315.0 (af4d14f65, "keep websocket alive between heartbeats"). That change only widens the websocket ping timeout and doesn't touch the code path visible in your log, so I can't confirm it as the cause with the evidence at hand. I also can't rule out an interaction between the two chargers/loadpoints being configured together (configureChargers waits for all chargers, including the OCPP one with its 5-minute connecttimeout, before the site loop can fully run). What would help pin this down
Does it stay frozen forever (needs a restart), or does it eventually resume (e.g. after ~5 minutes, matching your connecttimeout: 5m on the OCPP charger)?
Since the process is likely just stuck (not crashed), a goroutine dump while frozen would show exactly where: kill -QUIT
Without a goroutine dump or a way to reproduce without the OCPP charger, I don't have enough to confirm a root cause. 🤖 Generated with Claude Code
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
A downgrade doesn't Work either.
Thanks for the answers — that data pins this down.
Root cause found
This is not related to the OCPP charger. It's the vw_passat_joern vehicle's MQTT-sourced SoC:
soc:
source: mqtt
topic: Wican/vw_passat_joern/soc_aufbereitet
timeout: 8h
When the car connects on lp-1, Update() calls updateChargerStatus() → evVehicleConnectHandler → createSession() (last log line: charge total import: 7630.000kWh), and immediately afterwards publishSocAndRange() (core/loadpoint.go:2321) reads the vehicle's SoC via battery.Soc().
For an MQTT getter with a non-zero timeout, the very first read blocks synchronously until either a message arrives on the topic or the configured timeout elapses (util/monitor.go:106-113, "wait once on very first call"). Since no message has ever been received on Wican/vw_passat_joern/soc_aufbereitet (Wican not publishing / wrong topic / broker issue — worth double-checking, e.g. with mosquitto_sub -t 'Wican/#' -v), that first read blocks for up to your configured 8h.
Critically, site.Run() (core/site.go:1525-1547) processes all loadpoints sequentially on a single goroutine. So this one blocked MQTT read freezes the entire control loop — no more log lines, no more UI updates, for any loadpoint — exactly matching what you saw. It also explains why it's still frozen after 60 minutes (well under the 8h timeout) and why disabling the OCPP charger didn't help (it was never the cause).
Two things worth doing:
- Check why
Wican/vw_passat_joern/soc_aufbereitetnever receives a message (topic/broker/Wican device) — that's the immediate trigger. - Independently, evcc's
soc.timeoutshouldn't be able to stall the entire site's control loop on a single vehicle's slow/absent MQTT value — that's a real robustness bug in how the first MQTT SoC read is awaited synchronously inside the main update loop.
🤖 Generated with Claude Code
A downgrade doesn't Work either.
Then its apparently not due to evcc, whatever it is...