Project for detect when door is open, auto bright the light when environment is under dark.