Dusk-to-Dawn Light Sensor for Outdoor Lights Malaysia
🏠 Renovation🏢 Office Fit-Out🛍 Shop Fit-Out💦 Waterproofing❄ Aircon⚡ Electrical & Plumbing🔨 Carpentry🧹 Deep CleaningGuidesDesign IdeasToolsAbout🔍 SearchFree Quote
🔌 Electrical

Dusk-to-Dawn Light Sensor
Automatic Outdoor Lights (2026)

Porch, gate pillar, garden and signboard lights that switch themselves on at dusk: where the sensor goes and how it is wired.

📍 We serve KL, Selangor & Putrajaya.

Outdoor light sensor on a terrace house wall beside a porch light switched on at dusk

A dusk-to-dawn light sensor switches an outdoor light on when daylight fades and off again in the morning, so porch, gate and garden lights look after themselves. It is a small sensor wired between the lighting circuit and the lamp, and the two things that decide whether it works are where it is mounted (facing open sky, away from the lamp's own light) and how it is wired (weatherproof, in conduit, on an RCD-protected circuit). Pair it with a motion sensor if you want a dim light all night and full brightness only when someone walks up. ClickBina's outdoor lighting guide puts a motion-activated LED floodlight at RM150 – RM400 installed and a new wiring point at RM120 – RM250 (indicative 2026, Klang Valley).

What a dusk-to-dawn light sensor does

A dusk-to-dawn sensor is a light-sensitive switch. Inside the small dome or button is a component whose resistance changes with the amount of daylight falling on it. When the light level drops below a set point in the evening, the sensor closes its contact and passes power to the lamp; when daylight returns, it opens again. Nobody has to remember to switch the porch light on when they leave for a late shift, and nobody has to remember to switch it off in the morning.

You will see three forms in Malaysian hardware shops: a separate sensor head that is wired into the supply to one or more lights, a twist-lock sensor that plugs into the top of a street-style lantern or floodlight, and lamps with the sensor already built in. A built-in sensor is the simplest; a separate sensor is the more flexible choice because one well-placed sensor can control a whole string of garden or fence lights.

It is not the same as a motion sensor. Our outdoor and security lighting guide explains motion (PIR) sensors, which react to the body heat of a person moving. A light sensor reacts only to daylight, so the light stays on all night whether anyone is there or not.

Light sensor, motion sensor or timer?

All three switch lights automatically, but they answer different questions. A light sensor answers “is it dark?”, a motion sensor answers “is someone there?”, and a timer answers “what time is it?”.

ControlSwitches on whenSuitsWatch for
Dusk-to-dawn light sensorDaylight fadesPorch, gate pillar, garden and fence lights, signboardsMust see open sky; the lamp's own light can fool it
Motion (PIR) sensorA warm body moves in its fieldSecurity floodlights, side passages, car porchCats, swaying plants and passing cars trigger it
Light sensor plus motion sensorIt is dark and someone movesDriveways and gates: dim all night, bright on approachNeeds a fitting or controller made for both
Plug-in or DIN-rail timerThe set clock timeShop signboards, lights that should go off at midnightDrifts with the seasons and after a power cut
Smart switch or app scheduleA schedule or sunset time from the appOwners who already use smart home controlsDepends on the home Wi-Fi staying up

Malaysia's day length changes far less through the year than in temperate countries, which is one reason a simple timer works better here than it would elsewhere. Even so, a heavy afternoon storm can make it dark well before the timer's switch-on time, and a light sensor deals with that on its own.

Which lights suit a light sensor

  • Porch and door lights. The classic use: the entrance is lit when you come home after dark, and the house looks occupied when you are away.
  • Gate pillar and fence lights. A row of pillar lights on one sensor switches together and gives the frontage a steady, lived-in look.
  • Garden and path lights. Low path lights that should simply be on whenever it is dark.
  • Shop and office signboards. Often paired with a timer so the sign switches on at dusk and off at a set hour.
  • Common areas in small strata schemes. Car park and walkway lights where nobody is responsible for switching them.

For the sign side of things, the signboard installation guide notes that the quote should say whether a timer or light-sensor control is included. Where there is no power near the spot at all, a self-contained solar lamp may be simpler; our solar gate and garden light guide explains when solar is enough and when it is not.

Where to mount the sensor

Most complaints about light sensors are really complaints about where the sensor was put. The sensor needs to see the same sky the house sees, and it must not see the light it controls.

  1. Face it towards open sky, ideally north or south so the rising or setting sun does not shine straight into it.
  2. Keep it out of the beam of the lamp it controls. If the lamp lights the sensor, the sensor thinks it is daytime, switches the lamp off, sees darkness, switches it on again, and the light flickers on and off all night.
  3. Keep it away from street lights, a neighbour's floodlight and car headlights that sweep across the wall.
  4. Do not tuck it deep under the eaves or a porch roof, where it gets dark much earlier than outside and the light comes on in the afternoon.
  5. Mount it where it can be reached to wipe clean; dust and cobwebs over the window make it think dusk has come early.

Many sensor heads have a small adjustment for the switching level. Set it at dusk, not at noon, and give it a few evenings before deciding it is wrong: a sensor has a built-in delay so that a passing cloud or a car's headlights do not switch it.

Combining a light sensor with a motion sensor

A light sensor on its own keeps a light burning all night. A motion sensor on its own leaves the frontage dark until someone walks up. Many owners want something in between: a soft light at the gate from dusk, and full brightness when someone approaches.

There are two common ways to get it. The first is a floodlight with both sensors built in, which only responds to movement after dark. The second is a two-level fitting or controller that runs the lamp dimmed from dusk and lifts it to full output when the motion sensor triggers. Both need fittings made for the job; wiring a separate light sensor and motion sensor in series to an ordinary lamp gives the on-or-off behaviour of a motion light, not the dim-then-bright effect.

Because modern LED lamps use little power, running a porch or pillar light all night from a light sensor is usually a small part of the electricity bill; a high-wattage halogen floodlight on all night is not. If a bill has jumped without an obvious cause, our high electricity bill guide walks through the usual suspects.

How the sensor is wired into the lighting circuit

A light sensor is a switch, so it goes in the supply to the lamp: the circuit feeds the sensor, and the sensor's switched output feeds the lamp. A separate sensor normally needs the live, the neutral (for its own electronics) and the switched wire to the lamp, with the earth carried through to metal fittings. Where an indoor wall switch already controls the light, it is usually kept upstream as an off switch, so the light can be turned off for good while travelling or for maintenance.

  • Weatherproof everything. Suruhanjaya Tenaga's domestic wiring guideline requires lamps outside a house to be weatherproof and waterproof. Joints belong in a sealed outdoor box, not wrapped in tape behind the fitting.
  • Pick the IP rating by exposure. Our outdoor lighting guide suggests at least IP44 for sheltered porches and balconies and IP65 for fittings exposed to rain; the same logic applies to the sensor head and its box.
  • RCD protection. The guideline's RCD table puts fence and garden lights in the class protected by an RCD of no more than 10 mA.
  • Cable in conduit. Outdoor cable should run in conduit, protected from sun, rodents and garden tools.
  • Check the load. A sensor has a maximum load on its label; a long string of fittings, or old halogen floods, can exceed it.

New outdoor wiring is work for a registered wireman, not a weekend job. If the sensor will feed fence or garden lights with no existing point, the cable route outdoors is the same question covered in our outdoor power socket guide.

Timers and smart switches as an alternative

Where a sensor cannot be placed well, a timer or a smart switch is often the better answer. A timer suits a signboard or garden lights that should go off at a set hour. A smart switch can follow a sunset schedule from its app, which behaves like a light sensor without needing a view of the sky.

Smart switches have their own wiring quirks, especially in older houses where the switch box has no neutral; our smart switch retrofit guide explains the options. The light switch types guide covers where an ordinary switch should stay in the circuit.

Common problems and what they mean

SymptomLikely causeWhat usually fixes it
Light flickers on and off all nightThe lamp's own light reaches the sensorMove the sensor or turn it away from the beam
Light stays on in the daytimeSensor shaded, dirty, failed, or the indoor switch bypassedClean or move it; replace a failed sensor
Light never comes onStreet light or neighbour's light on the sensor, tripped circuit, or failed lampShield or move the sensor; check the circuit and lamp
Comes on far too early in the afternoonSensor mounted deep under a roof, or set too sensitiveMove it to open sky or adjust the level
RCD trips when it rainsWater inside the sensor, lamp or joint boxSwitch off and have the outdoor joints resealed or replaced
Several lights on one sensor behave oddlySensor overloaded or a loose shared connectionCheck the load rating and the joints

A light that glows faintly when it should be off is a separate issue, common with LED lamps on some electronic switches; our LED glowing when off guide explains why.

Simple checks before calling anyone

  1. At dusk, cover the sensor fully with your hand or a cup for a minute. If the light comes on, the sensor works and the problem is placement or stray light.
  2. Wipe the sensor window; dust and spider webs are common outdoors.
  3. Look for a newly installed street light or a neighbour's floodlight shining on it.
  4. Check that the indoor switch feeding the circuit is on and that nothing has tripped at the distribution board.
  5. If the RCD trips in rain, stop there: water is getting into an outdoor fitting, and the fix is not to keep resetting it.

What it costs

A sensor itself is a small part of the job; the price depends on whether a light point already exists, how far the cable has to run, and how many fittings are being switched. These figures are from ClickBina's outdoor lighting guide (indicative 2026, Klang Valley).

ItemIndicative priceSource guide
Motion-activated LED floodlight for gate and driveway, installedRM150 – RM400Outdoor lighting guide
Step or wall light, low-voltage LEDRM80 – RM150 per fittingOutdoor lighting guide
New wiring point / lighting circuitRM120 – RM250 per pointOutdoor lighting guide

Want this priced for your home?

WhatsApp us your job details for a quote — we reply within the hour. A renovation site visit is free, and a repair inspection is RM180, deducted from the bill if you go ahead. We serve KL, Selangor & Putrajaya.

💬 WhatsApp for a quote
Reply within the hourFlat price, no hidden chargesExperienced KL & Selangor contractor

Adding a sensor to an existing porch light is usually the smallest version of the job. Running new cable to fence or garden lights, or adding a separate circuit, is priced after the route has been checked.

How ClickBina can help

WhatsApp us your job details for a quote: your area, house type, which lights you want switched automatically, and whether a light point already exists there. ClickBina is an experienced KL & Selangor contractor; we reply within the hour, and the price we agree is a flat price with no hidden charges.

Sources & methodology

  • Suruhanjaya Tenaga — Garis Panduan Pendawaian Elektrik Pepasangan Domestik — para 9.1(f)(iii): outdoor lamps weatherproof and waterproof; Jadual 7.2: RCD sensitivity for fence and garden lights.
  • ClickBina outdoor and security lighting guide — motion sensors, IP44 and IP65 working minimums, outdoor lighting prices.
  • ClickBina outdoor power socket, smart switch and light switch guides — outdoor cable routes and switch wiring.

How we estimated prices: every RM figure on this page is quoted unchanged from the ClickBina guide named above; they are indicative Klang Valley ranges for 2026.

Ready to get it sorted?

WhatsApp us your job details for a quote — we reply within the hour. A renovation site visit is free, and a repair inspection is RM180, deducted from the bill if you go ahead. We serve KL, Selangor & Putrajaya.

💬 WhatsApp for a quote
Reply within the hourFlat price, no hidden chargesExperienced KL & Selangor contractor

Common Questions

How does a dusk-to-dawn light sensor work?
It contains a light-sensitive component that switches the lamp on when daylight falls below a set level and off when daylight returns, with a short delay so clouds and headlights do not trigger it.
Why does my outdoor light keep flickering on and off at night?
The lamp's own light is reaching the sensor. The sensor sees light, switches off, sees dark, switches on again. Move the sensor or turn it away from the beam.
Can one light sensor control several lights?
Yes, if the lights are on the same supply and their total load is within the rating on the sensor's label. A separate sensor head is the usual way to switch a row of pillar or garden lights together.
Is a light sensor better than a timer?
A light sensor follows actual daylight, including dark stormy afternoons; a timer follows the clock. Signboards often use both: on at dusk, off at a set hour.
Can I combine a light sensor with a motion sensor?
Yes, with a fitting or controller made for it: the light runs dimmed from dusk and goes to full brightness when someone approaches.
What RCD protection do garden and fence lights need?
Suruhanjaya Tenaga's domestic wiring guideline lists fence and garden lights among installations protected by an RCD of no more than 10 mA.
How much does it cost to add automatic outdoor lighting?
ClickBina's outdoor lighting guide lists a new wiring point at RM120–RM250 and a motion LED floodlight at RM150–RM400 installed (indicative 2026, Klang Valley).

Free Quote

Tell us what you need — we reply within the hour.

WhatsApp ClickBina← All Guides
💬 Get Your Free Quote