Skip to content

0.2.0

Choose a tag to compare

@ant0nkr ant0nkr released this 04 Oct 15:49

Release Notes - LuxPower Modbus Integration v0.2.0

🎉 Major Release: Device Grouping & Enhanced Modbus Communication

We're excited to announce version 0.2.0 of the LuxPower Modbus Integration, featuring significant organizational improvements and enhanced reliability!

🚀 New Features

📱 Device Grouping - Revolutionary Organization

  • Organized Entity Structure: Your 250+ entities are now automatically grouped into logical sub-devices for much better navigation
  • Intuitive Hierarchy: Entities are organized by function rather than scattered in one long list
  • Device Groups Include:
    • PV - Solar panel monitoring and configuration
    • Grid - Grid import/export and tariff management
    • EPS - Emergency Power Supply (off-grid) monitoring
    • Generator - Generator control and monitoring
    • Battery - Battery status, BMS data, and charge management
    • Temperatures & Diagnostics - Temperature sensors and diagnostic information
    • Settings & Schedules - Configuration and time-based controls
  • Configurable: Device grouping can be enabled/disabled in integration settings
  • Backward Compatible: Existing installations continue to work seamlessly

🔧 Enhanced Modbus Communication

  • 🛡️ Safe Packet Recovery: Automatic recovery from malformed or incomplete packets
  • ⚡ Improved Reliability: Enhanced error handling and connection stability
  • 📊 Recovery Statistics: Track packet recovery success rates for diagnostics
  • 🔄 Smart Retry Logic: Intelligent retry mechanisms for failed communications
  • 🧪 Comprehensive Testing: 29 new automated tests ensure communication reliability

🔋 Expanded Battery Management System (BMS) Data

  • Enhanced Battery Status: More detailed battery condition reporting
  • BMS Diagnostics: Additional BMS data entities for better battery monitoring
  • Corrected Register Mappings: Updated battery status registers according to V23 documentation

🌍 Enhanced Split-Phase Support

  • US/Brazil Inverters: Improved support for split-phase systems
  • L2N Energy Correction: Fixed EPS Energy total L2N calculation formula
  • Additional Phase Information: More comprehensive multi-phase monitoring

🐛 Bug Fixes

  • Fixed: Sanity check validation for time registers
  • Fixed: EPS Energy total L2N calculation formula
  • Improved: Initial data handling during connection establishment
  • Enhanced: Error handling in packet processing
  • Corrected: Battery status register mappings per V23 documentation

🛠️ Technical Improvements

  • Test Coverage: Added comprehensive test suite with 29 tests covering all critical functionality
  • Code Quality: Improved error handling and validation throughout the codebase
  • Documentation: Enhanced code documentation and type hints
  • Development: Added pytest configuration and development dependencies
  • Performance: Optimized Modbus communication patterns for better reliability

🤝 Contributors

Special thanks to our amazing contributors who made this release possible:

  • @ivanfmartinez - Modbus communication optimizations, BMS enhancements, and split-phase improvements

📈 Statistics

  • 18+ commits since v0.1.10
  • 3 major pull requests merged
  • 29 new automated tests added
  • 250+ entities now organized into logical device groups
  • Enhanced reliability through improved packet recovery

🔗 Links

💖 Support the Project

If this integration has been helpful, consider supporting the project to help with continued development and maintenance.


Full Changelog: v0.1.10...v0.2.0