0.311.0: cannot create meter type 'custom': curtail: sunspec model not found: [{704 0 WMaxLimPct}]
Describe the bug
Just updated to the latest version and got the following error. Hence EVCC stops running because of: cannot create meter type 'custom': curtail: sunspec model not found: [{704 0 WMaxLimPct}]
Steps to reproduce
Update from 0.310.1 to 0.311.0
Configuration details
## Home Configuration
# my sponsor token
sponsortoken: xxx
network:
host: 192.168.178.145
port: 7070
log: debug
interval: 30s # control cycle interval
site:
title: Home # display name for UI
residualPower: 200 # 200W Puffer Netzeinspeisung durch Hausverbrauch
meters:
grid: my_grid
pv:
- my_gen24
- my_symo
battery:
- my_battery
circuits:
- name: main
title: Hauptsicherung
maxCurrent: 48
maxPower: 30000
meter: my_grid
- name: garage
title: Garage
maxCurrent: 25
parent: main
# define your loadpoints according your needs
# see https://docs.evcc.io/en/docs/reference/configuration/loadpoints
loadpoints:
- title: Garage Firmenwagen # display name for UI
charger: alfen_eve # charger
vehicle: my_firmenwagen # default vehicle
circuit: garage
- title: Garage Privat # display name for UI
charger: warp3pro # charger
vehicle: my_privatwagen
circuit: garage
# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
# replace with your real grid meter
- name: my_grid
type: template
template: fronius-gen24
usage: grid
host: 192.168.178.85 # IP-Adresse oder Hostname
port: 502 # Port (optional)
# replace with your real pv1 system
- name: my_gen24
type: template
template: fronius-gen24
usage: pv
host: 192.168.178.85 # IP-Adresse oder Hostname
port: 502 # Port (optional)
# replace with your real battery
- name: my_battery
type: template
template: fronius-gen24
usage: battery
host: 192.168.178.85 # IP-Adresse oder Hostname
port: 502 # Port (optional)
# replace with your real pv2 system
- name: my_symo
type: template
template: sunspec-inverter
usage: pv
modbus: tcpip
id: 1
host: 192.168.178.179
port: 502
# replace with your real charger
# see https://docs.evcc.io/docs/devices/chargers
chargers:
- name: alfen_eve
type: template
template: alfen
# Modbus TCP
modbus: tcpip
id: 1
host: 192.168.178.94 # Hostname
port: 502 # Port
- name: warp3proALT
type: template
template: tinkerforge-warp3
host: 192.168.178.145 # IP-Adresse oder Hostname, IP Adresse oder der Hostname des MQTT Brokers
port: 1883 # Port, MQTT Broker Port (optional)
topic: warp3/2eN1 # Topic, Topic (ohne / am Anfang) (optional)
timeout: 30s # Zeitüberschreitung, Akzeptiere keine Daten die älter sind als dieser Wert (optional)
user: x
password: xHochkommata setzen (optional)
- name: warp3pro
type: template
template: tinkerforge-warp-ws
uri: 192.168.178.160
# replace with your real vehicle (optional)
# see https://docs.evcc.io/docs/devices/vehicles
vehicles:
- name: my_firmenwagen
type: template
template: cardata
vin: x # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
clientid: x
title: BMW i4 # Wird in der Benutzeroberfläche angezeigt (optional)
capacity: 81 # Akkukapazität in kWh (optional)
- name: my_privatwagen
type: template
template: drivesomethinggreater
user: x # Benutzerkonto, bspw. E-Mail Adresse, User Id, etc.
password: x # Passwort, Bei führenden Nullen bitte in einfache Hochkommata setzen
brand: Volkswagen
vin: x # Fahrzeugidentifikationsnummer, Wenn mehrere Fahrzeuge eines Herstellers vorhanden sind (optional)
title: VW ID3 # Titel, Wird in der Benutzeroberfläche angezeigt (optional)
capacity: 56 # Akkukapazität (kWh), optional
# enter your real grid tariff and feed-in price
# see https://docs.evcc.io/docs/tariffs
tariffs:
currency: EUR
grid:
type: fixed
price: 0.295 # EUR/kWh
feedin:
type: fixed
price: 0.078 # EUR/kWh
Log details
[lp-1 ] DEBUG 2026/07/06 20:53:51 charge total import: 16874.872kWh
[lp-2 ] DEBUG 2026/07/06 20:53:51 charge total import: 3547.810kWh
[main ] FATAL 2026/07/06 20:53:51 meter [my_symo] cannot create meter 'my_symo': cannot create meter type 'template:sunspec-inverter': cannot create meter type 'custom': curtail: sunspec model not found: [{704 0 WMaxLimPct}]
[main ] FATAL 2026/07/06 20:53:51 will attempt restart in: 15m0s
[cardata] DEBUG 2026/07/06 20:53:51 connected streaming
What type of operating system or environment does evcc run on?
HomeAssistant Add-on
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.311.0
Caused by https://github.com/evcc-io/evcc/pull/31492. What type of inverter is this?
/cc @iseeberg79 @premultiply seems we‘d need to split sunspec by with and without curtailment?
@andig I have two inverters. Gen24 (hybrid) and classic Fronius Symo. The classic is not working anymore. It has the latest firmware.
Model 704 replaces model 123, it's not implemented by every inverter. For example Kostal lacks support, the model being not listed in the latest modbus documentation.
Fronius is different but seems as well to lack support for 704 for some models?
Does 123 carry the required points? Can‘t check atm.
I would say, yes.
Searched for it and 123/704 both are providing WMaxLimPct + Ena + SF
(See https://www.fronius.com/~/downloads/Solar%20Energy/Operating%20Instructions/42,0410,2649.pdf or model 123 output from Kostal Plenticore)
Klasse, danke!
Hallo. Habe auch das Problem. Sehe ich das richtig, dass das also im nächsten Release behoben ist?
+1 Kann man da das Release mit dem Fix beschleunigen und diese Version nicht mehr verteilen?
Ich würde mich hier auch anschließen ... kann man so sagen wann dieses Problem behoben ist? Vielen Dank auf jeden Fall für eure großartige Arbeit :)
Das Problem ist behoben.
Ein (vermutlich nur kosmetisches) Thema gibt es aber noch: Ich habe einen Kostal Plenticore Gen1 aus Gründen (korrekte Berechnung Haushalts-Verbrauch unter Berücksichtigung von Inverter-Verlusten) als Sunspec-Inverter eingebunden:
- name: pv1
type: template
template: sunspec-inverter
usage: pv
modbus: tcpip
host: 192.168.178.56
port: 1502
id: 71
Mit der v0.311.0 hat es nicht funktioniert, weil er offensichtlich den Fallback auf das Model 123 braucht.
In der Konfigurationsseite sieht es mit v0.311.1 jetzt so aus:
Es soll aber gar keine Begrenzung aktiv sein und ist es denke ich auch nicht.
Könntest du mal ein
evcc sunspec
Für das Gerät machen?
Vielleicht habe ich gerade nicht genug mitgedacht. Eine Begrenzung gibt es im WR theoretisch schon:
Ist die damit gemeint und "Erzeugung begrenzt" heißt nur, dass die Option grundsätzlich aktiv ist und nicht, dass im aktuellen Augenblick die Leistung abgeregelt wird?
Genau! Nice- funktioniert also wunderbar 🥹
Passt. Im Sinne der Vollständigkeit:
~$ evcc sunspec 192.168.178.56:1502 -i 71
--------- Model 1 common ---------
Mn KOSTAL string
Md PLENTICORE plus8 string
Opt string
Vr 01.30.12 string
SN 90523TD90001R string
DA 71.00 uint16
Pad 0x5a5a pad
--------- Model 103 inverter_three_phase ---------
A 4.29 uint16
AphA 1.46 uint16
AphB 1.37 uint16
AphC 1.45 uint16
A_SF -2 sunssf
PPVphAB n/a uint16
PPVphBC n/a uint16
PPVphCA n/a uint16
PhVphA 228.60 uint16
PhVphB 229.10 uint16
PhVphC 227.40 uint16
V_SF -1 sunssf
W 940.00 int16
W_SF 0 sunssf
Hz 49.99 uint16
Hz_SF -2 sunssf
VA 978.00 int16
VA_SF 0 sunssf
VAr 272.00 int16
VAr_SF 0 sunssf
PF 1.00 int16
PF_SF -3 sunssf
WH 56985670.00 acc32
WH_SF 0 sunssf
DCA n/a uint16
DCA_SF 0 sunssf
DCV n/a uint16
DCV_SF 0 sunssf
DCW 990.00 int16
DCW_SF 0 sunssf
TmpCab 42.90 int16
TmpSnk 38.40 int16
TmpTrns 38.80 int16
TmpOt 0.00 int16
Tmp_SF -1 sunssf
St 4 enum16
StVnd 0 enum16
Evt1 0x00000000 bitfield32
Evt2 0x00000000 bitfield32
EvtVnd1 0x00000000 bitfield32
EvtVnd2 0x00000000 bitfield32
EvtVnd3 0x00000000 bitfield32
EvtVnd4 0x00000000 bitfield32
--------- Model 113 inverter_three_phase_float ---------
A -6.715261e-29 float32
AphA -2.2862e-41 float32
AphB -2.5292612e-29 float32
AphC 1.9819584e-08 float32
PPVphAB 0 float32
PPVphBC 0 float32
PPVphCA 0 float32
PhVphA -3.8161078e-19 float32
PhVphB 3.7536955e-20 float32
PhVphC 1.2167653e+28 float32
W 2.4544e-41 float32
Hz -9.31535e+36 float32
VA -7.5922695e-20 float32
VAr 3.4913008e+21 float32
PF 2.278e-41 float32
WH 6.746815e+20 float32
DCA 0 float32
DCV 0 float32
DCW -8.2665625e-16 float32
TmpCab -2.0159762e+08 float32
TmpSnk -7.2202944e+16 float32
TmpTrns -6.2121983e-25 float32
TmpOt 0 float32
St 4 enum16
StVnd 0 enum16
Evt1 0x00000000 bitfield32
Evt2 0x00000000 bitfield32
EvtVnd1 0x00000000 bitfield32
EvtVnd2 0x00000000 bitfield32
EvtVnd3 0x00000000 bitfield32
EvtVnd4 0x00000000 bitfield32
--------- Model 120 nameplate ---------
DERTyp 4 enum16
WRtg 8499.00 uint16
WRtg_SF 0 sunssf
VARtg 8500.00 uint16
VARtg_SF 0 sunssf
VArRtgQ1 8415.00 int16
VArRtgQ2 8415.00 int16
VArRtgQ3 8415.00 int16
VArRtgQ4 8415.00 int16
VArRtg_SF 0 sunssf
ARtg 36.80 uint16
ARtg_SF -2 sunssf
PFRtgQ1 800000.00 int16
PFRtgQ2 800000.00 int16
PFRtgQ3 800000.00 int16
PFRtgQ4 800000.00 int16
PFRtg_SF 3 sunssf
WHRtg 0.00 uint16
WHRtg_SF 0 sunssf
AhrRtg 0.00 uint16
AhrRtg_SF 0 sunssf
MaxChaRte 0.00 uint16
MaxChaRte_SF 0 sunssf
MaxDisChaRte 0.00 uint16
MaxDisChaRte_SF 0 sunssf
Pad 0x0000 pad
--------- Model 123 controls ---------
Conn_WinTms 0.00 uint16
Conn_RvrtTms 0.00 uint16
Conn 1 enum16
WMaxLimPct 100.00 uint16
WMaxLimPct_WinTms 0.00 uint16
WMaxLimPct_RvrtTms 0.00 uint16
WMaxLimPct_RmpTms 0.00 uint16
WMaxLim_Ena 1 enum16
OutPFSet 0.97 int16
OutPFSet_WinTms 0.00 uint16
OutPFSet_RvrtTms 0.00 uint16
OutPFSet_RmpTms 0.00 uint16
OutPFSet_Ena 1 enum16
VArWMaxPct 0.00 int16
VArMaxPct 0.00 int16
VArAvalPct 0.00 int16
VArPct_WinTms 0.00 uint16
VArPct_RvrtTms 0.00 uint16
VArPct_RmpTms 0.00 uint16
VArPct_Mod 0 enum16
VArPct_Ena 1 enum16
WMaxLimPct_SF 0 sunssf
OutPFSet_SF -3 sunssf
VArPct_SF 0 sunssf
--------- Model 160 mppt ---------
DCA_SF -2 sunssf
DCV_SF -1 sunssf
DCW_SF 0 sunssf
DCWH_SF 0 sunssf
Evt 0x00000000 bitfield32
N 3 count
TmsPer 0.00 uint16
-- Block 1 --
ID 1.00 uint16
IDStr DC_STRIN string
DCA 1.22 uint16
DCV 379.80 uint16
DCW 465.00 uint16
DCWH 0.00 acc32
Tms 0.00 uint32
Tmp 0.00 int16
DCSt 0 enum16
DCEvt 0x00000000 bitfield32
-- Block 2 --
ID 2.00 uint16
IDStr DC_STRIN string
DCA 1.16 uint16
DCV 450.40 uint16
DCW 522.00 uint16
DCWH 0.00 acc32
Tms 0.00 uint32
Tmp 0.00 int16
DCSt 0 enum16
DCEvt 0x00000000 bitfield32
-- Block 3 --
ID 3.00 uint16
IDStr DC_STRIN string
DCA 0.02 uint16
DCV 0.40 uint16
DCW 0.00 uint16
DCWH 0.00 acc32
Tms 0.00 uint32
Tmp 0.00 int16
DCSt 0 enum16
DCEvt 0x00000000 bitfield32
--------- Model 802 battery ---------
AHRtg 0.00 uint16
WHRtg 0.00 uint16
WChaRteMax 0.00 uint16
WDisChaRteMax 0.00 uint16
DisChaRte 0.00 uint16
SoCMax 0.00 uint16
SoCMin 0.00 uint16
SocRsvMax 0.00 uint16
SoCRsvMin 0.00 uint16
SoC 0.00 uint16
DoD 0.00 uint16
SoH 0.00 uint16
NCyc 0.00 uint32
ChaSt 0 enum16
LocRemCtl 0 enum16
Hb 0.00 uint16
CtrlHb 0.00 uint16
AlmRst 1.00 uint16
Typ 0 enum16
State 1 enum16
StateVnd 0 enum16
WarrDt 0.00 uint32
Evt1 0x00000000 bitfield32
Evt2 0x00000000 bitfield32
EvtVnd1 0x00000000 bitfield32
EvtVnd2 0x00000000 bitfield32
V 0.00 uint16
VMax 0.00 uint16
VMin 0.00 uint16
CellVMax 0.00 uint16
CellVMaxStr 0.00 uint16
CellVMaxMod 0.00 uint16
CellVMin 0.00 uint16
CellVMinStr 0.00 uint16
CellVMinMod 0.00 uint16
CellVAvg 0.00 uint16
A 0.00 int16
AChaMax 0.00 uint16
ADisChaMax 0.00 uint16
W 0.00 int16
ReqInvState 0 enum16
ReqW 0.00 int16
SetOp 1 enum16
SetInvState 0 enum16
AHRtg_SF 0 sunssf
WHRtg_SF 0 sunssf
WChaDisChaMax_SF 0 sunssf
DisChaRte_SF 0 sunssf
SoC_SF 0 sunssf
DoD_SF 0 sunssf
SoH_SF 0 sunssf
V_SF -1 sunssf
CellV_SF -1 sunssf
A_SF -2 sunssf
AMax_SF -2 sunssf
W_SF 0 sunssf
Mhhm. Spannend ist da das hier:
WMaxLimPct 100.00 uint16
WMaxLim_Ena 1 enum16
Also Abregelung aktiv aber bei 100%- also logisch inaktiv. Jetzt hat ja Dein Screenshot ein Limit von 8500W gezeigt (und "abgeregelt"). Das kriege ich nicht zusammen. Sind die 8500W die Nennleistung Deines WR? Dann wäre auf Modbus alles logisch, wir dürften dann aber nicht "abgeregelt" zeigen da die Abregelung auf 100% ja keine ist.
/cc @iseeberg79
Ja genau, bei Kostal setzt man "keine Begrenzung", indem man das Limit auf die Maximalleistung des Inverters setzt. Ein explizites Häkchen für "Begrenzung ja/nein" gibt es nicht.
Damit ist WMaxLim_Ena immer 1 und WMaxLimPct im Falle keiner Begrenzung auf 100.
Mhhm. Spannend ist da das hier:
WMaxLimPct 100.00 uint16 WMaxLim_Ena 1 enum16Also Abregelung aktiv aber bei 100%- also logisch inaktiv. Jetzt hat ja Dein Screenshot ein Limit von 8500W gezeigt (und "abgeregelt"). Das kriege ich nicht zusammen. Sind die 8500W die Nennleistung Deines WR? Dann wäre auf Modbus alles logisch, wir dürften dann aber nicht "abgeregelt" zeigen da die Abregelung auf 100% ja keine ist.
/cc @iseeberg79
Exakt. Deshalb wurde im PR des Kostal Template addiert: ENA und Wert ungleich 100
Ja genau, bei Kostal setzt man "keine Begrenzung", indem man das Limit auf die Maximalleistung des Inverters setzt. Ein explizites Häkchen für "Begrenzung ja/nein" gibt es nicht.
Damit ist WMaxLim_Ena immer 1 und WMaxLimPct im Falle keiner Begrenzung auf 100.
Hmm. Es ist differenzierter. Es gibt die Einspeiseleistung, aber auch ein EVU Limit. Dieses wird gesetzt, wenn wmaxlimpct gesetzt wird und kann zeitlich begrenzt wirken. Es unterscheidet sich von dem festen einspeiselimit, das per UI (und in anderem Register) hinterlegt ist.
Jetzt hast Du mich verwirrt- kannst Du das auf Register mappen?