evcc-io/templates/definition/meter/janitza.yaml
2026-06-04 23:32:02 +02:00

46 lines
782 B
YAML

template: janitza
products:
- brand: Janitza
description:
generic: B series
- brand: Janitza
description:
generic: UMG series
params:
- name: usage
choice: ["grid", "pv", "charge"]
- name: modbus
choice: ["rs485", "tcpip"]
render: |
type: mbmd
{{- include "modbus" . }}
model: janitza
{{- if ne .usage "pv" }}
power: Power
energy: Import
returnenergy: Export
currents:
- CurrentL1
- CurrentL2
- CurrentL3
powers:
- PowerL1
- PowerL2
- PowerL3
{{- else }}
power: -Power
energy: Export
returnenergy: Import
currents:
- -CurrentL1
- -CurrentL2
- -CurrentL3
powers:
- -PowerL1
- -PowerL2
- -PowerL3
{{- end }}
voltages:
- VoltageL1
- VoltageL2
- VoltageL3