Reverse-engineering a smart litter box's protocol to hook it into Home Assistant
What happened
On November 21, Hacker News featured a developer reverse-engineering his smart litter box's communication protocol. To connect the device to Home Assistant and automate cleaning, he captured traffic with Wireshark, inspected it with HTTP Toolkit, and decompiled the Android APK with JADX. He reproduced the MD5-based X-UBT-Sign request signature, built from a timestamp, appKey, nonce and deviceId, and rebuilt the binary MQTT messages that control the litter box. The post covers reproducing the signing algorithm and control messages, with Home Assistant integration as the goal.
Written by AI from the coverage · updated 2 days ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pageReverse Engineering my cat's litter box
一位开发者通过 Wireshark 抓包、HTTP Toolkit 检查和 JADX 反编译 Android APK,逆向了自己智能猫砂盆的通信协议。他复现了基于 MD5 的 X-UBT-Sign 请求签名算法(时间戳+appKey+nonce+deviceId),并重建了通过 MQTT 操作猫砂盆的二进制消息,目标是接入 Home Assistant 实现自动化清洁。
Heat over time
Heat now 3·Comparable peak 10(Nov 21 05:00)·Comparable change over 24 hours -49%
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.