56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
template: zendure-solarflow-ac
|
|
covers: [zendure-solarflow-2400-ac]
|
|
products:
|
|
- brand: Zendure
|
|
description:
|
|
generic: Solarflow AC
|
|
params:
|
|
- name: usage
|
|
choice: ["battery"]
|
|
- name: host
|
|
- preset: battery-capacity
|
|
- name: minsoc
|
|
deprecated: true
|
|
- name: maxsoc
|
|
deprecated: true
|
|
- name: maxchargepower
|
|
deprecated: true
|
|
- name: maxdischargepower
|
|
deprecated: true
|
|
- name: cache
|
|
default: 1s
|
|
render: |
|
|
type: custom
|
|
power:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.packInputPower - .properties.outputPackPower
|
|
cache: {{ .cache }}
|
|
soc:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.electricLevel
|
|
cache: {{ .cache }}
|
|
minsoc:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.minSoc
|
|
scale: 0.1
|
|
cache: {{ .cache }}
|
|
maxsoc:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.socSet
|
|
scale: 0.1
|
|
cache: {{ .cache }}
|
|
maxchargepower:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.chargeMaxLimit
|
|
cache: {{ .cache }}
|
|
maxdischargepower:
|
|
source: http
|
|
uri: http://{{ .host }}/properties/report
|
|
jq: .properties.inverseMaxPower
|
|
cache: {{ .cache }}
|
|
{{- include "battery-capacity" . }}
|