Here is what you would have to do if possible change out the 2 wire to 3 wire cable from switch to light.
How to run a light off of a wall plug.
These are commonly used to turn a table or floor lamp on and off from a wall switch.
Skip to collection list skip to video grid.
Pull the fixture away from the wall or ceiling and disconnect it from the existing wall ceiling wiring by undoing the wire nuts connecting the wires.
And it can look neater than you might think since you can paint the parts to match the walls.
If you know which breaker in your electrical panel serves that circuit then switch it off.
In this case you must change the cable from the switch to the light outlet from a 2 wire to a 3 wire cable.
Surface wiring is a system of channels and boxes that let you put outlets switches or light fixtures anywhere you want without the hassle of cutting into walls fishing wire and patching holes.
Pick up parts and apply for a permit.
The best way to do this is to turn off the switch and test both black wires by putting one of the leads of a voltage tester on the wire and the other lead on the ground screw.
An end of run fixture is one that goes after the existing fixture in the circuit.
Make sure the cable you use is the same gauge as the one powering the existing fixture.
Choose a place for the fixture install an electrical box and run a cable between the new fixture and the existing one.
The outlet is always hot and the switch controls only the light.
New 2 wire cable is run from the receptacle to the new light fixture.
In our project we run a line from an existing outdoor outlet on the house to a light and receptacle at the edge of a garden path.
Once you know which one it is turn off the circuit breaker before continuing the wiring procedure.
One that is hot only when a switch is on.
Adding an outlet from a light switch is easy and it takes just a few dollars and a couple hours to do.
Put the light fixture to the side for the time being.
Source 1 comes in at the light fixture and a 3 wire cable is run from there to the switch half on the device.
The switch controls a light and the receptacle half of the combo device is always hot.
The tester will light up when you test the live wire.
The hot from the source is spliced to the black wire running to the combo and to the input side of the switch.
As you can see connecting a receptacle to the light would see the receptacle only hot when the light switch is on.
Turn off the power to your light outlet at the breaker box.
Electrical how to run electrical wire for an outlet or light switch.
Here are the step by step instructions on what s involved.
Step 3 run a new stretch of wiring from the light fixture to where you ll be.
Before working with any electrical circuits make sure the electricity is turned off.