Daylight Detector

A Daylight Sensor is a special redstone mechanism which emits a redstone signal if it is bright enough (sunlight level) to do so, the strength of the redstone signal varies by the time of day. For example, the Daylight Sensor will emit redstone for 15 blocks at midday but roughly 5 blocks at evening.

If the Daylight Sensor is covered then it will emit no signal, which can be useful for controlling light levels with redstone lamps and pistons to cover and uncover the Daylight Detector. You can use a NOT gate (also known as an inverted redstone signal) to make lights come on at night and off during daytime.

History
Tageslichtdetektor Détecteur de lumière du jour Датчик света 阳光探测器