Teaching Home Assistant to Talk to My Litter Box
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
The author reverse-engineered the proprietary HTTP and MQTT protocols of a Whisker litter box to integrate it with Home Assistant, driven by a desire to stop their cat Maisie from touching the running machine. Using Wireshark and HTTP Toolkit to capture traffic, then JADX to decompile the Android APK, they discovered the app's authentication flow: a login token placed in the Authorization header, plus a dynamic X-UBT-Sign header generated by an MD5-based interceptor (UrcsSignInterceptor) that combines a timestamp, app key, a random 10-character UUID substring, and device ID. Initial reproduction attempts failed with 401 Unauthorized errors until the signing algorithm was recovered from the obfuscated class com.ubtrobot.infrastructure.a0. The project split into two tracks: recreating the signed HTTP requests for account and device data, and rebuilding the binary MQTT messages used to operate the box. The exposed HTTP endpoints reveal devices on the account, configuration, waste drawer levels, and litter box visit records. Next, the author plans to add buttons and presence sensors so cleaning cycles can start only when the cat is in another room, with more automations expected once the connection works.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
Home Assistant, MQTT, Wireshark, JADX, HTTP Toolkit, Maisie