Solarlog: add pv energy (#10516)
This commit is contained in:
parent
58d5e8bd10
commit
ae40e435a1
1 changed files with 11 additions and 1 deletions
|
|
@ -19,8 +19,8 @@ params:
|
|||
default: 502
|
||||
render: |
|
||||
type: custom
|
||||
power:
|
||||
{{- if eq .usage "grid" }}
|
||||
power:
|
||||
source: calc
|
||||
add:
|
||||
- source: modbus
|
||||
|
|
@ -40,6 +40,7 @@ render: |
|
|||
decode: uint32s
|
||||
{{- end }}
|
||||
{{- if eq .usage "pv" }}
|
||||
power:
|
||||
source: modbus
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
id: 1
|
||||
|
|
@ -47,4 +48,13 @@ render: |
|
|||
address: 3502 # Pac
|
||||
type: input
|
||||
decode: uint32s
|
||||
energy:
|
||||
source: modbus
|
||||
uri: {{ .host }}:{{ .port }}
|
||||
id: 1
|
||||
register:
|
||||
address: 3516 # total yield
|
||||
type: input
|
||||
decode: uint32s
|
||||
scale: 0.001
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue