evcc-io/templates/definition/meter/inepro.yaml
2024-11-03 11:49:14 +01:00

32 lines
539 B
YAML

template: inepro
products:
- brand: inepro
description:
generic: PRO380-MOD
params:
- name: usage
choice: ["grid", "charge"]
- name: modbus
choice: ["rs485"]
render: |
type: mbmd
{{- include "modbus" . }}
model: inepro
power: Power
energy: Import
currents:
- CurrentL1
- CurrentL2
- CurrentL3
{{- if eq .usage "grid" }}
powers:
- PowerL1
- PowerL2
- PowerL3
{{- end }}
{{- if eq .usage "charge" }}
voltages:
- VoltageL1
- VoltageL2
- VoltageL3
{{- end }}