No house seems to have exactly the right lights in the right place with convenient safe switches.
How to connect a ceiling light to a wall switch.
To do this method the wire from your wall circuit to your light has to have 3 wires.
Adding a wall switch to a ceiling fixture can be done in a matter of hours.
Connect black fan wire to the black ceiling wire.
From what has been described in this question it appears that a neutral wire is not available at the wall switch.
In the switch box.
Wires inside the electrical box at the ceiling and at the.
Connect white wires together.
The fan has power when the switch is on while the fan speed and the light if the fan has one are controlled by pull chains on the fan itself or by a remote control device.
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.
Secure the wire to the joists with electric staples.
Connect the blue wire to the red wire.
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.
With single switch wiring power to the fan is controlled by a standard single pole wall switch like a regular light switch.
Ceiling lights operate using a switch on the wall or a pull chain that s attached to the fixture.
A single pole wall switch usually has a lever or toggle that completes the circuit when it is flipped up to turn a light device or appliance on.
Got light where you need it.
Pick a single pole light switch for most applications.
If the wall is heavily insulated push conduit through the insulation and then feed wires or cable through the conduit.
Split the incoming hot wire into a y and connect it to a terminal on each switch.
Common applications include ceiling or hallway light switches a cellar or attic light a ceiling fan or chandelier or an outdoor patio light.
Install a ceiling light and switch.
The ceiling light fixture requires a neutral for the light to work and your wall switch box does not have a neutral wire available so additional wiring will be required to obtain the neutral wire from the outlet.