Skip to content

Commit

Permalink
Merge pull request #730 from FozzieUK/patch-1
Browse files Browse the repository at this point in the history
AC1 G2 inverter profile added
  • Loading branch information
canton7 authored Jan 22, 2025
2 parents e6c6001 + 3f3c2de commit 352fee1
Showing 1 changed file with 9 additions and 0 deletions.
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 @@ -214,6 +214,15 @@ def inverter_capacity(self, inverter_model: str) -> int:
ConnectionType.LAN,
RegisterType.HOLDING,
),
# AC1-5.0-E-G2. Has to appear before AC1 G1 see https://github.com/nathanmarlor/foxess_modbus/discussions/715
InverterModelProfile(
InverterModel.AC1, r"^AC1-([\d\.]+)-E-G2", capacity_parser=CapacityParser.H1
).add_connection_type(
Inv.H1_G2,
ConnectionType.AUX,
RegisterType.HOLDING,
special_registers=H1_G2_REGISTERS,
),
InverterModelProfile(InverterModel.AC1, r"^AC1-([\d\.]+)", capacity_parser=CapacityParser.H1)
.add_connection_type(
Inv.H1_G1,
Expand Down

0 comments on commit 352fee1

Please sign in to comment.