Claude/based on t 01 tk e7 gy2o yu ec4 va dobqxa7 - #24
Merged
Conversation
v0.0.7b1 - sph and mod changes for testing
Based on official Growatt documentation and user feedback, the MOD series inverters use register 31126 (signed INT32) for battery charge/discharge power instead of the old registers 3178-3181 which always return zero. Changes: - Update MOD profile to use register 31126-31127 for battery power (positive = charging, negative = discharging) - Add support for reading 31000-32000 register range (BDC/BMS data) - Extend 3000 range read to 3250 to cover all MOD battery registers - Update battery power reading logic to handle signed battery_power register - Fix register naming for battery energy registers to match code expectations - Maintain backward compatibility with SPH-style separate charge/discharge registers This resolves the issue where MOD users reported battery charge/discharge power sensors showing zero values. Refs: User scan data showing register 31126 contains valid battery power data
0xAHA
added a commit
that referenced
this pull request
Mar 22, 2026
…Dobqxa7 Claude/based on t 01 tk e7 gy2o yu ec4 va dobqxa7
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.
No description provided.