Day Night Sensor In Light Wiring
Wire a dusk-to-dawn (day-night) sensor to automatically control lights at sunset and sunrise. Includes wiring steps, safety tips, and common sensor types.
electrical wiring single phase
To install a day-night sensor to wire to automatic lighting, you connect the live wire on your mains to the sensor input, the sensor output to the live terminal on your light, and then all neutrals together. Connections on the ground ought to be firmly fixed. Install the sensor in a place where it gets natural light, but not the direct glare of the controlled source of light, to avoid false switching. This installation will mean your light will be on in the evenings when it becomes dark and off in the mornings when there is light, maximizing convenience as well as consumption of power.
Wiring Formula Summary:
- Switch A = 2-way
- Switch B = Intermediate (4-way)
- Switch C = 2-way
- Live wire → Switch A → B → C → Light → Neutral
intermediate switch wiring diagram
The practice is that with three switches, each controlling one light, each switch is operated by one or more of up to three of the switches, usually two 2-way switches and one intermediate switch. It is ideal when you have long corridors or staircases or even large rooms where having several access points to turn the light ON/OFF is required. The simple concept is to run the line and neutral cables through the switches so that it makes a path, which flips the condition of lights based on the combination of the switch settings. Such an arrangement enhances conducive use by respective users and saves energy in shared space.
corridor light with 3 switches
| Switch A | Switch B (Intermediate) | Switch C | Light State |
|---|---|---|---|
| UP | Straight | UP | ON |
| DOWN | Cross | DOWN | OFF |
Frequently Asked Questions - Day Night Sensor In Light Wiring:
What is a day-night sensor?
A sensor (photocell or LDR) that detects ambient light and switches lights on at dusk and off at dawn.
Where do you install the sensor?
Outside or in a location with clear sky exposure, away from direct lamp light to avoid false triggering.
How do I wire a dusk-to-dawn sensor to a light?
Connect mains Live to sensor input, sensor output to fixture Live, and join neutrals; ensure proper earth/grounding.
Do I need a neutral at the sensor?
Some sensors are two-wire (no neutral) but many modern sensors require neutral — check the model spec.
Can I use it with LED lights?
Yes, but choose a sensor and driver compatible with low current/LED inrush characteristics.
Is polarity important when wiring?
Yes — connect Live, Neutral and Earth correctly and follow the sensor’s labeled terminals.
Do sensors need surge protection?
Recommended for outdoor installations to protect against lightning or switching transients.
Can I dim lights with a day-night sensor?
Typical photocells are on/off devices; for dimming you need a sensor + dimmable driver and compatible control circuitry.
How do I prevent false triggers?
Mount sensor away from stray light, reflective surfaces, and position to face the open sky.
Is professional installation required?
If you are not confident working with mains electricity, hire a licensed electrician for safety and code compliance.



