Once Per Day Signal Switch

This Once Per Day Signal Switch uses daylight detectors and a redstone comparator to output a signal for only a brief, customizable window each Minecraft day. Because daylight detectors change their signal strength as the sun rises and sets, comparing two different wire lengths lets you turn a device on at a specific time and automatically shut it off shortly after. It is ideal for automatic crop farms that only need to harvest once daily while leaving plants room to grow the rest of the time.

ClocksBeginnerJava & Bedrock
Once Per Day Signal Switch video tutorial

Video: "Once Per Day" Signal Switch by Hive Mind Redstone

How to build it

  1. Place the Comparator

    Place a redstone comparator on the ground pointing toward the device or farm you want to power. Keep it in its default comparison mode (front torch off).

  2. Connect the Rear Daylight Detector

    Place one redstone dust directly behind the rear input of the comparator. Place your first daylight detector right behind that piece of dust.

  3. Add the Side Repeater

    Place a redstone repeater pointing directly into the side of the comparator.

  4. Connect the Side Daylight Detector

    Run a line of two redstone dust leading into the back of the repeater, then place your second daylight detector at the start of that two-dust line.

  5. Connect Your Output

    Hook the front output of the comparator up to your mechanism (or test it using a sticky piston pushing a block of redstone next to a redstone lamp).

How it works

This circuit relies on how Daylight Detectors output a variable signal strength (from 0 to 15) depending on the position of the sun and how a Redstone Comparator compares its rear and side inputs:

  • Sunrise (Signal Strength 1): When the sun first rises, both daylight detectors output a signal strength of 1. The rear detector is only 1 block of redstone dust away from the comparator, so the comparator receives power and turns ON. The side detector is 2 dust blocks away from the repeater, so a strength of 1 cannot reach the repeater yet.
  • Later in the Morning (Signal Strength 2+): As the sun rises higher, both detectors increase to a signal strength of 2 or more. Now the signal is strong enough to travel across both blocks of dust on the side path and power the Redstone Repeater.
  • Signal Cutoff: Once powered, the repeater boosts the side input of the comparator to a full strength of 15. Because the side input (15) is now greater than the rear input, the comparator immediately turns OFF for the rest of the day until the cycle repeats.

Tips & variations

  • Single Detector Variant: You can build this with just one daylight detector by branching a 1-dust path to the back of the comparator and a 2-dust path to the side repeater. However, using two separate detectors prevents accidental redstone dust cross-connections or feedback loops next to the repeater.
  • Adjusting the Time of Day: To trigger the switch later in the day, extend both redstone dust lines further away from the comparator while keeping a 1-block difference between them (for example, 5 dust on the rear line and 6 dust on the side repeater line, up to a maximum of 14 and 15).
  • Adjusting Signal Duration: To make the output stay ON for a longer part of the day, increase the length difference between the rear dust line and the side dust line. If the side line is several blocks longer than the rear line, the sun has to rise much higher before the cutoff repeater activates.
  • Nighttime Operation: Interact with both daylight detectors to toggle them into Inverted Daylight Detectors. The switch will now trigger at night based on moonlight instead of sunlight.

Frequently asked questions

Why does the tutorial use two daylight detectors instead of one?
While one daylight detector can feed both paths, placing redstone dust directly beside the repeater in a compact single-detector layout can sometimes create unwanted connections or feedback loops. Using two detectors keeps the two signal lines completely isolated.
How do I make the switch trigger at noon instead of sunrise?
Move both daylight detectors further back so they require maximum sunlight to reach the comparator. For example, use 14 redstone dust on the rear comparator line and 15 redstone dust on the side repeater line.
Why does my signal happen twice a day?
Because sunlight increases in the morning and decreases in the evening, the daylight detector passes through the target signal strength once as the sun rises and again as the sun sets. Using the 14- and 15-dust setup triggers it only once right around peak noon.

Components used

More daylight / day-night timer