Add Fronius Ohmpilot (#12100)
This commit is contained in:
parent
527c9020b0
commit
1e98f3df14
1 changed files with 19 additions and 0 deletions
19
templates/definition/meter/fronius-ohmpilot.yaml
Normal file
19
templates/definition/meter/fronius-ohmpilot.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue