Connect the red wire to the screw in switch 2.
How to connect a ceiling light to a wall switch.
To wire the ceiling fixture to the new wall switch first connect the copper grounding wire to the fixture.
To do this method the wire from your wall circuit to your light has to have 3 wires.
Reattach the switch to the ears of the box and the switch cover.
Secure the wire to the joists with electric staples.
Got light where you need it.
Connect the electrical wire to your source of power using the pliers and wire nuts and fish it through the joists until it reaches the light switch.
Repeat the previous step and connect the end of the wire from the light to the white wire inside the ceiling box.
Even if a plug in hanging lamp is where you want it built in wiring is safer more convenient and easier on the eyes.
Drill through the floor in the correct stud bay and send the wires for the switch and the light up to the switch using the fish tape.
Flip on the circuit breaker and turn on the switch to test whether the ceiling fan and separate light work.
Mark this wire black.
Connect the blue wire to the red wire.
Then splice the fixture s black lead into the new black wire.
Connect the black wire to the screw located in swith 1.
After removing the black wire to the fixture s lead splice it into the new white wire.
Connect black fan wire to the black ceiling wire.
Install a ceiling light and switch.
Split the incoming hot wire into a y and connect it to a terminal on each switch.
No house seems to have exactly the right lights in the right place with convenient safe switches.
The light is ready to install.