mirror of
https://github.com/gangoke/kobrax-lan-hass-component.git
synced 2026-06-09 20:52:13 +02:00
camera-rework
Kobra X Home Assistant Component
Home Assistant HACS integration for controlling and monitoring an Anycubic Kobra X through KX-Bridge.
Architecture:
- printer <-> KX-Bridge-Release <-> this integration <-> Home Assistant
Features
- Auto-discovered status from KX-Bridge
/api/state - Core printer sensors (state, temperatures, progress, file, layer/time data)
- Light control
- Print speed mode selection
- Printer action buttons (pause, resume, cancel)
- Camera stream entity using the printer RTSP URL from KX-Bridge, with bridge MJPEG proxy fallback
- Camera snapshot fallback using
/api/camera/snapshot
Prerequisites
- KX-Bridge must be running and reachable from Home Assistant.
- Verify KX-Bridge is accessible at
http://<bridge-host>:7125.
Installation (HACS)
- Add this repository as a custom repository in HACS with category
Integration. - Install the integration.
- Restart Home Assistant.
- Add integration
Kobra Xfrom Settings -> Devices & Services.
Configuration
The config flow asks for:
- Host: KX-Bridge host and port (example:
192.168.1.50:7125) - Printer name: Friendly display name
Notes
- This integration talks to KX-Bridge HTTP endpoints and does not connect directly to the printer.
- Keep KX-Bridge and Home Assistant on the same trusted network.
- Native WebRTC is not implemented in this integration. If you want WebRTC in Home Assistant, point
go2rtcor a WebRTC-capable HA add-on at the camera entity's RTSP source.
Description
v0.2.0
Latest
Languages
Python
100%