When a person goes in the shared house, he needs to enter his passcode. If it is correct, a certain light pattern will light up (each person has different light pattern), and his status will be IN. If the passcode belongs no one, the alarm is activated (speaker, blinking red light). A person can enter his passcode when going out to change his status to OUT.  When the last person leaves the shared house, the motion sensor alarm is activated.