On Foscam cameras with nightvision, IR LEDs are turned on automatically when necessary. These cameras have a light sensor that measures the amount of light. If there is too little light, the IR LEDs are turned on.
The intensity of the IR LEDs is dependent on the amount of light on the light sensor.
Therefore, other sources of light in the vicinity of the camera can influence the intensity of the IR LEDs.