EVCC not booting after Update to 0.307.2
Description
Fehler beim Starten. Überprüfe deine Konfiguration und starte neu. loadpoint: [lp-1] circuit: not found: halle
Steps to Reproduce
direkt beim Start des Servers
⚠️ RETURN TO EVCC TAB → COPY STEP 2 → PASTE HERE
Version
v0.307.2
System
linux/amd64, CEST +02:00
Configuration (YAML)
# open evcc at http://evcc.local:7070
network:
schema: http
host: evcc.local # .local suffix announces the hostname on MDNS
port: 7070
log: debug
levels:
cache: error
# unique installation id
plant: *****
interval: 2s # control cycle interval
sponsortoken: *****
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: false
chargers:
- type: template
template: bender
host: 192.168.2.233
port: 502
name: wallbox2
- type: template
template: bender
host: 192.168.2.197
port: 502
name: wallbox3
loadpoints:
- title: Halle links
charger: wallbox3
mode: off
circuit: halle
priority: false
guardduration: 10s # wartet nach DLE-Betrieb ab, bis er die Wallboxen wieder voll hochzieht
- title: Halle rechts
charger: wallbox2
mode: off
circuit: halle
priority: true
guardduration: 10s # wartet nach DLE-Betrieb ab, bis er die Wallboxen wieder voll hochzieht
site:
title: Hansa Systems
meters:
tariffs:
currency: EUR # (default EUR)
grid:
type: fixed
price: 0.225 # EUR/kWh
feedin:
type: fixed
price: 0.08 # EUR/kWh
circuits:
- name: hausanschluss
title: Hausanschluss gesamt
maxcurrent: 40 # SLS 40A
meter: db:10 # Netzzähler
- name: halle
title: Absicherung Halle
maxcurrent: 30 # Leitung bewusst auf 30A begrenzt
meter: db:8 # UV Halle
parent: hausanschluss # hängt am Hausanschluss
Configuration (UI)
{
"charger": [
{"id":11,"name":"db:11","type":"template","config":{"host":"192.168.2.18","port":"502","template":"daheimladen-pro"},"deviceProduct":"DaheimLaden Smart/Touch Pro"}
],
"experimental": false,
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"interval": 2,
"meter": [
{"id":8,"name":"db:8","type":"template","config":{"host":"192.168.2.178","template":"shelly-pro-3em","usage":"grid"},"deviceIcon":"generic","deviceProduct":"Shelly Pro 3 EM","deviceTitle":"UV Halle"},
{"id":10,"name":"db:10","type":"template","config":{"host":"192.168.2.172","template":"shelly-pro-3em","usage":"grid"},"deviceProduct":"Shelly Pro 3 EM"}
],
"mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"shm": {"vendorId":"","deviceId":"","deviceSerial":""},
"site": {"title":"Hansa Systems","grid":"db:10","pv":null,"battery":null,"aux":null,"ext":["db:8"]},
"tariffRefs": {"grid":"","feedIn":"","co2":"","planner":"","solar":null},
"vehicle": [
{"id":1,"name":"db:1","type":"template","config":{"accessToken":"***","cache":"15m","capacity":75,"clientId":"f856d368-92a5-42d4-a9b1-0fdd347e8d07","commandProxy":"https://api.myteslamate.com","icon":"car","maxCurrent":"","mode":"now","priority":5,"refreshToken":"***","template":"tesla","title":"Daniel Tesla"},"deviceProduct":"Tesla"},
{"id":2,"name":"db:2","type":"template","config":{"cache":"15m","capacity":84,"icon":"car","maxCurrent":"","mode":"now","password":"***","priority":3,"template":"vw","timeout":"10s","title":"Timm ID.4","user":"***","vin":"***"},"deviceProduct":"Volkswagen We Connect ID"},
{"id":3,"name":"db:3","type":"template","config":{"cache":"15m","capacity":64,"icon":"car","mode":"now","password":"***","priority":4,"region":"EU","template":"mg","title":"Lam MG 4","user":"***","vin":"***"},"deviceProduct":"MG"},
{"id":6,"name":"db:6","type":"template","config":{"cache":"15m","capacity":58,"icon":"car","mode":"now","password":"***","priority":2,"template":"vw","timeout":"10s","title":"Diego ID.3","user":"***","vin":"***"},"deviceProduct":"Volkswagen We Connect ID"},
{"id":14,"name":"db:14","type":"template","config":{"cache":"15m","capacity":84,"icon":"car","mode":"now","password":"***","priority":9,"template":"vw","timeout":"10s","title":"Rolf ID.7","user":"***","vin":"***"},"deviceProduct":"Volkswagen We Connect ID"}
]
}
Logs
[main ] INFO 2026/06/01 03:36:56 evcc 0.307.2
[main ] INFO 2026/06/01 03:36:56 using config file: /etc/evcc.yaml
[main ] INFO 2026/06/01 03:36:56 using sqlite database: /var/lib/evcc/evcc.db?_pragma=foreign_keys(1)&_pragma=auto_vacuum(INCREMENTAL)
[eebus ] INFO 2026/06/01 03:36:57 Local SKI: 84fe97fbdffc92c459b074e75530db75104aa435
[main ] INFO 2026/06/01 03:36:57 OCPP local url: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2026/06/01 03:36:57 UI local url: http://127.0.0.1:7070
[bender] DEBUG 2026/06/01 03:37:07 SEMP phase switching: cannot get XML Get "http://192.168.2.233:8888/SimpleEnergyManagementProtocol/": dial tcp 192.168.2.233:8888: connect: connection refused
[bender] DEBUG 2026/06/01 03:37:07 SEMP phase switching: cannot get XML Get "http://192.168.2.197:8888/SimpleEnergyManagementProtocol/": dial tcp 192.168.2.197:8888: connect: connection refused
[main ] ERROR 2026/06/01 03:37:07 creating vehicle db:2 failed: cannot create vehicle type 'template': cannot create vehicle type 'vw': state parameter not found
[main ] ERROR 2026/06/01 03:37:07 creating vehicle db:14 failed: cannot create vehicle type 'template': cannot create vehicle type 'vw': state parameter not found
[main ] ERROR 2026/06/01 03:37:07 creating vehicle db:6 failed: cannot create vehicle type 'template': cannot create vehicle type 'vw': state parameter not found
[main ] FATAL 2026/06/01 03:37:08 meter [db:8] cannot create template 'db:8': cannot create meter type 'template:shelly-pro-3em': cannot create meter type 'shelly': Post "http://192.168.2.178/rpc/Shelly.ListMethods": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
circuit cannot create circuit 'hausanschluss': cannot create circuit type 'custom': missing meter instance
loadpoint [lp-1] circuit: not found: halle
failed booting site: missing grid meter instance
[main ] FATAL 2026/06/01 03:37:08 will attempt restart in: 15m0s
[main ] FATAL 2026/06/01 03:37:08 meter [db:8] cannot create template 'db:8': cannot create meter type 'template:shelly-pro-3em': cannot create meter type 'shelly': Post "http://192.168.2.178/rpc/Shelly.ListMethods": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
The issue is that you get a timeout when connecting to the Shelly that you assigned as the circuit meter.
@naltatis hier haben wir noch ein Problem bei dem das UI für Korrekturen nicht hoch kommt.
@rolfkorb Hast du probiert das Web-UI nach diesem Fehler im Log zu öffnen? Das sollte eigentlich weiter verfügbar sein und du müsstest die Konfiguration korrigieren können. Lediglich die Regelschleife läuft nicht.
Ich habe am Wochenende eine meiner zwei Wallboxen für einen kleinen Umbau offline genommen. Dabei ist mir auch aufgefallen, dass EVCC ohne die Wallbox nicht wieder richtig hoch kommt:
Ist das soweit beabsichtigt? Auch wenn der Fall nicht häufig vorkommt, ist es bei größeren Setups doch irgendwie problematisch, wenn eine einzelne nicht-erreichbare Box alles lahmlegt. Ja - ich kann sie temporär löschen, aber dann passt die History auch wieder nicht, weil es dann einen ganz neuen LP gibt.
Aus Anwendersicht ideal wäre es, wenn es einfach nur einen Fehler im Log gibt und alles andere wie gewohnt funktioniert.
Für Wartungsfälle wäre es bei einem Setup mit 2 Wallboxen vielleicht hilfreich wenn man eine Wallbox temporär deaktivieren könnte.
@naltatis Wie siehst du das? Wenn man die Wallbox löscht und nach erfolgreicher Wartung/Reparatur wieder hinzufügt, verliert man vermutlich den Link zu den geladenen Sessions oder?
Ist bereits in Arbeit: #29455