Skip to content

Commit 199a850

Browse files
author
Manuel Vukadinovic
committed
feat: add APsystems EHZI micro hybrid inverter battery template
- Add support for APsystems EHZI micro hybrid inverter with 2.4kWh battery - Support battery monitoring (power, SOC, energy) via HTTP API - Include battery control capabilities (normal/hold/charge modes) - Tested with hardware at 192.168.20.8, firmware 1.1.4.5 - Power values correctly inverted for evcc battery conventions - Template includes German and English localization
1 parent f9adcfa commit 199a850

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
template: apsystems-ehzi
2+
products:
3+
- brand: APsystems
4+
description:
5+
generic: EHZI Micro Hybrid Inverter with Battery Storage and Control
6+
de: EHZI Mikro-Hybridwechselrichter mit Batteriespeicher und Steuerung
7+
capabilities: ["battery-control"]
8+
requirements:
9+
description:
10+
generic: Requires local network access to the APsystems EHZI micro hybrid inverter
11+
de: Erfordert lokalen Netzwerkzugriff auf den APsystems EHZI Mikro-Hybridwechselrichter
12+
params:
13+
- name: usage
14+
choice: ["battery"]
15+
- name: host
16+
help:
17+
generic: IP address or hostname of the EHZI micro hybrid inverter
18+
de: IP-Adresse oder Hostname des EHZI Mikro-Hybridwechselrichters
19+
example: 192.168.20.8
20+
- name: capacity
21+
help:
22+
generic: Battery capacity in kWh
23+
de: Batteriekapazität in kWh
24+
default: 2.4
25+
advanced: true
26+
- name: minsoc
27+
default: 10
28+
type: int
29+
advanced: true
30+
help:
31+
generic: Minimum SOC for discharge (%)
32+
de: Minimaler SoC für Entladung (%)
33+
- name: maxsoc
34+
default: 90
35+
type: int
36+
advanced: true
37+
help:
38+
generic: Maximum SOC for charge (%)
39+
de: Maximaler SoC für Ladung (%)
40+
- name: maxpower
41+
description:
42+
generic: Maximum charge/discharge power
43+
de: Maximale Lade-/Entladeleistung
44+
default: 1200
45+
advanced: true
46+
help:
47+
generic: Maximum charge/discharge power in W. Note that EHZI will dynamically limit actual power based on battery SOC, temperature, and grid conditions. Actual power may be significantly lower than requested.
48+
de: Maximale Lade-/Entladeleistung in W. Beachten Sie, dass EHZI die tatsächliche Leistung dynamisch basierend auf Batterie-SoC, Temperatur und Netzbedingungen begrenzt. Die tatsächliche Leistung kann deutlich niedriger sein als angefordert.
49+
render: |
50+
type: custom
51+
{{- if eq .usage "battery" }}
52+
power:
53+
source: http
54+
uri: http://{{ .host }}/getOutputData
55+
jq: (.data.batP | tonumber) * -1
56+
energy:
57+
source: http
58+
uri: http://{{ .host }}/getOutputData
59+
jq: ((.data.batSoc | tonumber) * {{ .capacity }}) / 100 # Available energy based on SoC in kWh
60+
soc:
61+
source: http
62+
uri: http://{{ .host }}/getOutputData
63+
jq: .data.batSoc | tonumber
64+
capacity: {{ .capacity }} # kWh
65+
batterymode:
66+
source: switch
67+
switch:
68+
- case: 1 # normal - allow natural battery operation
69+
set:
70+
source: http
71+
uri: http://{{ .host }}/setPower?p=0
72+
method: GET
73+
- case: 2 # hold - prevent discharge/charge
74+
set:
75+
source: http
76+
uri: http://{{ .host }}/setPower?p=0
77+
method: GET
78+
- case: 3 # charge - force charge from grid with max power
79+
set:
80+
source: http
81+
uri: http://{{ .host }}/setPower?p={{ .maxpower | mul -1 }}
82+
method: GET
83+
{{- end }}

0 commit comments

Comments
 (0)