MeshCore 2.0 Release Notes
Major Changes
New Architecture with meshcore-py
- Completely refactored internals to use https://github.com/fdlamotte/meshcore_py library
- Shifted from CLI-based commands to direct Python SDK methods
- Implemented event-driven architecture for more efficient data handling
Improved Repeater Management
- Enhanced repeater addition logic with proactive login attempts
- Significantly reduced repeater login frequency with smart failure tracking
- Added robust error handling for repeater updates
- Implemented better management of consecutive failures
Streamlined Message Handling
- Consolidated channel and direct messages into a unified system
- Logging entities now only created when messages are received
- More efficient message processing and display
Event System Enhancements
- All SDK events are now directly exposed to Home Assistant
- Better event serialization for improved reliability
- Full access to the complete meshcore-py event system
Technical Improvements
- Removed dependency on CLI commands, providing more direct access to the underlying API
- More efficient data updates through event subscriptions
- Better failure recovery mechanisms
- Improved configurability of update intervals
- Enhanced error handling throughout the integration