forked from kellerza/sunsynk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance register unpacking and sensor reading with improved error han…
…dling and logging - Added logging for suspicious register values (0xFFFF) and large unpacked values. - Improved error handling during unpacking of register values, including specific warnings for single and double register unpacking failures. - Introduced a mapping of register addresses to sensors for better tracking and debugging. - Enhanced performance logging for register reads, including warnings for slow reads and multiple consecutive timeouts. - Updated debug logging to provide more context on register requests and responses. These changes aim to improve the robustness and reliability of the sensor reading process.
- Loading branch information
1 parent
09b4be3
commit 7d5a2d2
Showing
4 changed files
with
133 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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