Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a-TroniX AX and Enpal I-X inverters #786

Merged
merged 3 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add support for a-TroniX AX inverters
Fixes: #784
  • Loading branch information
canton7 committed Feb 21, 2025
commit 9cab1d7b1dee09b62f286b5ccbcae2d7683f825d
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 @@ -52,6 +52,7 @@ class InverterModel(StrEnum):
SK_HWR = "SK-HWR"
STAR_H3 = "STAR-H3"
SOLAVITA_SP = "SOLAVITA-SP"
ATRONIX_AX = "ATRONIX_AX"

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 @@ -398,6 +398,15 @@ def inverter_capacity(self, inverter_model: str) -> int:
versions={None: Inv.H3_PRE180},
special_registers=H3_REGISTERS,
),
# a-TroniX AX
# These have the form 'AX 12.0kW-3ph' (the 3ph standing for '3 phase'). Presumably there are other powers, too
# See https://github.com/nathanmarlor/foxess_modbus/discussions/783
InverterModelProfile(InverterModel.ATRONIX_AX, r"^AX ([\d\.]+)kW-3ph").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