Fronius Solar API V1: add pv energy (#19192)

This commit is contained in:
Alois 2025-03-15 15:24:47 +01:00 • committed by GitHub
parent 6a4ec7335e
commit aa2fbb933d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: