Reverse Engineering my cat's litter box
A developer reverse-engineered their smart cat litter box by analyzing the official mobile app's network traffic with Wireshark and decompiling the Android APK to understand its authentication and communication protocols. The goal was to integrate the device into Home Assistant to automate cleaning cycles when the cat is away, avoiding the cat's interference with the running litter box. The process involved reproducing the app's signed HTTP requests and MQTT binary messages, with the key challenge being decoding the X-UBT-Sign header algorithm used for authentication.