Modified sketch that uses a simple PIR sensor and a 5v relay to switch on and off a connected light source (an old desk lamp, in my case). For flavor, I've injected a single Adafruit Neopixel to cycle the color-wheel in place of a simple static or flashing red led. This serves as indication that the program is still running, even though the relay hasn't been triggered.