Working code for alarm system with Pi