Skip to content

Commit 40775c5

Browse files
authored
Update plugin_growatt.py add serial number for GEN3 inverters
Additional code to find serial number for GEN3 inverters using register 209
1 parent 478b47b commit 40775c5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

custom_components/solax_modbus/plugin_growatt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9498,6 +9498,9 @@ class growatt_plugin(plugin_base):
94989498
async def async_determineInverterType(self, hub, configdict):
94999499
_LOGGER.info(f"{hub.name}: trying to determine inverter type")
95009500
seriesnumber = await async_read_serialnr(hub, 3001)
9501+
if not seriesnumber:
9502+
_LOGGER.info(f"{hub.name}: trying alternative location")
9503+
seriesnumber = await async_read_serialnr(hub, 209)
95019504
if not seriesnumber:
95029505
_LOGGER.info(f"{hub.name}: trying alternative location")
95039506
seriesnumber = await async_read_serialnr(hub, 9)

0 commit comments

Comments
 (0)