I added a project to github for a “scare-a-tron”, which is what I call a simple device which basically uses typical garage door sensors to detect someone walking up to a porch, then plays an mp3 file. In my case, it plays a cougar roar sound at a loud volume.
The project can be found at https://github.com/kalee/garage_sensor_rpi
Happy Halloween!