Repository navigation
fix(drivers): bundle sonnen 2.0.4, battery power with the site sign - #2093
Merged
Merged
Conversation
Moves the driver pin from srcfl/device-drivers 8aeecee3 to 20f9e8e5. Only sonnen.lua changes (srcfl/device-drivers#232). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Fredrik Ahlgren <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Moves the driver pin from srcfl/device-drivers 8aeecee3 to 20f9e8e5. Only
sonnenchanges.Pac_total_Wpositive while the battery discharges. 2.0.3 passed it through, so FTW showed charging as discharging and the reverse. 2.0.4 negates it, so charge is positive as the site convention wants.Field evidence
From srcfl/device-drivers#232, one sonnenBatterie (software 1.40.5): a time-of-use charge window read
Pac_total_Wnegative in every sample whileUSOCrose from 17 % to 99 %, and self-consumption hours read it positive whileUSOCfell. 2.0.4 itself has not run on a box yet.Checks
main.git diff --stat 8aeecee3 20f9e8e5 -- drivers/lualists onlysonnen.lua.scripts/sync-bundled-drivers.shthen--check: ok.make driver-versions-across-pin: ok (44 bundled drivers).go test -count=1 ./internal/drivers/ ./internal/fleetping/: ok.make verifyand 981 web tests on master 97c2d34, the base of this branch: ok.Changeset:
patch.🤖 Generated with Claude Code