Connect All Wires to the Smart Switch
From How to Add a Dusk-To-Dawn or Timer Control to Stair Lights · Step 3 of 5 · Video by DuC

Showing 0:44–1:00 of the source video. Watch the full video with every moment.
What happens in this clip
Begin wiring by connecting the smart switch's green ground wire to the existing bare copper or green ground wire in the electrical box using a wire nut. Next, locate the existing bundle of white neutral wires in the box. Add the smart switch's white neutral wire to this bundle, securing all wires tightly with a wire nut. Finally, connect the two black "Line/Load" wires from the smart switch to the two remaining "hot" wires from the existing wall box. It typically doesn't matter which black wire from the smart switch (Line or Load) goes to which of the existing "hot" wires (one of these is the incoming line power, the other goes to the light fixture/load). Secure these connections with wire nuts.
Goal: Securely connect the smart switch to the household electrical system
What's used
Tools
- Existing electrical wiring
- neutral
- line
- load).
- Smart light switch Tapo S505 (TP-Link)
- Wire nuts
About the full video
This project provides verbose, step-by-step instructions on how to install a 4-wire smart light switch into an electrical box that was originally wired for a 3-wire light switch. It covers essential safety precautions, wire identification, proper connection techniques for ground, neutral, line, and load wires, and final functional testing.
What's said in this clip
power okay turn the breaker back on there's power going through it and I took the ground and neutral and hook up to the ground and I took the line load you see here line load and hook it to the in and out and that's it you see there's power let's hit the light switch here
Automatically transcribed from the source video.
Step 3 of 5: Connect Control Device to Stair Lights
Carefully connect the 'load' or 'switched hot' wire from your control device to the wire that previously went directly to your stair lights (or the hot wire feeding your light switch if it's a switch-controlled system). Ensure a secure connection using wire nuts or appropriate connectors. If your control device requires a neutral connection and your existing wiring does not readily provide one at the device location, you may need to consult an electrician or run a new neutral wire.
Every video in How to Add a Dusk-To-Dawn or Timer Control to Stair Lights
Step 1: Turn Off Power
- 0:11–0:12 Turn Off Electrical Power
- 0:22–0:35 Turn Off Power
- 1:36–1:39 Cut Electrical Power
Step 2: Install the Control Sensor/Timer
- 5:10–7:20 Wire the Sensor and Fixture
- 4:22–5:10 Understand Sensor Wiring Logic
- 0:15–0:21 Wire and Mount Motion Sensor/Switch
Step 3: Connect Control Device to Stair Lights
- 4:48–8:29 Connect Switch Leg at Light Fixture
- 0:44–1:00 Connect All Wires to the Smart Switch (this video)
Step 4: Test the System
- 7:20–8:12 Restore Power and Test Sensor
- 8:09–9:07 Test and Finalize Installation
- 7:37–8:30 Test Photocell Functionality
Step 5: Secure and Tidy Up
- 0:09–0:10 Test and Finalize Installation
- 1:55–2:07 Insert Lights and Initial Power Test
- 0:12–0:15 Conceal and Finish
Questions about How to Add a Dusk-To-Dawn or Timer Control to Stair Lights
Can I use both a dusk-to-dawn sensor and a timer, or do I have to choose one?
You typically choose one control method for this project: either a dusk-to-dawn sensor for automatic light activation based on ambient light, or a programmable timer for scheduled on/off times. While some advanced setups can integrate both, for a straightforward installation, select the option that best fits your preference for light control.
How difficult is this project for a beginner, and can it realistically be completed within 4 hours?
This project is considered beginner-friendly as it involves basic wiring connections, usually within an existing junction box. The 4-hour estimate is reasonable for someone with basic DIY skills, though it might take longer if you encounter unexpected wiring configurations or need to relocate components.
What should I do if my stair lights don't turn on after installing the new control device?
First, ensure the circuit breaker is switched back to the 'on' position. Then, carefully re-check all your wire connections within the junction box to ensure they are secure and correctly matched according to the device's instructions (e.g., line, load, neutral, ground). Loose wire nuts or incorrect wiring are common culprits.
Where is the best location to install a dusk-to-dawn sensor for optimal performance?
Install the dusk-to-dawn sensor in a spot that receives ample natural ambient light throughout the day, but is not directly illuminated by the stair lights themselves or other nearby artificial lights. This placement prevents the sensor from misinterpreting its own light as daylight, which could cause the stair lights to flicker or remain off.
Are there any additional small tools or materials a beginner might find useful beyond the main list?
Yes, a headlamp can be very helpful for illuminating tight spaces like electrical boxes. A permanent marker is also useful for labeling wires before disconnecting them to avoid confusion during re-connection. Small zip ties or electrical tape can help keep wires tidy inside the box.
How to Add a Dusk-To-Dawn or Timer Control to Stair Lights
This project involves adding an automated control mechanism, such as a dusk-to-dawn sensor or a timer, to existing stair lights to provide convenient and energy-efficient illumination.
Read the full guide Browse all guides
Planning this project? Shop Oak Valley Designs.

