Firmware and hardwareWorksSource available
Target: Dogness Smart Cam Treater T03 (model T1020)

Reversed Dogness T03 Smart Cam Treater protocol for Home Assistant integration

by matthewratcliffe RepositorySave · follow · discuss1 views
Platform
Home Assistant OS / Supervised
Outcome
Works

Evidence at a glance

Loading source evidence…

What was done

This project provides a Home Assistant add-on for the Dogness T03 smart feeder. It uses a custom go2rtc overlay to reverse-engineer the TUTK/Kalay P2P protocol, enabling local video streaming and treat dispensing without cloud dependencies.

The ha-dogness-t03 project implements a Home Assistant add-on to control the Dogness Smart Cam Treater T03. The author reverse-engineered the device's proprietary TUTK/Kalay P2P protocol to enable local-only camera streaming and treat dispensing. The add-on functions by performing a single cloud login at startup to retrieve device credentials, after which it communicates directly with the feeder over the local area network. Because the feeder responds on random high ports, the add-on requires host networking to bypass bridged NAT limitations. The author reports that Home Assistant OS firewalls prevent the Core from reaching the stream, necessitating a custom, self-contained Lovelace card that connects directly from the browser to the add-on. This card supports MSE, HLS, and WebRTC, with verified playback at 1280x720 resolution in real-time. The implementation includes an optional ffmpeg transcode to ensure a constant-rate 15 fps stream. Technical details regarding the protocol, obfuscation, and security analysis are documented in the project's research report. Development was co-authored with Claude Opus 4.8.

Reproduce it

setup

Install the repository in Home Assistant, configure the add-on with Dogness credentials, and add the provided Lovelace card to a dashboard.

Community

Ask a question, share what worked, or follow the next milestone.

Your library