Skip to content

Commit

Permalink
Update plugin_solax.py
Browse files Browse the repository at this point in the history
Change 'PRI' to GEN3
  • Loading branch information
wills106 committed Nov 13, 2024
1 parent 16cd3f2 commit 0af2d59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/solax_modbus/plugin_solax.py
Original file line number Diff line number Diff line change
Expand Up @@ -7506,6 +7506,9 @@ async def async_determineInverterType(self, hub, configdict):
elif seriesnumber.startswith('XAC'):
invertertype = AC | GEN3 | X1 # X1AC
self.inverter_model = "X1-AC"
elif seriesnumber.startswith('PRI'):
invertertype = AC | GEN3 | X1 # RetroFit
self.inverter_model = "X1-RetroFit"
elif seriesnumber.startswith('H3DE'):
invertertype = HYBRID | GEN3 | X3 # Gen3 X3
self.inverter_model = f"X3-Hybrid-{seriesnumber[3:5]}kW"
Expand Down Expand Up @@ -7557,9 +7560,6 @@ async def async_determineInverterType(self, hub, configdict):
elif seriesnumber.startswith('PRE'):
invertertype = AC | GEN4 | X1 # RetroFit
self.inverter_model = "X1-RetroFit"
elif seriesnumber.startswith('PRI'):
invertertype = AC | GEN4 | X1 # RetroFit
self.inverter_model = "X1-RetroFit"
elif seriesnumber.startswith('H55'):
invertertype = HYBRID | GEN5 | X1 | MPPT3 # X1-IES 5kW?
self.inverter_model = f"X1-IES-{seriesnumber[2:3]}.{seriesnumber[3:4]}kW"
Expand Down

0 comments on commit 0af2d59

Please sign in to comment.