Add Zendure Solarflow 2400 AC (#25971)

This commit is contained in:
MvsBluewin 2025-12-12 10:14:06 +01:00 • committed by GitHub
parent 709fc827e2
commit f3dd331ad0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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 }}