From aa2fbb933d1cdf4d468f5abe936b5af0ee145253 Mon Sep 17 00:00:00 2001 From: Alois <11095760+AloisKlingler@users.noreply.github.com> Date: Sat, 15 Mar 2025 15:24:47 +0100 Subject: [PATCH] Fronius Solar API V1: add pv energy (#19192) --- templates/definition/meter/fronius-solarapi-v1.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/definition/meter/fronius-solarapi-v1.yaml b/templates/definition/meter/fronius-solarapi-v1.yaml index bdfad303e..14c2da17d 100644 --- a/templates/definition/meter/fronius-solarapi-v1.yaml +++ b/templates/definition/meter/fronius-solarapi-v1.yaml @@ -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: