evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Error during startup. Check your configuration and restart. circuit: cannot create circuit: missing name

Open TijsDeBelie opened this issue 10 months ago • 1 comments

Description

Trying to add load management in the UI with a loadpoint results in an error: Error during startup. Check your configuration and restart. circuit: cannot create circuit: missing name

circuits:

  • name: main # if there is only one circuit defined the name needs to be 'main' title: "main circuit" # name for the UI (not implemented in UI yet) maxCurrent: 25 # 63A (optional) maxPower: 3000 # 30kW (optional) meter: db:4 # optional loadpoints:
  • title: Garage circuit: main

If I remove the loadpoints section it works, but doesn't scale back the power of the loadpoint (which makes sense since it's not connected to it)

name: main # if there is only one circuit defined the name needs to be 'main' title: "main circuit" # name for the UI (not implemented in UI yet) maxCurrent: 25 # 63A (optional) maxPower: 3000 # 30kW (optional) meter: db:4 # optional

Steps to Reproduce

  1. Go to the documentation of load management
  2. Copy the example section
  3. Paste it in the experimental UI
  4. Try to save and restart

Configuration (YAML)

no yaml configuration

Configuration (UI)

{
  "site": {
    "title": "",
    "grid": "db:4",
    "pv": null,
    "battery": null,
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":2,"name":"db:2","charger":"db:1","vehicle":"db:3","title":"Alfen","defaultMode":"minpv","priority":0,"phasesConfigured":1,"minCurrent":0.125,"maxCurrent":12,"smartCostLimit":0.27,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"planStrategy":{"continuous":false,"precondition":0},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"baudrate":9600,"comset":"8N1","host":"192.168.0.90","id":1,"modbus":"tcpip","port":502,"template":"alfen"},"deviceProduct":"Alfen Eve","id":1,"name":"db:1","type":"template"}
  ],
  "meter": [
    {"config":{"host":"192.168.0.245","template":"homewizard","usage":"grid"},"deviceProduct":"HomeWizard Wi-Fi P1 Meter","id":4,"name":"db:4","type":"template"}
  ],
  "vehicle": [
    {"config":{"cache":"15m","capacity":69,"icon":"car","mode":"minpv","password":"***","phases":"1","template":"polestar","title":"Polestar","user":"***"},"deviceProduct":"Polestar","id":3,"name":"db:3","type":"template"}
  ],
  "circuits": "name: main # if there is only one circuit defined the name needs to be 'main'
title: \"main circuit\" # name for the UI (not implemented in UI yet)
maxCurrent: 25 # 63A (optional)
maxPower: 3000 # 30kW (optional)
meter: db:4 # optional",
  "tariffs": "currency: EUR
grid:
  type: template
  template: nordpool
  region: BE
  currency: EUR
  charges: 0.11474
  formula: (((0.1068 * (price * 1000) + 1.5) * 1.06) / 100 + charges)
feedin:
  type: template
  template: nordpool
  region: BE
  currency: EUR
  formula: (price * 0.0851)",
  "mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "shm": {"vendorId":"","deviceId":""},
  "interval": 30
}

Logs

[lp-1  ] DEBUG 2026/01/31 22:14:45 smart consumption active: 0.27
[lp-1  ] DEBUG 2026/01/31 22:14:45 set charge current limit: 12A
[lp-1  ] DEBUG 2026/01/31 22:14:45 charger enable
[lp-1  ] DEBUG 2026/01/31 22:14:45 wake-up timer: start
[site  ] DEBUG 2026/01/31 22:15:14 ----
[lp-1  ] DEBUG 2026/01/31 22:15:14 charge power: 2469W
[lp-1  ] DEBUG 2026/01/31 22:15:14 charge currents: [11 0 0]A
[circuit-main] WARN 2026/01/31 22:15:14 over power detected: 3106W > 3000W
[circuit-main] DEBUG 2026/01/31 22:15:14 current: 11.4A
[site  ] DEBUG 2026/01/31 22:15:14 grid power: 3106W
[site  ] DEBUG 2026/01/31 22:15:14 grid currents: [11.4 2.33 0.51]A
[site  ] DEBUG 2026/01/31 22:15:14 pv power: 0W
[site  ] DEBUG 2026/01/31 22:15:14 site power: 3106W
[lp-1  ] DEBUG 2026/01/31 22:15:15 charge voltages: [225 239 239]V
[lp-1  ] DEBUG 2026/01/31 22:15:15 charge total import: 2451.651kWh
[lp-1  ] DEBUG 2026/01/31 22:15:15 charger status: C
[lp-1  ] DEBUG 2026/01/31 22:15:15 charge start energy: 2451.651kWh
[lp-1  ] INFO 2026/01/31 22:15:15 start charging ->
[lp-1  ] DEBUG 2026/01/31 22:15:15 wake-up timer: stop
[lp-1  ] DEBUG 2026/01/31 22:15:15 vehicle soc: 67%
[lp-1  ] DEBUG 2026/01/31 22:15:15 vehicle range: 240km
[lp-1  ] DEBUG 2026/01/31 22:15:15 soc estimated: 67.00% (vehicle: 67.00%)
[lp-1  ] DEBUG 2026/01/31 22:15:15 vehicle soc (estimator): 67%
[lp-1  ] DEBUG 2026/01/31 22:15:15 plan: charge 9h57m11s between 2026-01-31 23:45:00 +0100 CET until 2026-02-01 17:00:00 +0100 CET (power: 2760W, avg cost: 0.244)
[lp-1  ] DEBUG 2026/01/31 22:15:15 smart consumption active: 0.26

Version

v0.300.8

System

linux/arm64, CET +01:00

TijsDeBelie avatar Jan 31 '26 21:01 TijsDeBelie

Read the error message. Circuit is missing a name.

andig avatar Jan 31 '26 22:01 andig