Reverse Engineering my cat's litter box
Trending on Hacker News: Reverse Engineering my cat's litter box (10 points / 6 comments, via master--ytulsiani.netlify.app)
In one line
Decompiling an Android app, recreating signed HTTP requests, and packing four bytes into several layers of binary messages.
Opening excerpt
Maisie likes to touch the litter box while it is running. I would prefer that she find something else to do during that time.
My idea was to bring the litter box into Home Assistant, add some buttons, and eventually use presence sensors to start a cleaning cycle when she is in another room and distracted. There are probably many more automations I will come up with once I have that working. First, I needed a way to talk to the box.
The phone app already knew how to do everything I needed. I started by watching its traffic with Wireshark and inspecting HTTP requests with HTTP Toolkit, then decompiled the Android app to understand the parts I could not reproduce from the traffic alone.
This turned into two related projects. I needed to reproduce the signed HTTP requests used to access account and device data, then rebuild the binary messages used to operate the box over MQTT.
(Excerpted from the original; full article via the source link below.)
This story hit the Hacker News front page today (10 points / 6 comments, via master—ytulsiani.netlify.app). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.
Source: Hacker News