Add Fronius Ohmpilot (#12100)

This commit is contained in:
andig 2024-02-07 08:10:25 +01:00 • committed by GitHub
parent 527c9020b0
commit 1e98f3df14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,19 @@
template: fronius-ohmpilot
products:
- brand: Fronius
description:
generic: Ohmpilot
params:
- name: usage
choice: ["aux"]
- name: host
render: |
type: custom
power:
source: http
uri: http://{{ .host }}/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: if .Body.Data.Smartloads.Ohmpilots."720896".P_AC_Total == null then 0 else .Body.Data.Smartloads.Ohmpilots."720896".P_AC_Total * -1 end
soc:
source: http
uri: http://{{ .host }}/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: if .Body.Data.Smartloads.Ohmpilots."720896".Temperature == null then 0 else .Body.Data.Smartloads.Ohmpilots."720896".Temperature end