The sensor detects the heat of the human body, and if it is within the detection range of the sensor, the device will work. The sensor can operate in both day and night mode. The device is controlled by two potentiometers located on the side of the housing.