RaspberryPI script for playing sounds triggered by magnet door switches