set no of pv modules for MS800 GEN3PLUS inverters

This commit is contained in:
Stefan Allius
2025-05-22 21:05:58 +02:00
parent e25aa5f922
commit e2ff27d58f
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased]
- set no of pv modules for MS800 GEN3PLUS inverters
- add MQTT topic `dcu_power` for setting output power on DCUs
- Update ghcr.io/hassio-addons/base Docker tag to v17.2.5
- fix a lot of pytest-asyncio problems in the unit tests

View File

@@ -568,6 +568,10 @@ class SolarmanV5(SolarmanBase):
model = f'TSOL-MS{max_pow}'
elif max_pow == 1800 or max_pow == 1600:
model = f'TSOL-MS{max_pow}'
elif max_pow <= 800:
self.db.set_db_def_value(Register.NO_INPUTS, 2)
model = f'TSOL-MS{max_pow}'
if model:
logger.info(f'Model: {model}')
self.db.set_db_def_value(Register.EQUIPMENT_MODEL, model)