circuit: [main] cannot create circuit 'main': cannot create circuit type 'custom': meter does not support phase currents [garage] cannot create circuit 'garage': cannot create circuit type 'custom': missing parent circuit instance: main
Describe the bug
mit Version 0.316 ging es noch. Seit Update heute nach auf 0.317.0
ERROR Alle Bereiche [main ] FATAL 2026/10/10 09:25:57 circuit [main] cannot create circuit 'main': cannot create circuit type 'custom': meter does not support phase currents [garage] cannot create circuit 'garage': cannot create circuit type 'custom': missing parent circuit instance: main loadpoint [lp-1] missing circuit instance [main ] FATAL 2026/10/10 09:25:57 will attempt restart in: 15m0s
Config circuits:
- name: main title: Hauptstromkreis maxCurrent: 50 maxPower: 34500 meter: grid1
- name: garage title: Garage maxCurrent: 32 parent: main
loadpoints:
- title: Garage Links charger: wallbox5 vehicle: eqe300 mode: pv circuit: garage priority: 1 enable: delay: 3m threshold: 0 disable: delay: 15m threshold: 300
- title: Garage Rechts charger: wallbox4 vehicle: bmwi3 mode: pv circuit: garage priority: 0 enable: delay: 2m threshold: 0 disable: delay: 10m threshold: 300
- title: Warmwasser charger: heizstab_schalter vehicle: speicher_temperatur mode: pv circuit: main priority: 2 enable: delay: 2m threshold: -1300 # Einschaltschwelle in Watt PV-Überschuss disable: threshold: 150 # Ausschwelle delay: 5m
Steps to reproduce
- direktly nach restart.
...
Configuration details
circuits:
- name: main
title: Hauptstromkreis
maxCurrent: 50
maxPower: 34500
meter: grid1
- name: garage
title: Garage
maxCurrent: 32
parent: main
loadpoints:
- title: Garage Links
charger: wallbox5
vehicle: eqe300
mode: pv
circuit: garage
priority: 1
enable:
delay: 3m
threshold: 0
disable:
delay: 15m
threshold: 300
- title: Garage Rechts
charger: wallbox4
vehicle: bmwi3
mode: pv
circuit: garage
priority: 0
enable:
delay: 2m
threshold: 0
disable:
delay: 10m
threshold: 300
- title: Warmwasser
charger: heizstab_schalter
vehicle: speicher_temperatur
mode: pv
circuit: main
priority: 2
enable:
delay: 2m
threshold: -1300 # Einschaltschwelle in Watt PV-Überschuss
disable:
threshold: 150 # Ausschwelle
delay: 5m
Log details
[main ] FATAL 2026/10/10 09:25:57 circuit [main] cannot create circuit 'main': cannot create circuit type 'custom': meter does not support phase currents [garage] cannot create circuit 'garage': cannot create circuit type 'custom': missing parent circuit instance: main loadpoint [lp-1] missing circuit instance
[main ] FATAL 2026/10/10 09:25:57 will attempt restart in: 15m0s
What type of operating system or environment does evcc run on?
Docker container
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
0.317.0
Der Fehler kommt aus core/circuit/circuit.go: Der Stromkreis main hat maxCurrent: 50 gesetzt, daher verlangt evcc, dass der Zähler grid1 Phasenströme liefert. Ist das nicht der Fall, schlägt die Erstellung fehl. garage scheitert nur als Folge, weil sein Parent main fehlt. Diese Prüfung ist nicht neu, es muss sich also etwas am Zähler grid1 geändert haben, der seit 0.317.0 keine Phasenströme mehr meldet.
Damit wir das eingrenzen können:
- Bitte die Konfiguration des Zählers
grid1posten (Template/Plugin, ohne Zugangsdaten). - Bitte ein Log mit
log: tracebzw.--log tracevom Start, damit man sieht, ob der Zähler Phasenströme bereitstellt. - Funktioniert 0.316 weiterhin mit exakt derselben Konfiguration (Rollback)?
Workaround: maxCurrent im Stromkreis main entfernen und nur maxPower nutzen.
🤖 Generated with Claude Code
Configuration Zähler am grid1 Rollback funktioniert mit 0.316
meters:
- type: template
template: sungrow-hybrid
id: 1
host: 192.168.178.153
port: 502
usage: grid
modbus: tcpip
name: grid1
Das ist eine bewusste Änderung in 0.317.0: #34294 (Issue #34281) hat die rechnerisch ermittelten Phasenströme (Wirkleistung / Spannung) aus dem Template sungrow-hybrid entfernt, da sie bei einem Phasenwinkel ungleich null nicht dem tatsächlichen Strom entsprechen. Der Zähler grid1 hat dadurch keine PhaseCurrents mehr, und ein Stromkreis mit maxCurrent auf diesem Zähler (main) schlägt beim Start fehl (core/circuit/circuit.go). garage scheitert nur, weil der Parent fehlt.
Lösung: bei main maxCurrent entfernen und nur maxPower nutzen, oder einen separaten Zähler mit echten Phasenströmen für den Stromkreis verwenden. Ein Fix im Template ist nicht vorgesehen, da die Berechnung absichtlich entfernt wurde.
cc @andig
🤖 Generated with Claude Code
Hi Info von 0.316 ignoriert die Yaml configuration als Warnung.
Alle Bereiche [main ] WARN 2026/10/10 09:43:38 circuits configured via UI yaml; evcc.yaml config will be ignored [main ] WARN 2026/10/10 09:43:49 messaging configured via UI yaml; evcc.yaml config will be ignored
Hi Claude, die Messsage maxCurrent entfernen brachte nichts. der Fehler bleibt. Bin auf 0.316. zurück.
circuit: [main] cannot create circuit 'main': cannot create circuit type 'custom': meter does not support phase currents [garage] cannot create circuit 'garage': cannot create circuit type 'custom': missing parent circuit instance: main
Suchen
WARN Alle Bereiche [main ] WARN 2026/10/10 09:47:07 circuits configured via UI yaml; evcc.yaml config will be ignored [main ] FATAL 2026/10/10 09:47:08 circuit [main] cannot create circuit 'main': cannot create circuit type 'custom': meter does not support phase currents [garage] cannot create circuit 'garage': cannot create circuit type 'custom': missing parent circuit instance: main loadpoint [lp-1] missing circuit instance [main ] FATAL 2026/10/10 09:47:08 will attempt restart in: 15m0s
Hi Andy, da stimmt was nicht mit dem Sungrow Meter Template. Bitte mal anschauen falls du was brauchst bitte info.
aktuelle configuration circuits läuft nicht unter 0.317.0
circuits:
- name: main title: Hauptstromkreis maxPower: 34500 meter: grid1
- name: garage title: Garage maxCurrent: 32 parent: main
Laut Meldung hast du sowohl in der yaml als auch der ui circuits konfiguriert. Exportiere doch bitte mal wie gefordert deine vollständige Konfiguration. Geht bequem unter "Hilfe benötigt" -> "Problem melden". Dort kannst du yaml und ui config kopieren und hier bereitstellen. Dazu jeweils einfügen, selektieren und den button <> drücken, dann wird's auch vernünftig formatiert.
@Stefanos-web Du hast doch unter "Garage" immer noch einen maxCurrent konfiguriert!
@LeonSol solange alle angeschlossenen Wallboxen Currents liefern, ist das in Ordnung.