I found this great hack on Lifehacker.
Home security and automation are rarely mentioned in the same sentence as the word cheap, but it’s totally possible if you’re willing to do a few things yourself. We checked out a $200 DIY kit called Ninja Blocks, and were able to get a home automation and security system up and running in about 10 minutes.