Chapter 13

Up one level
The source code for Chapter 13, "Build a Security System".
Chapter 2 securityMonitor.pl
This script, described in Chapter 2 of the book, turns a light on and off according to a schedule. It will also keep track of when you manually turn the light on or off so that it will not override your manual settings. For a detailed description of the variables and how to edit the script, refer to Chapter 2 in Home Hacking Projects for Geeks.