EVCC startup error after update 0.312.1
Description
I'm using a SolarEdge inverter and since 0.312.1 EVCC is not starting anymore. Error message is:
[main ] FATAL 2026/07/21 03:08:05 meter [db:17] cannot create template 'db:17': cannot create meter type 'template:solaredge-hybrid': cannot create meter type 'custom': power: add[0]: read tcp [::1]:51656->[::1]:5021: i/o timeout failed booting site: missing grid meter instance
[main ] FATAL 2026/07/21 03:08:05 will attempt restart in: 15m0s
However, when I go to the configuration of the inverter, battery and grid meter and hit "check", it can read valid modbus data from the proxy. So for me it very much looks like EVCC is trying to initialize before the modus proxy is up and running.
Steps to Reproduce
n/a
⚠️ RETURN TO EVCC TAB → COPY STEP 2 → PASTE HERE
Version
v0.312.1
System
linux/amd64, CEST +02:00
Configuration (YAML)
Configuration (UI)
{
"charger": [
{"id":14,"name":"db:14","type":"template","config":{"id":1,"template":"stiebel-wpm","baudrate":9600,"comset":"8N1","host":"localhost","modbus":"tcpip","port":"5023","tempsource":"buffer"},"deviceProduct":"Stiebel Eltron WPM (SG Ready)"},
{"id":26,"name":"db:26","type":"template","config":{"id":1,"template":"bender-icc","baudrate":9600,"comset":"8N1","host":"localhost","modbus":"tcpip","port":"5022"},"deviceProduct":"Mennekes AMTRON 4You 500"}
],
"circuits": "#- name: main # unique name, used as reference, e.g. as parent in other circuits
# title: Main Circuit # used in the UI
# maxcurrent: 50 # 63A main circuit breaker (optional)
# maxPower: 16000 # 30kW (optional)
# meter: db:18 # associated meter to monitor the power consumption (optional)
# parent: # no parent, this is the root circuit
#- name: lpc # unique name, used as reference, e.g. to associate loadpoints
# title: Garage # used in the UI
# maxcurrent: 24 # allow individual phase use up to 24A
# maxPower: 11000 # limit total power to 11kW
# meter: garage # dedicated meter for the garage
# parent: main # parent to the main circuit
#- name: carport # unique name, used as reference, e.g. to associate loadpoints
# title: Carport # used in the UI
# maxCurrent: 32 # 32A circuit breaker
# maxPower: # no limit, only check current
# meter: # no meter, using data from loadpoints
# parent: main # parent to the main circuit",
"experimental": true,
"influx": {"database":"","insecure":false,"org":"","password":"","token":"","url":"","user":""},
"interval": 30,
"loadpoints": [
{"id":16,"name":"db:16","batteryBoostLimit":100,"charger":"db:14","defaultMode":"off","limitEnergy":0,"limitSoc":54,"maxCurrent":8.35,"meter":"db:15","minCurrent":0.01,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":10,"smartCostLimit":-0.089,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":1200000000000,"threshold":500},"enable":{"delay":180000000000,"threshold":-3000}},"title":"Wärmepumpe","ui":{"maxTemp":0,"minTemp":0}},
{"id":27,"name":"db:27","batteryBoostLimit":100,"charger":"db:26","defaultMode":"off","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":0,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"connected"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Charger","ui":{"maxTemp":0,"minTemp":0},"vehicle":"db:35"}
],
"meter": [
{"id":28,"name":"db:28","type":"template","config":{"template":"homeassistant","maxacpower":"0","power":"sensor.ug_hobbykeller_steckdose_luftentfeuchter_power","uri":"***","usage":"charge"},"deviceIcon":"generic","deviceProduct":"Home Assistant","deviceTitle":"Luftentfeuchter"},
{"id":29,"name":"db:29","type":"template","config":{"template":"homeassistant","insecure":false,"maxacpower":"0","power":"sensor.server_netzwerktechnik_steckdosen_leistung","uri":"***","usage":"charge"},"deviceIcon":"device","deviceProduct":"Home Assistant","deviceTitle":"Netzwerktechnik"},
{"id":19,"name":"db:19","type":"template","config":{"template":"homeassistant","energy":"sensor.ug_waschkuche_steckdose_waschmaschine_energy","home":"F11","maxacpower":"0","power":"sensor.ug_waschkuche_steckdose_waschmaschine_power","token":"***","uri":"***","usage":"charge","voltageL1":"sensor.ug_waschkuche_steckdose_waschmaschine_voltage","voltageL2":"sensor.ug_waschkuche_steckdose_waschmaschine_voltage","voltageL3":"sensor.ug_waschkuche_steckdose_waschmaschine_voltage"},"deviceIcon":"generic","deviceProduct":"Home Assistant Home Assistant Sensor","deviceTitle":"Waschmaschine"},
{"id":23,"name":"db:23","type":"template","config":{"template":"homeassistant","energy":"sensor.eg_kuche_steckdose_kaffeemaschine_energy","home":"F11","maxacpower":"0","power":"sensor.eg_kuche_steckdose_kaffeemaschine_power","token":"***","uri":"***","usage":"charge","voltageL1":"sensor.eg_kuche_steckdose_kaffeemaschine_voltage","voltageL2":"sensor.eg_kuche_steckdose_kaffeemaschine_voltage","voltageL3":"sensor.eg_kuche_steckdose_kaffeemaschine_voltage"},"deviceIcon":"generic","deviceProduct":"Home Assistant Home Assistant Sensor","deviceTitle":"Kaffeemaschine"},
{"id":20,"name":"db:20","type":"template","config":{"template":"homeassistant","currentL3":"","energy":"sensor.ug_waschkuche_steckdose_trockner_energy","home":"F11","maxacpower":"0","power":"sensor.ug_waschkuche_steckdose_trockner_power","token":"***","uri":"***","usage":"charge","voltageL1":"sensor.ug_waschkuche_steckdose_trockner_voltage","voltageL2":"sensor.ug_waschkuche_steckdose_trockner_voltage","voltageL3":"sensor.ug_waschkuche_steckdose_trockner_voltage"},"deviceIcon":"generic","deviceProduct":"Home Assistant Home Assistant Sensor","deviceTitle":"Trockner"},
{"id":37,"name":"db:37","type":"template","config":{"template":"shelly-1pm","host":"192.168.4.69","usage":"charge"},"deviceIcon":"climate","deviceProduct":"Shelly EM","deviceTitle":"Klima Arbeitszimmer"},
{"id":36,"name":"db:36","type":"template","config":{"template":"shelly-1pm","host":"192.168.4.70","usage":"charge"},"deviceIcon":"climate","deviceProduct":"Shelly EM","deviceTitle":"Klimaanlage Schlafzimmer"},
{"id":15,"name":"db:15","type":"template","config":{"template":"shelly-pro-3em","host":"192.168.4.86","usage":"charge"},"deviceProduct":"Shelly Pro 3 EM"},
{"id":17,"name":"db:17","type":"template","config":{"id":1,"template":"solaredge-hybrid","baudrate":9600,"comset":"8N1","host":"localhost","maxacpower":10000,"maxdischargepower":"5000","modbus":"tcpip","port":"5021","usage":"pv","watchdog":30000000000},"deviceProduct":"SolarEdge Hybrid Inverter","deviceTitle":"SolarEdge"},
{"id":18,"name":"db:18","type":"template","config":{"id":1,"template":"solaredge-hybrid","baudrate":9600,"comset":"8N1","host":"localhost","maxacpower":"0","maxdischargepower":"5000","modbus":"tcpip","port":5021,"usage":"grid","watchdog":30000000000},"deviceProduct":"SolarEdge Hybrid Inverter"},
{"id":6,"name":"db:6","type":"template","config":{"id":1,"template":"solaredge-hybrid","baudrate":9600,"capacity":22.5,"comset":"8N1","host":"localhost","maxacpower":"0","maxchargepower":5000,"maxdischargepower":"5000","maxsoc":"","minsoc":"","modbus":"tcpip","port":"5021","usage":"battery","watchdog":30000000000},"deviceProduct":"SolarEdge Hybrid Inverter","deviceTitle":"Batterie"}
],
"modbusproxy": [{"port":5021,"readonly":"false","settings":{"rtu":false,"uri":"192.168.4.62:1502"}},{"port":5022,"readonly":"false","settings":{"rtu":false,"uri":"192.168.4.61:502"}},{"port":5023,"readonly":"false","settings":{"rtu":false,"uri":"192.168.4.63:502"}}],
"mqtt": {"broker":"192.168.4.5:1883","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":true,"password":"***","topic":"evcc","user":"mqtt"},
"shm": {"deviceId":"","deviceSerial":"","vendorId":""},
"site": {"aux":null,"battery":["db:6"],"consumer":["db:36","db:37","db:29"],"ext":["db:19","db:20","db:23","db:28"],"grid":"db:18","pv":["db:17"],"title":"F11 EVCC"},
"tariff": [
{"id":31,"name":"db:31","type":"template","config":{"template":"fixed","price":0.07},"deviceProduct":"Fester Preis"},
{"id":33,"name":"db:33","type":"template","config":{"template":"open-meteo","ac":9999,"alphatemp":"-0.004","az":16,"de":30,"dec":39,"dm":-10,"efficiency":98,"interval":"1h","kwp":12,"lat":"***","lon":"***","rossmodel":0.0563},"deviceProduct":"Open-Meteo","deviceTitle":"F11"},
{"id":32,"name":"db:32","type":"template","config":{"template":"tibber","homeid":"629c24de-628b-44e7-9dc1-ea78b8f8940d","token":"***"},"deviceProduct":"Tibber"}
],
"tariffRefs": {"co2":"","feedIn":"db:31","grid":"db:32","planner":"","solar":["db:33"],"temperature":""},
"vehicle": [
{"id":35,"name":"db:35","type":"template","config":{"template":"drivesomethinggreater","autodetectdisabled":false,"brand":"Cupra","cache":"15m","capacity":77,"climaterdisabled":false,"coarsecurrent":false,"icon":"car","mode":"","password":"***","phases":"3","priority":0,"streaming":true,"title":"Born","user":"***","welcomecharge":true},"deviceProduct":"Cupra EU Data Act"}
]
}
Logs
[lp-1 ] DEBUG 2026/07/21 03:08:05 set default mode: off
[lp-1 ] DEBUG 2026/07/21 03:08:05 set phases: 3
[lp-1 ] DEBUG 2026/07/21 03:08:05 set min current: 0.01
[lp-1 ] DEBUG 2026/07/21 03:08:05 set max current: 8.35
[lp-2 ] DEBUG 2026/07/21 03:08:05 set title: Charger
[lp-2 ] DEBUG 2026/07/21 03:08:05 set priority: 0
[lp-2 ] DEBUG 2026/07/21 03:08:05 set smart cost limit: 0.0
[lp-2 ] DEBUG 2026/07/21 03:08:05 set smart feed-in limit: <nil>
[lp-2 ] DEBUG 2026/07/21 03:08:05 set thresholds: {Enable:{Delay:1m0s Threshold:0} Disable:{Delay:3m0s Threshold:0}}
[lp-2 ] DEBUG 2026/07/21 03:08:05 set plan energy: 0kWh @ 0001-01-01 00:53:28 +0053 LMT
[lp-2 ] DEBUG 2026/07/21 03:08:05 set plan strategy: continuous=false, precondition=0s
[lp-2 ] DEBUG 2026/07/21 03:08:05 set battery boost limit: 100
[lp-2 ] DEBUG 2026/07/21 03:08:05 set session energy limit: 0
[lp-2 ] DEBUG 2026/07/21 03:08:05 set session soc limit: 0
[lp-2 ] DEBUG 2026/07/21 03:08:05 set min soc: 0
[lp-2 ] DEBUG 2026/07/21 03:08:05 set soc config: {Poll:{Mode:connected Interval:1h0m0s} Estimate:0x1990ae627128}
[lp-2 ] DEBUG 2026/07/21 03:08:05 set ui config: {MinTemp:0 MaxTemp:0}
[lp-2 ] DEBUG 2026/07/21 03:08:05 set default mode: off
[lp-2 ] DEBUG 2026/07/21 03:08:05 set phases: 3
[lp-1 ] DEBUG 2026/07/21 03:08:05 charge total import: 3223.306kWh
[lp-2 ] DEBUG 2026/07/21 03:08:05 charge total import: 3020.099kWh
[main ] FATAL 2026/07/21 03:08:05 meter [db:17] cannot create template 'db:17': cannot create meter type 'template:solaredge-hybrid': cannot create meter type 'custom': power: add[0]: read tcp [::1]:51656->[::1]:5021: i/o timeout
failed booting site: missing grid meter instance
[main ] FATAL 2026/07/21 03:08:05 will attempt restart in: 15m0s
[homeassistant] DEBUG 2026/07/21 03:08:10 loading token for http://192.168.4.21:7070-159ed033 from database
[dsg ] ERROR 2026/07/21 03:08:20 Get "https://eu-data-act.drivesomethinggreater.com/proxy_api/euda-apim/datarequest/vehicles/VSSZZZK14PP002146/metadata/partial": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Your inverter doesn't respond. Try rebooting the inverter first.
since 0.312.1 EVCC is not starting anymore
You can always try downgrading, too.
@mfuchs1984 the inverter did respond. When I clicked "prüfen" for the inverter in the configuration, everything was fine, data was there. But with every restart same thing - EVCC crashing with the above mentioned error message, but when checking in config everything was fine. Hence my assumption that the loadpoint tries to read modbus data from the proxy before it's ready, because apparently a few seconds later it was up and running well. But EVCC is not able to recover from the issue without a reboot - and the cycle starts again
@andig also tried downgrading, actually the issue is not related to the update. Was just coincidence.