You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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
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 }}
0 commit comments