cannot create meter type 'custom'
Description
meter: [db:16] cannot create meter 'db:16': cannot create meter type 'template': cannot create meter type 'custom': power: add[0]: not a SunSpec device
Dieses Problem tritt mit ganz unterschiedlichen Metern auf. Es ist also nicht immer db16.... Ich lasse dann meisten dieses 15 min Timer laufen, dann startet es wieder ganz normal. Seit welcher Version das passiert kann ich nicht mehr eingrenzen. Schon eine ganze weile. Und, es tritt auch immer nur nach einem Start auf. Da ich eigentlich nur nach Updates neu starte ist mein leidensdruck nicht so riesig. Deshalb "lebe" ich schon eine ganze weile mit dem Problem. Im laufenden Betrieb ist alles soweit in Ordnung.
Steps to Reproduce
Tritt immer nach dem Start auf, mit unterschiedlichen Metern.
`## Configuration (YAML)
Configuration (UI)
{
"site": {
"title": "Street",
"grid": "db:15",
"pv": ["db:16","db:17","db:22"],
"battery": ["db:19","db:20"],
"aux": null,
"ext": null
},
"loadpoints": [
{"id":8,"name":"db:8","charger":"db:7","circuit":"garageAB","vehicle":"db:13","title":"Garage Christina","defaultMode":"pv","priority":0,"phasesConfigured":3,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"always","interval":300000000000},"estimate":true}},
{"id":10,"name":"db:10","charger":"db:9","circuit":"garageAB","vehicle":"db:14","title":"Garage Matthias","defaultMode":"pv","priority":0,"phasesConfigured":3,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"always","interval":300000000000},"estimate":true}},
{"id":12,"name":"db:12","charger":"db:11","circuit":"garageE","vehicle":"db:21","title":"Garage Manfred","defaultMode":"pv","priority":0,"phasesConfigured":3,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":0,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
],
"charger": [
{"config":{"host":"172.16.50.66","template":"go-e-v3"},"id":11,"name":"db:11","type":"template"},
{"config":{"host":"172.16.50.65","template":"go-e-v3"},"id":9,"name":"db:9","type":"template"},
{"config":{"host":"172.16.50.64","template":"go-e-v3"},"id":7,"name":"db:7","type":"template"}
],
"meter": [
{"config":{"capacity":9.2,"host":"172.16.50.21","id":1,"maxacpower":10000,"modbus":"tcpip","port":"5021","template":"solaredge-hybrid","timeout":10000000000,"usage":"pv","watchdog":"60s"},"deviceTitle":"Garage(3)","id":16,"name":"db:16","type":"template"},
{"config":{"host":"172.16.50.21","id":"3","maxacpower":9000,"modbus":"tcpip","port":"5021","template":"solaredge-hybrid","timeout":60000000000,"usage":"pv","watchdog":"60s"},"deviceProduct":"SolarEdge Hybrid Inverter","deviceTitle":"Garage(2)+Fassade","id":22,"name":"db:22","type":"template"},
{"config":{"capacity":9.2,"host":"172.16.50.21","id":"2","maxacpower":10000,"modbus":"tcpip","port":"5021","template":"solaredge-hybrid","timeout":10000000000,"usage":"pv","watchdog":"60s"},"deviceTitle":"Hausdach","id":17,"name":"db:17","type":"template"},
{"config":{"capacity":9.2,"host":"172.16.50.21","id":1,"maxacpower":5000,"modbus":"tcpip","port":"5021","template":"solaredge-hybrid","timeout":10000000000,"usage":"battery","watchdog":"60s"},"deviceTitle":"Akku-Garage(3)","id":19,"name":"db:19","type":"template"},
{"config":{"capacity":9.2,"host":"172.16.50.21","id":"2","maxacpower":5000,"modbus":"tcpip","port":"5021","template":"solaredge-hybrid","timeout":10000000000,"usage":"battery","watchdog":"60s"},"deviceTitle":"Akku-Hausdach","id":20,"name":"db:20","type":"template"},
{"config":{"host":"172.16.50.21","id":1,"maxacpower":"0","modbus":"tcpip","port":"5021","template":"solaredge-hybrid","usage":"grid","watchdog":"60s"},"id":15,"name":"db:15","type":"template"}
],
"vehicle": [
{"config":{"capacity":60,"icon":"car","id":"3","maxCurrent":16,"minCurrent":6,"mode":"pv","template":"teslamate","title":"Model 3 SR"},"id":13,"name":"db:13","type":"template"},
{"config":{"capacity":79,"icon":"car","id":"2","maxCurrent":16,"minCurrent":6,"mode":"pv","template":"teslamate","title":"Model Y LR"},"id":14,"name":"db:14","type":"template"},
{"config":{"cache":"15m","capacity":35,"icon":"car","maxCurrent":16,"minCurrent":6,"mode":"pv","password":"***","phases":"2","template":"seat","title":"Seat Mii electric","user":"[email protected]"},"id":21,"name":"db:21","type":"template"}
],
"circuits": "- name: main # unique name, used as reference, e.g. as parent in other circuits
title: Hauptsicherung # used in the UI
maxcurrent: 48 # 63A main circuit breaker (optional)
maxpower: 34560 # 30kW (optional)
meter: db:15 # associated meter to monitor the power consumption (optional)
# parent: # no parent, this is the root circuit
- name: garageAB # unique name, used as reference, e.g. to associate loadpoints
title: Garage Christina & Matthias # used in the UI
maxcurrent: 33 # allow individual phase use up to 24A
maxpower: 23000 # limit total power to 11kW
# meter: garage # dedicated meter for the garage
parent: main # parent to the main circuit
- name: garageE # unique name, used as reference, e.g. to associate loadpoints
title: Garage Manfred # used in the UI
maxcurrent: 16.4 # 32A circuit breaker
maxpower: 11600 # no limit, only check current
# meter: # no meter, using data from loadpoints
parent: main # parent to the main circuit",
"modbusproxy": "- port: 5021
uri: 172.16.50.7:502
#- port: 5022
# device: /dev/ttyUSB0
# baudrate: 9600
# comset: \"8N1\"
#- port: 5023
# uri: 192.0.2.3:502
# rtu: true",
"tariffs": "currency: EUR
grid: # price using energy from the grid
type: fixed
# price: 0.2908 # STANDARD PREIS - EUR/kWh (default)
price: 0.2662 # STANDARD PREIS - EUR/kWh (default)
zones:
- days: Mo-So # NIEDRIG PREIS - Montag bis einschließlich Sonntag
hours: 2-5 # 02:00 bis 06:00 Uhr
# price: 0.2209 # EUR/kWh
price: 0.2662 # EUR/kWh
- days: Mo-So # NIEDRIG PREIS - Montag bis einschließlich Sonntag
hours: 12-16 # 02:00 bis 06:00 Uhr
# price: 0.2209 # EUR/kWh
price: 0.2662 # EUR/kWh
- days: Mo-So # HOCH PREIS - Montag bis einschließlich Sonntag
hours: 18-21 # 02:00 bis 06:00 Uhr
# price: 0.3409 # EUR/kWh
price: 0.2662 # EUR/kWh
feedin: # price for feeding solar energy to the grid
type: fixed
price: 0.0834 # EUR/kWh
co2: # carbon intensity forecast data
type: grünstromindex
zip: 99706
solar:
- type: template # Haus 45 Grad
template: forecast-solar
lat: 51.360427
lon: 10.896684
dec: 45
az: 201
kwp: 5.85
- type: template # Haus 21 Grad
template: forecast-solar
lat: 51.360427
lon: 10.896684
dec: 21
az: 201
kwp: 3.9
interval: 2h
- type: template # Haus 90 Grad
template: forecast-solar
lat: 51.360427
lon: 10.896684
dec: 90
az: 201
kwp: 3.44
interval: 2h
- type: template # 3er Garage
template: forecast-solar
lat: 51.360427
lon: 10.896684
dec: 5
az: 111
kwp: 10.0
interval: 2h
- type: template # 2er Garage
template: forecast-solar
lat: 51.360427
lon: 10.896684
dec: 5
az: 201
kwp: 6.45
interval: 2h"
}
System State
{
"config": "/etc/evcc.yaml",
"database": "/var/lib/evcc/evcc.db",
"eebus": false,
"fatal": [{"class":"meter","device":"db:16","error":"[db:16] cannot create meter 'db:16': cannot create meter type 'template': cannot create meter type 'custom': power: add[0]: not a SunSpec device"}],
"hems": {},
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"interval": 15,
"loadpoints": [],
"messaging": false,
"modbusproxy": [{"Port":5021,"URI":"172.16.50.7:502"}],
"mqtt": {"broker":"172.16.50.3:1883","user":"evcc","password":"***","clientID":"","insecure":true,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"network": {"schema":"http","host":"evcc.local","port":7070},
"shm": {"vendorId":"","deviceId":""},
"sponsor": {"name":"Matze03","expiresAt":"2123-08-15T07:42:26Z","token":"eyJhbG.......VGRgjs","fromYaml":false},
"startup": true,
"telemetry": true,
"version": "0.209.0"
}
Logs
[lp-2 ] DEBUG 2025/10/07 08:04:16 set plan energy: 0kWh @ 0001-01-01 00:53:28 +0053 LMT
[lp-2 ] DEBUG 2025/10/07 08:04:16 set session energy limit: 0
[lp-2 ] DEBUG 2025/10/07 08:04:16 set session soc limit: 0
[lp-2 ] DEBUG 2025/10/07 08:04:16 set soc config: {Poll:{Mode:always Interval:5m0s} Estimate:0xc000bfc18c}
[lp-2 ] DEBUG 2025/10/07 08:04:16 set default mode: pv
[lp-2 ] DEBUG 2025/10/07 08:04:16 set phases: 3
[lp-2 ] DEBUG 2025/10/07 08:04:16 set min current: 6
[lp-2 ] DEBUG 2025/10/07 08:04:16 set max current: 16
[lp-3 ] DEBUG 2025/10/07 08:04:16 set title: Garage Manfred
[lp-3 ] DEBUG 2025/10/07 08:04:16 set priority: 0
[lp-3 ] DEBUG 2025/10/07 08:04:16 set smart cost limit: <nil>
[lp-3 ] DEBUG 2025/10/07 08:04:16 set smart feed-in limit: <nil>
[lp-3 ] DEBUG 2025/10/07 08:04:16 set thresholds: {Enable:{Delay:1m0s Threshold:0} Disable:{Delay:3m0s Threshold:0}}
[lp-3 ] DEBUG 2025/10/07 08:04:16 set plan energy: 0kWh @ 0001-01-01 00:53:28 +0053 LMT
[lp-3 ] DEBUG 2025/10/07 08:04:16 set session energy limit: 0
[lp-3 ] DEBUG 2025/10/07 08:04:16 set session soc limit: 0
[lp-3 ] DEBUG 2025/10/07 08:04:16 set soc config: {Poll:{Mode:charging Interval:1h0m0s} Estimate:0xc000d9a43c}
[lp-3 ] DEBUG 2025/10/07 08:04:16 set default mode: pv
[lp-3 ] DEBUG 2025/10/07 08:04:16 set phases: 3
[lp-3 ] DEBUG 2025/10/07 08:04:16 set max current: 16
[lp-1 ] DEBUG 2025/10/07 08:04:20 charge total import: 5115.658kWh
[lp-2 ] DEBUG 2025/10/07 08:04:20 charge total import: 6600.752kWh
[lp-3 ] DEBUG 2025/10/07 08:04:20 charge total import: 2965.914kWh
[main ] FATAL 2025/10/07 08:04:20 meter [db:16] cannot create meter 'db:16': cannot create meter type 'template': cannot create meter type 'custom': power: add[0]: not a SunSpec device
[main ] FATAL 2025/10/07 08:04:20 will attempt restart in: 15m0s
Version
v0.209.0
Die Fehlermeldung ist eindeutig