evcc
evcc copied to clipboard
Error during startup v0.306.2 - Might be bug related to External Limit / HEMS
Description
I've updated to v0.306.2 without changing any other settings.
EVCC now experiences "Error during startup" - "hems: yaml: construct errors:
Steps to Reproduce
- Update to 306.2
- Error on startup
Configuration (YAML)
plant: *****
Configuration (UI)
{
"charger": [
{"id":1,"name":"db:1","type":"template","config":{"charger":"EHEGAC2A","password":"***","template":"easee","timeout":"20s","user":"***"}}
],
"experimental": true,
"hems": "#vendorid: AAAAAAAA
#deviceid: BBBBBBBB",
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"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.4,"smartFeedInPriorityLimit":null,"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":false},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"Easee Große Garage","vehicle":"db:3"}
],
"meter": [
{"id":4,"name":"db:4","type":"template","config":{"chargepower":"","host":"192.168.178.55","id":3,"maxacpower":"0","modbus":"tcpip","port":502,"template":"sma-hybrid","usage":"pv","watchdog":"60s"},"deviceTitle":"Wechselrichter"},
{"id":5,"name":"db:5","type":"template","config":{"baudrate":9600,"capacity":10.24,"chargepower":"","comset":"8N1","host":"192.168.178.55","id":3,"maxacpower":10000,"maxchargepower":"","maxdischargepower":"","modbus":"tcpip","port":502,"template":"sma-hybrid","usage":"battery","watchdog":"60s"},"deviceTitle":"Hausbatterie"},
{"id":6,"name":"db:6","type":"template","config":{"host":"192.168.178.33","template":"sma-home-manager","usage":"grid"}}
],
"mqtt": {"broker":"wss://mqtt.evcc-crowdscience.de/","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc/019c94b5-c4cc-7000-9784-48ff8684fc7c"},
"shm": {"vendorId":"","deviceId":"","deviceSerial":""},
"site": {"title":"So30","grid":"db:6","pv":["db:4"],"battery":["db:5"],"aux":null,"ext":null},
"tariff": [
{"id":8,"name":"db:8","type":"template","config":{"price":0.078,"template":"fixed"},"deviceProduct":"Fixed Price"},
{"id":9,"name":"db:9","type":"template","config":{"template":"grünstromindex","zip":"***"},"deviceProduct":"Grünstromindex"},
{"id":10,"name":"db:10","type":"template","config":{"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","template":"open-meteo"},"deviceProduct":"Open-Meteo","deviceTitle":"PV-Küchendach"},
{"id":7,"name":"db:7","type":"template","config":{"template":"tibber","token":"***"},"deviceProduct":"Tibber"},
{"id":11,"name":"db:11","type":"template","config":{"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","template":"open-meteo"},"deviceProduct":"Open-Meteo","deviceTitle":"PV-Zaun"}
],
"tariffRefs": {"grid":"db:7","feedIn":"db:8","co2":"db:9","planner":"","solar":["db:10","db:11"]},
"vehicle": [
{"id":3,"name":"db:3","type":"template","config":{"cache":"15m","capacity":58,"icon":"car","mode":"pv","password":"***","template":"cupra","title":"Cupra","user":"***"}}
]
}
Logs
[main ] INFO 2026/05/06 14:48:06 evcc 0.306.2
[main ] INFO 2026/05/06 14:48:06 using config file: /config/evcc.yaml
[main ] INFO 2026/05/06 14:48:06 using sqlite database: /data/evcc.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)&_pragma=synchronous(NORMAL)&_time_format=sqlite
[mqtt ] INFO 2026/05/06 14:48:07 connecting evcc-296379860 at wss://mqtt.evcc-crowdscience.de/
[mqtt ] DEBUG 2026/05/06 14:48:07 wss://mqtt.evcc-crowdscience.de/ connected
[eebus ] INFO 2026/05/06 14:48:07 Local SKI: 724db6a15405a18c2967820bef44e2f3a9906921
[main ] INFO 2026/05/06 14:48:07 OCPP local url: ws://127.0.0.1:8887/<stationId>
[main ] INFO 2026/05/06 14:48:07 UI local url: http://127.0.0.1:7070
[lp-1 ] DEBUG 2026/05/06 14:48:11 set title: Easee Große Garage
[lp-1 ] DEBUG 2026/05/06 14:48:11 set priority: 0
[lp-1 ] DEBUG 2026/05/06 14:48:11 set smart cost limit: -0.4
[lp-1 ] DEBUG 2026/05/06 14:48:11 set smart feed-in limit: <nil>
[lp-1 ] DEBUG 2026/05/06 14:48:11 set thresholds: {Enable:{Delay:1m0s Threshold:0} Disable:{Delay:3m0s Threshold:0}}
[lp-1 ] DEBUG 2026/05/06 14:48:11 set plan energy: 0kWh @ 0001-01-01 00:53:28 +0053 LMT
[lp-1 ] DEBUG 2026/05/06 14:48:11 set plan strategy: continuous=false, precondition=0s
[lp-1 ] DEBUG 2026/05/06 14:48:11 set battery boost limit: 20
[lp-1 ] DEBUG 2026/05/06 14:48:11 set session energy limit: 0
[lp-1 ] DEBUG 2026/05/06 14:48:11 set session soc limit: 0
[lp-1 ] DEBUG 2026/05/06 14:48:11 set soc config: {Poll:{Mode:charging Interval:1h0m0s} Estimate:0x28cb8ec7ff08}
[lp-1 ] DEBUG 2026/05/06 14:48:11 set default mode: pv
[lp-1 ] DEBUG 2026/05/06 14:48:11 set phases: 0
[tariff] DEBUG 2026/05/06 14:48:11 using cache: grünstromindex-fc9ed7e5f5c9a763071372ee1fcf4a60058960a64efd1f83c914680abbcf264c (start: 2026-05-06 13:00:00 +0200 CEST, end: 2026-05-10 01:00:00 +0200 CEST)
[lp-1 ] DEBUG 2026/05/06 14:48:12 charge total import: 5849.611kWh
[main ] FATAL 2026/05/06 14:48:14 hems yaml: construct errors: <unknown position>: yaml: no documents in stream
[main ] FATAL 2026/05/06 14:48:14 will attempt restart in: 15m0s
Version
v0.306.2
System
linux/amd64, CEST +02:00