Add SunSpec meters for chargers (#21977)
Signed-off-by: Marcel Goerentz <m.goerentz@t-online.de>
This commit is contained in:
parent
aa77183bc8
commit
a6925c61a9
1 changed files with 2 additions and 2 deletions
|
|
@ -9,13 +9,13 @@ products:
|
|||
en: Smartmeter (via Inverter)
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["grid", "pv"]
|
||||
choice: ["grid", "pv", "charge"]
|
||||
- name: modbus
|
||||
choice: ["tcpip"]
|
||||
render: |
|
||||
type: custom
|
||||
# sunspec model 201 or 203 (int+sf)/ 211 or 213 (float) meter
|
||||
{{- if eq .usage "grid" }}
|
||||
{{- if or (eq .usage "grid") (eq .usage "charge") }}
|
||||
power:
|
||||
source: sunspec
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue