evcc-io/templates/definition/meter/kostal-ksem.yaml
2024-10-29 11:44:33 +01:00

75 lines
1.6 KiB
YAML

template: kostal-ksem
products:
- brand: Kostal
description:
generic: Smart Energy Meter
params:
- name: usage
choice: ["grid"]
- name: modbus
choice: ["tcpip"]
id: 71
render: |
type: custom
# sunspec model 203 (int+sf)/ 213 (float) meter
power:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 203:W
- 213:W
energy:
source: sunspec
{{- include "modbus" . | indent 2 }}
value:
- 203:TotWhImp
- 213:TotWhImp
scale: 0.001
currents:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:AphA
- 213:AphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:AphB
- 213:AphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:AphC
- 213:AphC
voltages:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:PhVphA
- 213:PhVphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:PhVphB
- 213:PhVphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:PhVphC
- 213:PhVphC
powers:
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:WphA
- 213:WphA
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:WphB
- 213:WphB
- source: sunspec
{{- include "modbus" . | indent 4 }}
value:
- 203:WphC
- 213:WphC