That s usually the hot wire for the light.
How to wire a ceiling light with a wall switch.
Trace the mounting box on the ceiling where the light fixture will be mounted.
The ceiling fan will have a black wire and another non white wire.
Cut out the traced hole with an oscillating saw.
Split the incoming hot wire into a y and connect it to a terminal on each switch.
Connect the blue wire to the red wire.
Pick a single pole light switch for most applications.
Now for the trick.
With single switch wiring power to the fan is controlled by a standard single pole wall switch like a regular light switch.
It should be 48 from the floor.
Adding a wall switch to a ceiling fixture can be done in a matter of hours.
If the wall is heavily insulated push conduit through the insulation and then feed wires or cable through the conduit.
To do this method the wire from your wall circuit to your light has to have 3 wires.
That second wire is usually blue or red.
Connect black fan wire to the black ceiling wire.
The red and black are used for hot and the white neutral wire at the switch box allows for powering a timer remote control or other programmable switch.
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.
The biggest challenge is planning the cable route and running it from the fixture to the new wall switch position.
Trace the electrical box for the switch and cut it out the same way as the mounting box.
Twist those two wires together then connect them to the black or red wire that came out of your.
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.
Ceiling fan connection light wired to light switch fan on off with pull chain the wiring diagram above is for typical installation wiring light is switched the fan is powered by a pull chain once you have found and identified all of the wires on your fan and in your electrical box you can get to work on connecting them.
This is an updated version of the first arrangement.
Determine a location for the light switch.
Connect white wires together.
The wiring trick that lets you wire a ceiling fan with light to one switch.
Common applications include ceiling or hallway light switches a cellar or attic light a ceiling fan or chandelier or an outdoor patio light.