The socket is used for automatic lighting control. The device enables switching on after motion detection and switching off after a preset time the light source installed in the socket. Motion detection takes place with the appropriate light intensity. The socket is equipped with potentiometers to adjust the lighting time of the light source after motion detection and sensitivity of the light intensity at which the motion is detected.