By Nate_Larson
Automate your smart home devices with occupancy detection using a PIR sensor, an ESP8266 board, and a Raspberry Pi.