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.

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).
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.
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?”.
| Control | Switches on when | Suits | Watch for |
|---|---|---|---|
| Dusk-to-dawn light sensor | Daylight fades | Porch, gate pillar, garden and fence lights, signboards | Must see open sky; the lamp's own light can fool it |
| Motion (PIR) sensor | A warm body moves in its field | Security floodlights, side passages, car porch | Cats, swaying plants and passing cars trigger it |
| Light sensor plus motion sensor | It is dark and someone moves | Driveways and gates: dim all night, bright on approach | Needs a fitting or controller made for both |
| Plug-in or DIN-rail timer | The set clock time | Shop signboards, lights that should go off at midnight | Drifts with the seasons and after a power cut |
| Smart switch or app schedule | A schedule or sunset time from the app | Owners who already use smart home controls | Depends 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.
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.
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.
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.
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.
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.
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.
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.
| Symptom | Likely cause | What usually fixes it |
|---|---|---|
| Light flickers on and off all night | The lamp's own light reaches the sensor | Move the sensor or turn it away from the beam |
| Light stays on in the daytime | Sensor shaded, dirty, failed, or the indoor switch bypassed | Clean or move it; replace a failed sensor |
| Light never comes on | Street light or neighbour's light on the sensor, tripped circuit, or failed lamp | Shield or move the sensor; check the circuit and lamp |
| Comes on far too early in the afternoon | Sensor mounted deep under a roof, or set too sensitive | Move it to open sky or adjust the level |
| RCD trips when it rains | Water inside the sensor, lamp or joint box | Switch off and have the outdoor joints resealed or replaced |
| Several lights on one sensor behave oddly | Sensor overloaded or a loose shared connection | Check 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.
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).
| Item | Indicative price | Source guide |
|---|---|---|
| Motion-activated LED floodlight for gate and driveway, installed | RM150 – RM400 | Outdoor lighting guide |
| Step or wall light, low-voltage LED | RM80 – RM150 per fitting | Outdoor lighting guide |
| New wiring point / lighting circuit | RM120 – RM250 per point | Outdoor lighting guide |
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 quoteAdding 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.
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.
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.
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 quoteTell us what you need — we reply within the hour.