A luminaire comprises at least one light emitting diode (LED) as a light source. Such LED comprises a limited light emitting angle for the emitted light radiation. Outside of the light emitting angle, an infrared sensor is assigned to the light source for detecting its temperature.