Hacking with Countly, Raspberry Pi and a servo motor
Countly is a perfect tool for hacking. This time Paul Brown, a veteran Countly hacker, combined his Raspberry Pi hardware with Countly to build a cool toy - an in-app purchase flag.
Paul used a small Ubuntu server, Python as the programming language and a simple servo motor from Sparkfun and a lot of coffee to make it happen. Now, every customer of his Easy Grade Free app who prompted to buy an asset from in-app purchase, but didn’t, makes the orange flag raise.
Paul also provided the source code to pull events from Countly server in Python language. Head over to Github to grab your code. You can also watch the video of a real-world servo running as it catches an in-app purchase attempt:
This nice example shows how Countly API can be used to make fun projects. It’s really a brilliant hack, and gives us lots of clues in Countly HQ to make ourselves (we might even copy his idea, shamelessly!) :-)