Creation of an automatic room light controller employing a visitor counter for efficient and adaptive illumination based on occupancy.