Release Notes
Version 0.6.0
Breaking Changes
- K2 family printers: WebRTC-to-MJPEG conversion replaced with native WebRTC streaming
Features
- Native WebRTC streaming for K2 family using Home Assistant's built-in go2rtc service
- Automatic go2rtc stream configuration for Creality K2 printers
- WebRTC offer/answer negotiation forwarding between HA frontend and go2rtc
- Enhanced error handling and logging throughout camera classes
- JPEG validation and SDP format validation
- Connection error recovery with graceful fallback mechanisms
Dependencies
- Core:
websockets>=10.4 - K1 cameras: No additional dependencies
- K2 cameras: go2rtc service (included with Home Assistant core)
- Added
"after_dependencies": ["go2rtc"]to manifest.json
Bug Fixes
- Fixed WebRTC message format:
"answer"field (was"value") - Fixed SDP validation for WebRTC Session Description Protocol
- Fixed go2rtc stream configuration and API usage
- Enhanced MJPEG handling and error recovery
Documentation
- Added DEPENDENCIES.md with troubleshooting guides
- Added copilot-instructions.md with development guidelines
- Updated README.md with native WebRTC information
- Enhanced troubleshooting sections with specific URLs
Development Tools
- Added creality_webrtc_test_server.py for WebRTC testing
- Added creality_ws_test_server.py for WebSocket telemetry simulation
- Updated .gitignore for deployment files
Compatibility
- Home Assistant: 2024.1.0+
- go2rtc: 1.9.9+ (for native Creality WebRTC support)
- Python: 3.11+
Migration
- K1 family: No action required
- K2 family: Automatic upgrade to native WebRTC
- Verify go2rtc running:
http://localhost:11984
Version 0.5.6
- Updated WebRTC camera support information
- Removed outdated warnings from README
- Revised dependencies in manifest.json