Skip to content

Commit

Permalink
Add support for Enpal I-X inverters
Browse files Browse the repository at this point in the history
Fixes: #785
  • Loading branch information
canton7 committed Feb 21, 2025
1 parent 9cab1d7 commit 0d65dfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/foxess_modbus/common/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class InverterModel(StrEnum):
STAR_H3 = "STAR-H3"
SOLAVITA_SP = "SOLAVITA-SP"
ATRONIX_AX = "ATRONIX_AX"
ENPAL_IX = "ENPAL_IX"

H3_PRO = "H3_PRO"

Expand Down
9 changes: 9 additions & 0 deletions custom_components/foxess_modbus/inverter_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,15 @@ def inverter_capacity(self, inverter_model: str) -> int:
versions={None: Inv.H3_PRE180},
special_registers=H3_REGISTERS,
),
# Enpal I-X range
# These have the form 'I-X5', with powers 5, 6, 8, 9.9, 10, 12, 15kW
# See https://github.com/nathanmarlor/foxess_modbus/issues/785
InverterModelProfile(InverterModel.ENPAL_IX, r"^I-X([\d\.]+)").add_connection_type(
ConnectionType.AUX,
RegisterType.HOLDING,
versions={None: Inv.H3_PRE180},
special_registers=H3_REGISTERS,
),
# E.g. H3-Pro-20.0
InverterModelProfile(InverterModel.H3_PRO, r"^H3-Pro-([\d\.]+)").add_connection_type(
ConnectionType.AUX,
Expand Down

0 comments on commit 0d65dfb

Please sign in to comment.