Repository navigation
Geparkt: Optimizer-Automatik: Gate, Profile, Anzeige auf evcc-Automatik - #88
Open
SolarPower2024 wants to merge 4 commits into
Open
SolarPower2024 wants to merge 4 commits into
SolarPower2024 wants to merge 4 commits into
Conversation
In automatic mode the optimizer sets the battery mode. The fork keeps its safety limits at execution, as the one hook after upstream decided the mode: - a charge request passes the same gate as the fork's own grid charging (running peak, circuit headroom, charge power setpoint) and becomes hold when refused; so the charge power entity no longer gets 0 W while the optimizer charges - hold gives way to normal while a peak has to be covered, and peak shaving then only discharges for the peak instead of the free value - with a missing or stale optimizer result the fork's grid charging applies as without the optimizer The soc-based grid charging does not switch the battery itself while the optimizer is in control, it is an optimizer input instead. The gate is extracted from the grid charge request unchanged. Without automatic mode nothing changes (contract test). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 75f9f3b) (cherry picked from commit a633368)
A profile's discharge control is refused while the optimizer decides it; it is skipped with a debug note instead of failing the whole profile. The stored upstream value applies again once automatic mode is off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 7bc1bdd) (cherry picked from commit 9739690)
- the load management overview marks loads the optimizer controls, and shows the battery as grid charging while an optimizer charge request passed the gate - battery page: with automatic mode the soc grid charging card says the optimizer plans the charging (start soc as floor, stop soc at the cheapest time) - profile editor: discharge control is skipped in automatic mode - advanced settings: "Netzlade-Ziel erreichen in" (grid charge window, 1-24 h, default 3) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 67c2481) (cherry picked from commit 3c0f535)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 61745e0)
SolarPower2024
changed the base branch from
evcc-update/2026-10-12
to
load-peak-features
October 12, 2026 17:24
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.
Worum es geht
PR 3 (Optimizer-Automatik: Sicherheits-Gate, Profile, Anzeige) neu auf dem echten Automatik-Modus von evcc (evcc PR 32881, mit PR 87 übernommen). Basis:
evcc-update/2026-10-12. Nach dem Merge von PR 87 ersetzt dieser PR den alten PR 3.Was es tut
Gilt nur, wenn die Automatik in evcc eingeschaltet ist (Stufe „nur Batterie“ oder „Batterie und Ladepunkte“). Ohne Automatik folgt die Batterie evcc (Vertragstest).
Gegenüber dem alten PR 3 geändert
window.Allowed)optimizerAutomaticist bei evcc jetzt eine Stufe (off/battery/full), kein Ja/Nein; die Anzeige wertet „off“ jetzt als auslmGateBatteryModeinupdateBatteryModesteht in Tabelle undforkHooksTests
Für das Add-on
CHANGELOG: „Optimizer-Automatik einschaltbar: Peak Shaving, Stromkreis-Grenzen und Reserve bleiben geschützt; ohne aktuelles Ergebnis gilt das eigene Netzladen.“
🤖 Generated with Claude Code