If you liked this article perhaps you'll be interested in a project I've been working on. My wife has a Hedgehog (yeah, like Sonic) and he's pretty shy. He also has a wheel and runs ALL night.
To feel that he interacts a little more I connected a wireless node with a magnetic switch so I could count how many laps he runs every night, and therefore the equivalent distance. Every morning he tweets how much he ran, just like RunKeeper :)
Check out his twitter account here: https://twitter.com/runhedgie
And, of course, the code is hosted on github: https://github.com/jlhonora/iot
I just finished this project yesterday, but I have many more ideas to add. I'd like to correlate running activity with temperature (hedgies are pretty sensitive to cold weather) and ambient light. I'd also like to make a public API so that anyone can analyze his activity patterns.
So, stay tuned and follow!