Release Notes
v0.5.4 — Native WebRTC for K2, async-safe frontend, dynamic box heater, and more
Highlights
- Native WebRTC camera for K2 family (no custom card required on recent Home Assistant).
- Auto-detect camera type by model/probe: K1/K1C/K1 Plus use MJPEG; K2 uses WebRTC.
- Async-safe Lovelace card deployment (no event loop blocking).
- Box heater target entity now appears even if capability shows up after boot.
- Friendlier camera diagnostics when signaling is unreachable.
- Options flow modernization for HA 2025.12 compatibility.
New
- WebRTC camera entity (K2)
- Implements native Home Assistant WebRTC offer/answer; plays in the more-info dialog and modern camera surfaces on recent HA.
- Attributes:
webrtc_url
:webrtc://<printer-ip>:8000/call/webrtc_local#format=creality
signaling_url
error
(set on signaling failures)
- Camera Mode option (Integration Configure)
auto
(default) |mjpeg
|webrtc
- Delayed capability refresh for Box Target (K2)
- Dynamically adds
number.*_box_target
whenmaxBoxTemp
appears after boot.
- Dynamically adds
Improvements
- Camera auto-detection via model hint and quick signaling probe; fallback to MJPEG.
- Async-safe frontend card deploy using executor to avoid event loop blocking.
- Sensor robustness for object-related fields and optional
box_temperature
. - Number clamping safety; preserved > 40°C rule for K2 chamber heater.
- Options flow uses non-deprecated pattern for HA 2025.12.
Fixed
- Eliminated async blocking warnings during frontend card deploy.
- Native WebRTC eliminates “no stream/image” confusion and exposes useful error context.
Docs
- README updated for K1 (MJPEG) vs K2 (WebRTC), native support, and Camera Mode.
Notes
- Native WebRTC requires a recent HA. Older HA may show a static thumbnail; use
webrtc_url
with a compatible card if needed. - Perform a hard refresh after updating Lovelace resources if the UI looks stale.