Basic shell script example of how to do presence detection and turn devices on and off when someone comes home. Designed for use with openwrt / raspberry pi