From what has been described in this question it appears that a neutral wire is not available at the wall switch.
How to install a ceiling light with a wall switch.
Adding a wall switch to a ceiling fixture can be done in a matter of hours.
Whether you are looking to wire a ceiling fan with lights to one power switch or add a fan in a room without a switch source this guide will teach you how to wire a ceiling fan using four common scenarios and the best wiring methods.
Wiring ceiling fans can seem complicated but the task really just depends on the type of fan you are installing and how you want it to operate.
Trace the electrical box for the switch and cut it out the same way as the mounting box.
It should be 48 from the floor.
Common applications include ceiling or hallway light switches a cellar or attic light a ceiling fan or chandelier or an outdoor patio light.
Wiring a new ceiling light and switch from an existing power source.
Pick a single pole light switch for most applications.
Determine a location for the light switch.
Install a ceiling light and switch.
Got light where you need it.
A remote can speed up or slow down the fan turn the fan on and off or turn the lights connected to the ceiling fan on and off.
Even if a plug in hanging lamp is where you want it built in wiring is safer more convenient and easier on the eyes.
No house seems to have exactly the right lights in the right place with convenient safe switches.
With single switch wiring power to the fan is controlled by a standard single pole wall switch like a regular light switch.
There is a remote inside the inner working of the fan which responds to a remote control.
How to install a fan light control switch.
A remote controlled ceiling fan bypasses one of the wall switches and allows for remote access to the ceiling fan s workings.
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.
Trace the mounting box on the ceiling where the light fixture will be mounted.
If the wall is heavily insulated push conduit through the insulation and then feed wires or cable through the conduit.
Installing additional light fixture and switch wiring should be done according to local and national electrical codes with a permit and be inspected.
The biggest challenge is planning the cable route and running it from the fixture to the new wall switch position.