Operation Cat Food Monitor

Posted by on Aug 9, 2010 | 3 Comments

There should be an image here!I love my pets. Like most geeks who are pet owners, they are a HUGE part of my daily life. Unfortunately, pets will do what pets will do. Despite my two dogs being reasonably well mannered, the smallest of the two has been set up as a prime suspect for eating the cat food.

What does this have to do with tech? Actually, a lot, considering how I am going to deal with the situation. Much like troubleshooting an IT issue, I will be using technologist tools to overcome the fact that I cannot simply move the cat food dish and hope the problem takes care of itself. We wouldn’t do this after a network breach! Just change the settings around and hope for the best. No way! Nope, in addition to adding some security to the situation, it also pays to create a honey pot or in this case, a motion activated webcam to catch my dog in the act.

As one might suspect, my little French Bulldog couldn’t care less about being caught in the act of eating my cat’s food or my American Bulldog’s grub, either. But catching her and seeing firsthand how she is getting in to the room with the food will help me design a better way to block dog access.

Now I have looked at a number of programs for Windows, OS X, and Linux. As Linux is the OS on most of my computers, I ended up staying here. First I did some experimenting with ZoneMinder — it’s extremely powerful, and nearly pro-grade in its abilities and options. And yes, I did get it working with three of my webcams and utilized zone-based motion detection with alerts sent via email. But in the end, it was just way overkill and took too much to make sure the sensitivity was how I wanted it. This is best suited for someone looking at home security, anyway.

This then brought me to a simple command line based program that then works off of a HTTP server called Motion. Despite the fact that there is no GUI and everything must be set up via simple edits to existing config files, it looks like a smarter match. Anyone who has ever played games on Windows is familiar with cfg files that look a lot like this.  Most of this is all ready to go. Other aspects are easily adjusted after you understand that all you are doing is using this to edit a conf file. It’s actually easy for any computer power user who is willing to read a bit.

And there we have it. I will be using Motion, an old nettop headless computer running Ubuntu, and one webcam to catch my dog in the act. Once set up, the nettop will either email or SMS me an alert. From there, I can examine the visual evidence and make the decision whether or not my little dog will have her cookie privileges removed for a day or so.

[Photo above by matthartley / CC BY-ND 2.0]

[awsbullet:Cesar Millan]

  • http://ronknights.com/ ronknights

    That seems like a lot of unnecessary work.

    When I was married, we had 2 cats and 2 dogs.

    The larger cat often stole the smaller cat’s food.

    The dog often ate the cats’ food.

    Usually the animals carried out their thefts right in the open while we watched.

    The cats insisted on eating twice a day. They howled until you fed them. They wasted no time eating the food once it was ready.

    I put the smaller cat’s food on top of a small table, and lifted her up on a regular basis.

    The big cat’s food was on the floor.. He couldn’t eat both meals at the same time.

    The dog usually got whatever the cats left behind. It didn’t matter because they were already done.

  • http://www.matthartley.com Matt Hartley

    ronknights: It pains me to point out that you would be right, totally overkill on my part. But it’s fun to unleash the inner geek and see what new tech discoveries I uncover along the way. :)

  • Randy Allen

    She looks guilty to me! I understand your wanting to find a high tech way to solve this problem, but anyone knows the first line of defense is restricted physical access to the hardware. When we had cats in the house, we put their food on top of the clothes dryer. It was conveniently located off the kitchen. I also put an air conditioner vent through the wall straight into a large rubbermaid container in my garage for their litter box. No smell in the house, the dogs couldn’t get gritty kitty snacks.

    That being said, have you looked at Vitamin D? http://vitamindinc.com/ I have no experience with this product, but it looked pretty good and runs on Windows or OS X and the single camera version is FREE. Plus, you can have it play a wave file when it “sees” the perp. “GET OUT OF THAT CAT FOOD!” might startle your little food thief and provide some negative stimulus to stop her.