50 lines
804 B
YAML
50 lines
804 B
YAML
template: abb-ab
|
|
products:
|
|
- brand: ABB
|
|
description:
|
|
generic: A43
|
|
- brand: ABB
|
|
description:
|
|
generic: A44
|
|
- brand: ABB
|
|
description:
|
|
generic: B23
|
|
- brand: ABB
|
|
description:
|
|
generic: B24
|
|
params:
|
|
- name: usage
|
|
choice: ["grid", "pv", "charge"]
|
|
- name: modbus
|
|
choice: ["rs485"]
|
|
render: |
|
|
type: mbmd
|
|
{{- include "modbus" . }}
|
|
model: abb
|
|
{{- if ne .usage "pv" }}
|
|
power: Power
|
|
energy: Import
|
|
currents:
|
|
- CurrentL1
|
|
- CurrentL2
|
|
- CurrentL3
|
|
powers:
|
|
- PowerL1
|
|
- PowerL2
|
|
- PowerL3
|
|
{{- else }}
|
|
power: -Power
|
|
energy: Export
|
|
currents:
|
|
- -CurrentL1
|
|
- -CurrentL2
|
|
- -CurrentL3
|
|
powers:
|
|
- -PowerL1
|
|
- -PowerL2
|
|
- -PowerL3
|
|
{{- end }}
|
|
voltages:
|
|
- VoltageL1
|
|
- VoltageL2
|
|
- VoltageL3
|