Security backup script: close the door if it is unlocked with inactive SpaceTime for more than 30 seconds