Add Zendure Solarflow 2400 AC (#25971)
This commit is contained in:
parent
709fc827e2
commit
f3dd331ad0
1 changed files with 34 additions and 0 deletions
34
templates/definition/meter/zendure-solarflow-2400-ac.yaml
Normal file
34
templates/definition/meter/zendure-solarflow-2400-ac.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
template: zendure-solarflow-2400-ac
|
||||
products:
|
||||
- brand: Zendure
|
||||
description:
|
||||
generic: Solarflow 2400 AC
|
||||
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["battery"]
|
||||
- name: host
|
||||
required: true
|
||||
- name: capacity
|
||||
required: true
|
||||
|
||||
render: |
|
||||
type: custom
|
||||
power:
|
||||
source: calc
|
||||
add:
|
||||
- source: http
|
||||
uri: http://{{ .host }}/properties/report
|
||||
jq: .properties.packInputPower
|
||||
cache: 1s
|
||||
- source: http
|
||||
uri: http://{{ .host }}/properties/report
|
||||
jq: .properties.outputPackPower
|
||||
scale: -1
|
||||
cache: 1s
|
||||
soc:
|
||||
source: http
|
||||
uri: http://{{ .host }}/properties/report
|
||||
jq: .properties.electricLevel
|
||||
cache: 1s
|
||||
capacity: {{ .capacity }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue