Repository navigation
README: control modes table maps Predbat statuses and GoodWe EMS settings - #53
Merged
Merged
Conversation
…ings The table only listed the executor's own modes and what the inverter did, so it didn't answer which Predbat status ends up as which EMS mode. Add a Predbat status column (from the apps.yaml services, incl. Hold charging and Hold exporting) and the settings each mode writes (EMS 1/3/11, power limit, minimum SoC, charge current), taken from control.py _settings(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On the elektrowoz.pl forum someone asked which inverter mode each Predbat status (Demand, Charging, Exporting, Freeze charging, Freeze exporting, Hold charging) sets. The README table in "Battery control from Predbat / other optimizers" didn't say. It listed only the executor's own modes and what the inverter did, with no Predbat names and no EMS settings.
What
The table in
README.MDgets two new columns:apps.yamlservices inMQTT_TOPICS.md. Hold charging isfreeze_chargewith atarget_socbelow the SoC (Hold charging: freeze_charge with a target below the SoC discharges down to it #50). Hold exporting is Predbat'sstop: exportonce the export target is reached, so it lands inauto.control.py_settings().goodwelibrary'sEMSMode.charge/export.freeze_charge, charge current 0 forfreeze_export.A short note under the table says the freeze modes aren't separate EMS modes and links to the Predbat example in
MQTT_TOPICS.md. The section heading is unchanged, so links to it keep working.Test plan
control.py_settings()onmain.execute.py.MQTT_TOPICS.md#home-assistant--predbat-exampleexists on GitHub.🤖 Generated with Claude Code