A fierce man who remodeled a cat's automatic feeding machine for humans appeared



A fierce man appeared, ``Since we could not find a machine that automatically comes out candy, we modified an automatic feeding machine for cats so that sweets that humans can eat come out.''

Reverse Engineering a Cat Feeder to Boost Productivity

https://www.sensibledefaults.io/blog/reverse-engineering-cat-feeder/index

It was John Party who modified an automatic feeding machine for cats for human sweets. Mr. Party remodeled the following automatic feeding machine made by PETKIT.

Amazon | PETKIT Automatic Feeder Suitable for Various Types of Foods Timer Type Smartphone Management Scheduled Quantitative Manual Feeding Possible 2WAY Power Supply IOS Android Compatible Japanese App 3L Cat For Medium and Small Dogs (White) | Petkit | Automatic Feeder Mail Order



As for the reason for choosing this, Mr. Party says, 'It has a silicon part to limit the amount of feeding, it is smart, it is gentle on food and it is safe enough. It is perfect for dispensing snacks.' It just looked cute,' she wrote.



The size of cat food that can be handled by this PETKIT automatic feeding machine is only less than 12 mm. In addition, since the lid contains a desiccant, it is possible to keep the food fresh even after the food has been placed in the automatic feeding machine.



And the following is the screen of the

PETKIT automatic feeding machine application . Mr. Party uses the Android version of the app, and although it was necessary to select the type of pet that uses the automatic feeding machine, since humans could not set it, he is proceeding with setting himself as 'Shiba Inu'.



Then, using a tool called ' Packet Capture ' for debugging Android applications, detect API requests when executing commands to manually feed. As a result of analyzing multiple requests, it was found that 'amount' (amount), 'time' (time), and 'deviceId' (device ID) in the 'URLENCODED' section were included in the URL.



Next, based on a fork of the PETKIT app, I created a code to manually operate the automatic feeding machine. The code created by Mr. Party is written in Python and published on GitHub. To actually use it, you need to set a user name and password .

GitHub - morganpartee/pyPetKit: PetKit python integration library
https://github.com/morganpartee/pyPetKit



Then assign code execution to the Elgato Stream Deck Mini 's buttons. This completes the automatic candy dispenser that dispenses a few Himalayan Salted Dark Chocolate Almonds when you press the Elgato Stream Deck Mini button.

via GIPHY



The actual operation can be confirmed from the following movie.


in Hardware,   Video, Posted by logu_ii