Fronius Solar API V1: add pv energy (#19192)
This commit is contained in:
parent
6a4ec7335e
commit
aa2fbb933d
1 changed files with 6 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ render: |
|
|||
{{- if eq .usage "pv" }}
|
||||
jq: if .Body.Data.Site.P_PV == null then 0 else .Body.Data.Site.P_PV end
|
||||
{{- end }}
|
||||
{{- if eq .usage "pv" }}
|
||||
energy:
|
||||
source: http
|
||||
uri: http://{{ .host }}/solar_api/v1/GetPowerFlowRealtimeData.fcgi
|
||||
jq: if .Body.Data.Site.E_Total == null then 0 else .Body.Data.Site.E_Total end
|
||||
{{- end }}
|
||||
{{- if eq .usage "battery" }}
|
||||
jq: if .Body.Data.Site.P_Akku == null then 0 else .Body.Data.Site.P_Akku end
|
||||
soc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue