Fronius: map pv to mppt 1/2 (#2652)
This commit is contained in:
parent
17d6a5c17c
commit
34cedf93e3
1 changed files with 17 additions and 3 deletions
|
|
@ -21,7 +21,23 @@ render: |
|
|||
id: 200
|
||||
power: 213:W # sunspec model 203 meter
|
||||
{{- end }}
|
||||
{{- if or (eq .usage "pv") (eq .usage "battery") }}
|
||||
{{- if eq .usage "pv" }}
|
||||
type: custom
|
||||
power:
|
||||
source: calc
|
||||
add:
|
||||
- source: modbus
|
||||
model: sunspec
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
id: 1
|
||||
value: 160:1:DCW # mppt 1
|
||||
- source: modbus
|
||||
model: sunspec
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
id: 1
|
||||
value: 160:2:DCW # mppt 2
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
type: custom
|
||||
power:
|
||||
source: calc
|
||||
|
|
@ -37,8 +53,6 @@ render: |
|
|||
uri: {{ .host }}:{{ .port }}
|
||||
id: 1
|
||||
value: 160:4:DCW # mppt 4 discharge
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
soc:
|
||||
source: modbus
|
||||
model: sunspec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue