There are a LOT of ways to automate your home. In addition to all the products that have hit the market recently, there are some well-established systems that have been around for a decade or more. If you’re an expert, this post will make you cringe, but with all those caveats, here is one way to automate lights in your house.
I’ve installed some Wemo switches around the house. The next thing I wanted was to have the lights turn on and off on a schedule but be sufficiently randomized that you couldn’t sit outside with a watch and predict when the lights were going to turn on. Since we all watched Home Alone, we all know that’s how burglars operate.
WeMo publishes and SDK for Android and iPhone but none for just a standard Windows application. I really wanted to be able to control this with code that runs on my server. So instead of hacking the network traffic and trying to send the signals that the switches expected, I did it simpler (and probably uglier.)
WeMo switches can interact with IFTTT. The “If This Then That” site does just what it says: if something happens then do something else. They call each one of those pairs a “recipe.” I connected my light switches to my IFTTT account and then set up some recipes so that if I send an email to IFTTT with specific hashtags I can turn the various light switches on and off. Then I wrote an app that sends those emails at random times within a fixed schedule. It has been running for a while and it works great!
It’s nice to walk into the house when it’s dark and already have lights on at the appropriate times, and since we have LED bulbs all over the place, it costs almost nothing to have these extra lights on.




One of the last (haha) tools that I had on my radar was a thickness planer. If you have no idea what that is, it’s basically a machine that will make two faces of the board parallel with each other and will also thin a board down. In the past, Tim was nice enough to loan me his for a month or two while I worked on Tyla’s jewelry box, but I didn’t want to keep borrowing his every time I needed one.




Broken Window Theory
I hate cleaning, but even more than that, I hate looking at a mess and knowing that I have to “waste” my time and clean it. So my basic approach is to ABC: Always Be Cleaning. (Every self-help article like this needs a cheesy acronym, right?) For example, when I finish making dinner, I don’t leave the dishes in the sink to greet me the following morning, I take 5 minutes and clean them up. Doing little bits of cleaning here and there feels a lot less painful than ruining two hours of my Saturday because the kitchen turned into a nightmare.
Coupled with that, I also force myself to clean up the area before starting any project. Even if I clean up at the end of a task, the area slowly gets messy again. This is especially true out in the garage. So before I start that next big project, I pick up all my tools, clean off my bench, and organize the piles of wood. Then I’m excited to work in that nice clean area instead of tripping over stuff on the floor and never having room on the bench.
My approach can be neatly summed up by the Broken Window Theory. If you read that linked Wikipedia article, you’ll see the theory summed up like this:
It’s pretty easy to tell when an area is clean. I feel an emotional response to setting that first piece of junk in the nice clean area. But then I get used to seeing it there and it doesn’t bother me so much. In fact, it gets easier and easier to just throw more junk in that area because hey, I have to clean it out anyway, right? Pretty soon it’s a huge mess and now I have to do one of those big huge cleanouts and my quality of life is negatively impacted because I’m annoyed by the thought of that big cleaning event coming up.
It’s surprising how often this theory applies. For example, we talk about it regularly at work when someone proposes a less than beautiful piece of code. Just take the time to fix it now because your hack will open the floodgates for more hacks until we’re left with a nightmare that we don’t have time to re-architect. If you want to get a little geekier about it, you might propose that messes grow exponentially.
If you’ve already got a system that works for you, then stick with it! But if you need a little more encouragement, remember the broken window theory.