Skip to Content
Smart Home Hacks
book

Smart Home Hacks

by Gordon Meyer
October 2004
Intermediate to advanced
400 pages
10h 31m
English
O'Reilly Media, Inc.
Content preview from Smart Home Hacks

Chapter 6. Security

Hacks 69–82

Home security is the primary reason most people get started with home automation, and for good cause. A smart home can be much better than a simple alarm system when it comes to preventing burglaries. The hacks in this chapter will help you make your home look occupied while you’re away [Hack #72], scare away prowlers with an electronic dog [Hack #79], and keep watch on your house, or pets, using network cameras [Hack #82].

Check for an Empty Home

If your home is unoccupied, your home automation system wants to know about it. But when you’re in a hurry, it’s easy to forget to set the alarm or otherwise tell the house it’s on its own. This script uses your motion detectors to decide for itself.

When you leave home for the day, sometimes it’s hard to remember to push a button that tells the house you’re leaving [Hack #24]. Besides, your home is supposed to be smart, so why can’t it figure out you’ve left? It can, with a little clever scripting and knowledge about what an occupied home should look like, from your home automation system’s perspective.

The key to detecting that the house is unoccupied is in identifying the normal activity patterns the motion detectors you have installed in your home will see. To help you do this, review a few days’ worth of home automation event logs from typical days when you were home, compared to days when you were absent. Here are some things to look for:

  • Are there periods of time that you’re home, but none of your motion ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

My Smart Home for Seniors

My Smart Home for Seniors

Michael R. Miller
Smart Cities and Homes

Smart Cities and Homes

Petros Nicopolitidis

Publisher Resources

ISBN: 0596007221Errata Page