Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light