Skip to content

0.1.6

Choose a tag to compare

@ant0nkr ant0nkr released this 17 Aug 13:28
0d9fea7

Release Notes v0.1.6

Summary

This release introduces configurable register block size for improved compatibility with older inverter firmware, enhances the reliability of the Modbus communication, fixes several bugs, and includes test improvements for better code stability.

New Features

  • Configurable Register Block Size: Added option to adjust the size of register blocks read from the inverter
    • Default: 125 registers (for most modern firmware)
    • Legacy option: 40 registers (for older firmware that doesn't support larger blocks)
    • UI configuration through setup and configuration flows

Improvements

  • Changed default polling interval from 10 to 60 seconds to reduce communication errors
  • Enhanced error handling when inverters send less data than expected
  • Updated documentation with information about register block size configuration

Bug Fixes

  • Fixed issue with active warning code display
  • Fixed issue with CRC calculation (preventative fix for future compatibility)
  • Fixed protocol version to 1 based on Wireshark analysis
  • Removed untranslated strings to prevent UI issues

Developer Changes

  • Added comprehensive Python tests for different response types
  • Improved CI/CD workflow with automated testing
  • Updated testing requirements
  • Multiple test fixes for better compatibility and reliability

Detailed Changes

  • Added register block size configuration option in UI with default (125) and legacy (40) values
  • Modified Modbus client to use the configured block size instead of a hardcoded value
  • Updated test suite to properly test different block sizes
  • Fixed bug in protocol version detection
  • Updated the README with detailed information about the new register block size option