SE: fix hybrid template (#4503)
This commit is contained in:
parent
9c6ebbec04
commit
2d779a6f9f
1 changed files with 6 additions and 16 deletions
|
|
@ -33,22 +33,12 @@ render: |
|
|||
scale: -1
|
||||
{{- end }}
|
||||
{{- if eq .usage "pv" }}
|
||||
source: calc
|
||||
add:
|
||||
- source: modbus
|
||||
uri: {{ .host }}:{{ .port }} # Port 502 (SetApp) or 1502 (LCD)
|
||||
id: 1
|
||||
timeout: {{ .timeout }}
|
||||
model: sunspec
|
||||
value: DCPower
|
||||
- source: modbus
|
||||
uri: {{ .host }}:{{ .port }} # Port 502 (SetApp) or 1502 (LCD)
|
||||
id: 1
|
||||
timeout: {{ .timeout }}
|
||||
register:
|
||||
address: 62836 # Battery 1 Instantaneous Power
|
||||
type: holding
|
||||
decode: float32s
|
||||
source: modbus
|
||||
uri: {{ .host }}:{{ .port }} # Port 502 (SetApp) or 1502 (LCD)
|
||||
id: 1
|
||||
timeout: {{ .timeout }}
|
||||
model: sunspec
|
||||
value: DCPower
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
source: modbus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue