The PIR (infrared) motion sensor is an excellent way to automatically turn on the lighting in the room.
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.

Motion detector CR-5 MINI max. 800W, AC220-240V, 50/60Hz, angle 360°, range 6m ± 2,5-4m, IP20, working with LED, recessed, white housing
5,16 €