41 lines
679 B
YAML
41 lines
679 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", "charge"]
|
|
- name: modbus
|
|
choice: ["rs485"]
|
|
render: |
|
|
type: mbmd
|
|
{{- include "modbus" . }}
|
|
model: abb
|
|
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 }}
|