Skip to content

inverter: expose fronius modbus charge limit#352

Merged
MaStr merged 1 commit intoMaStr:mainfrom
filiplajszczak:fronius-modbus-max-grid-charge-rate
Apr 27, 2026
Merged

inverter: expose fronius modbus charge limit#352
MaStr merged 1 commit intoMaStr:mainfrom
filiplajszczak:fronius-modbus-max-grid-charge-rate

Conversation

@filiplajszczak
Copy link
Copy Markdown
Contributor

@filiplajszczak filiplajszczak commented Apr 27, 2026

Fixes Fronius Modbus grid charging by exposing the configured max grid charge rate on the inverter object.

The core clamps force-charge requests via inverter.max_grid_charge_rate; without this attribute, the fronius-modbus backend crashes when the optimizer requests grid charging.

Tested with:

  • uv run --extra test pytest tests/batcontrol/inverter/test_fronius_modbus_*.py tests/batcontrol/inverter/test_inverter_factory.py tests/batcontrol/test_core.py -q

@MaStr MaStr merged commit c976fed into MaStr:main Apr 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants