github 3dg1luk43/ha_creality_ws v0.6.3

11 hours ago

Release Notes - Version 0.6.3

Release Date: October 27, 2025

Overview

Automatic device re-import on integration updates, improved hardware/software version detection, camera auto-detection, code cleanup, and enhanced migration logic.


🚀 Major Features

Automatic Device Re-Import

  • No manual removal/re-import required after integration updates
  • Version tracking ensures device information stays up-to-date
  • go2rtc settings migrated automatically
  • Works when printer is off during update
  • User settings preserved during migration

Hardware/Software Version Detection

  • Fixed missing HW/SW versions in device registry
  • Extracts DWIN versions when printer versions are empty
  • Falls back to DWIN versions (prefixed with "DWIN")

Camera Auto-Detection

  • Automatic detection (MJPEG vs WebRTC) based on printer model
  • K2 family → WebRTC, K1 family → MJPEG
  • Re-detected on version upgrades

⚙️ Configuration Changes

Power Switch Picker

  • Changed from Entity Selector to Text Input
  • Entity selector doesn't support empty input; text input allows optional values
  • Empty values automatically cleaned up

go2rtc Settings

  • Migrated from old storage to entry options
  • Defaults applied if missing (localhost:11984)

🛠️ Code Improvements

Cleanup

  • Eliminated redundant device info caching code
  • Created shared _get_cached_device_info() helper method

System Entity

  • Uses cached device information instead of live telemetry
  • Shows model, hostname, version when printer is off
  • Excluded from "zeroing" logic when printer is powered off

Sensor Setup

  • Removed delayed box temperature capability check
  • Simplified entity creation logic

🔍 Detection Improvements

Model Detection

  • Detection for K1, K1 SE, K1 Max, K2, K2 Pro, K2 Plus, Ender-3 V3 family
  • Camera type detection based on model family
  • Automatic capability detection (box sensor, box control, light)

Version Tracking

  • Tracks version that cached device information
  • Re-caches only when version changes
  • Handles offline printer during updates

🐛 Bug Fixes

  • HW/SW versions properly extracted and displayed
  • System entity persists when printer is off
  • Camera type detected on all verified models
  • Power switch empty value handling fixed
  • go2rtc settings migrated from old configuration
  • Version updates no longer require manual device removal

🔄 Migration

No action required. Integration automatically:

  1. Detects version change
  2. Re-caches device information
  3. Migrates go2rtc settings
  4. Updates camera configuration if needed
  5. Preserves user settings

📝 File Changes

  • __init__.py - Version tracking, migration logic
  • config_flow.py - Power switch text input, auto camera detection
  • sensor.py - System entity improvements
  • entity.py - Helper method for device info
  • utils.py - HW/SW version extraction
  • camera.py - Camera detection
  • coordinator.py - Power switch handling
  • switch.py, button.py, number.py - Minor improvements
  • README.md, Lovelace card - Documentation updates

🙏 Thanks

Special thanks to @hawky358 and @sammyke007 for contributions, feedback, and testing.

Don't miss a new ha_creality_ws release

NewReleases is sending notifications on new releases.