Daylight Detector

A Daylight Sensor is a redstone mechanism which is planned to be added in the Redstone Update. It 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) can 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.

Output
Here is a table of outputs to light levels. Note that moonlight is level 4 light, but only sunlight is measured. The moon comes up as the sun reaches light level 4, but technically the sun's light level continues to drop. Because of this, the output continues below 4 (to 0), even though the light level is 4.

The Daylight Sensor outputs no signal from the time of 13650 until 22300.

Non-replicatable bugs

 * Sometimes (Usually when using an external editor like MCEdit) covering a sensor will make it activate at night as well.
 * When placed under generated water sensor may be activated at night(not at day)

Replicatable bugs

 * None

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 not put out any output.
 * Daylight Sensors are less than a slab tall, which is like redstone repeaters, redstone comparators and trapdoors.
 * A daylight sensor connected to a dispenser via redstone wire will cause the dispenser to fire every time the light level changes.
 * Rain will affect the sensor.

Gallery
 File:daylightsensorscomparison.png|A comparison of sensor outputs, depending on conditions. File:Automatic_Lighting.png|An example of using the daylight sensor to provide lighting at night.

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