Minecraft wiki entry for Daylight_detector, associated text: If you are mining and you want to come up at a time of day, you can connect the daylight sensor and make it either send a redstone pulse down your mine or broadcast a command block message.