The "Ghost Light" on the Stairs: Why Your 3-Way Sensor Install Failed (And How to Fix It)
שתף
You walk into a client’s hallway, and the vibe is less "smart home" and more "cheap disco." The LED recessed lights are strobing every forty-five seconds. Or worse, they’re glowing faintly like a dying ember even when the switch is supposedly off.
Usually, the homeowner is standing there with a screwdriver in one hand and a crumpled instruction manual in the other. They just wanted the lights to turn on when they carried the laundry basket down the stairs. They bought a generic motion sensor from a big box store, matched black wire to black wire, and assumed it would work.
It rarely works that way.
While plenty of cheap sensors are garbage, the hardware is rarely the root cause. The real issue is a misunderstanding of the circuit mechanics. In a standard mechanical setup (common in almost every house built between 1950 and 2010), the switches are dumb gates. They physically interrupt the copper path. They don't need power to exist; they just sit there waiting to be flipped.
A motion sensor—particularly a Rayzeek or any decent occupancy switch—is a computer. It has a relay, an infrared lens, and logic boards. It needs a constant meal of electricity to stay awake and watch for you. When you drop a computer into a circuit designed for a dumb toggle, you often starve it of power. Or worse, you force it to pull power through the light bulb, which is exactly why those cheap LEDs start flickering.
The Anatomy of the "Line Side" Hunt
Before you even look at a wiring diagram, you have to find the power. In a 3-way setup where two switches control one light, the power from the breaker panel enters one switch box (the "Line" side), travels through two "traveler" wires to the second switch box, and then goes up to the light fixture (the "Load" side).
This concept is critical because a motion sensor generally belongs on the Line side.
If you install the sensor on the Load side—the box feeding the light directly—it lives at the mercy of the switch at the other end of the hall. If someone flips that other switch, they cut the power to your sensor. It dies. You walk into the room, wave your arms, and nothing happens until you walk all the way to the other end and flip the mechanical switch back on. That defeats the entire point of automation.
You need to identify the "Common" screw. On a standard mechanical 3-way switch, this is the black or dark-colored screw, distinct from the two brass or silver traveler screws. But don't trust the wire colors. I have opened 1920s plaster walls in West Chester where the "hot" wire was white, the traveler was red, and the ground was non-existent. You cannot eyeball this.

Grab a non-contact voltage tester or, better yet, a Fluke multimeter. With the power on (carefully) and the switches disconnected, only one wire in one of those two boxes will show 120 volts against the ground. That is your Line. That is where the brain of your system needs to live.
A lot of people ask if they can just put a motion sensor at both ends of the stairs for maximum coverage. It seems logical: enter from the top, top sensor sees you; enter from the bottom, bottom one sees you. In practice, this is a wiring nightmare. Wiring two sensors in parallel often creates a race condition where one sensor triggers and sends voltage to the output of the other, potentially frying the relay or confusing the logic. Unless you are running new 14/3 wire and really know your way around parallel loads, skip it. You want one "Master" brain and one dumb mechanical switch.
Safety Check: Before you start unscrewing wire nuts to hunt for that Line wire, go to the basement and flip the breaker. Verify it’s dead. I don’t care if you’ve been doing this for twenty years; getting hit with 120v while standing on a ladder is a great way to end your career.
The Master + Mechanical Solution
This is where the Rayzeek RZ021 series shines for retrofits. Unlike smart switches that force you to buy a proprietary "companion" remote switch for the other end of the hall (costing you another $40), the Rayzeek logic allows you to keep the existing mechanical toggle switch at the second location. We call this the Master + Mechanical configuration.
You install the Rayzeek sensor in the Line side box. Connect the incoming power to its Line terminal (often Black). Connect the Load terminal (often Red) to one of the traveler wires going to the other switch. At the other end, you rewire the mechanical switch so that it essentially acts as a signal interrupter—a 3-way loop that the sensor can detect.
When wired correctly, the Rayzeek sensor handles the load switching. The mechanical switch at the other end just tells the sensor, "Hey, someone flipped me." The sensor sees that state change and toggles the lights. This saves you from fishing new wires through insulation or buying expensive battery-powered remotes that will inevitably fail when you have guests over. It utilizes the copper already in your walls—specifically that extra traveler wire that usually confuses DIYers.
However, you must check the specific wiring diagram for your model. The RZ021 diagrams distinguish between "3-Way with Neutral" and "3-Way No Neutral." If you mix these up—putting a No-Neutral wiring scheme on a unit expecting a neutral—you will let the magic smoke out of the device.
The "No Neutral" Reality and the Ghosting Issue
Then there is the most common headache in older housing stock: the missing neutral wire. In new construction (post-2011 NEC code), electricians are required to provide a neutral wire in every switch box. But if your house was built in 1980, 1950, or 1900, you likely have switch loops. You open the box and see only a black wire and a white wire connected to the switch, and maybe a bare copper ground pushed to the back. There is no bundle of white wires capped off in the back of the box.
If you buy a standard smart switch or sensor that requires a neutral, you are dead in the water. You cannot just connect the neutral terminal to the ground wire. That is a code violation and a safety hazard. The ground is for safety, not for return current.
Rayzeek’s "No Neutral" options use a different method. They pull a tiny trickle of current through the light bulb to stay alive. This is where the ghosting happens. Old incandescent bulbs didn't mind a tiny trickle of current; the filament wouldn't get hot enough to glow. But modern LEDs are efficient. They see that tiny leakage current and try to turn on. They charge up, flash, discharge, and repeat. That’s your staircase strobe light.
If you are using a No-Neutral sensor with LEDs, you might see this ghosting. The fix is usually a "bypass adapter" or load capacitor installed at the light fixture itself (not the switch). It acts like a sponge, soaking up that leakage current so the LED doesn't try to ignite. Alternatively, ensure your total lighting load is high enough—usually over 10-15 watts—to suppress the flicker. If you have a single 4-watt LED bulb in the hallway, you are almost guaranteed to have issues without a bypass.
The Box Fill Audit

Finally, before you commit to any hardware, look inside the wall. I call this the Box Fill Audit. Motion sensors are fat. They have bulky bodies to house the PIR lens and the electronics. Old metal "gem boxes" from the 50s are tiny.
If you open your switch box and it looks like a rat’s nest of wire nuts, stiff cloth-covered conductors, and maybe a pass-through circuit for the next room, you physically might not fit a Rayzeek sensor in there. I have seen homeowners try to jam these devices in with the force of a hydraulic press, crushing the wires against the back of the metal box. That is how you get a short circuit to the ground.
Visualize the cubic inches. If the box is crowded, you might need to trim your wires back (carefully), re-organize the wire nuts to the top and bottom voids, or in extreme cases, cut the drywall and install a deeper "old work" plastic box. If you aren't comfortable cutting drywall and that metal box is packed tight, you might have to abandon the project or call a pro. No sensor is worth burning down the house because you stripped the insulation off a wire while forcing the faceplate on.
Automation is the hook, but reliability is the goal. You want an install you never have to think about again. When you get the Line side right, manage the neutral reality, and respect the physical space in the box, the sensor just works. You walk down the stairs, the lights snap on, and for once, you don't have to yell at the house to see where you're going.