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. The daylight detector emits a redstone current to any/all blocks placed directly (within 1 block) above/below/next to it.

If the Daylight Sensor has a block above it, 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 also use a gate (also known as an inverted Redstone signal) to make lights come on at night and off during daytime.

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