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 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 a weaker, or no signal, as it is directly proportional to the sky light, which can be useful for controlling light levels with redstone lamps and pistons to cover and uncover the sensor. Using a NOT gate (also known as an inverted Redstone signal) will reverse the sensor's signal, creating a "night sensor." This can, for example, allow redstone lamps to come on at night and off during daytime.

Trivia

 * Daylight Sensors only work by sunlight and cannot be activated by other light sources such as luminescent blocks or torches.
 * Covering the Daylight Sensor and blocking out all light will cause the sensor to invert.
 * Before snapshot 13w01a it is possible to make a daylight detector using an NPC villager, a small house and some pressure plates

Gallery
 File:daylightsensorscomparison.png|A comparison of Sensor outputs, depending on conditions.

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