diff --git a/custom_components/solax_http/plugin_solax_ev_charger.py b/custom_components/solax_http/plugin_solax_ev_charger.py index 5bb6e60..059254b 100644 --- a/custom_components/solax_http/plugin_solax_ev_charger.py +++ b/custom_components/solax_http/plugin_solax_ev_charger.py @@ -1008,9 +1008,13 @@ async def _determine_type(self): _LOGGER.info(f"Trying to determine inverter type") # derive invertertupe from seriiesnumber - if self._serialnumber.startswith('C1070'): invertertype = X1 | POW7 # 7kW EV Single Phase - elif self._serialnumber.startswith('C3110'): invertertype = X3 | POW11 # 11kW EV Three Phase - elif self._serialnumber.startswith('C3220'): invertertype = X3 | POW22 # 22kW EV Three Phase + # Adding support for G1.1 (C1071). If required add new flag to distinguish G1.0 (C1070) and G1.1 + if self._serialnumber.startswith('C107'): + invertertype = X1 | POW7 # 7kW EV Single Phase + elif self._serialnumber.startswith('C3110'): + invertertype = X3 | POW11 # 11kW EV Three Phase + elif self._serialnumber.startswith('C3220'): + invertertype = X3 | POW22 # 22kW EV Three Phase # add cases here else: invertertype = 0