I am installing a ceiling fan and i have done others in the past with no trouble but this one is connected to a switch which also controls two wall outlets. Secure the pigtail wire to the box with a grounding screw or clip.
Wiring A Ceiling Fan Amp Light Part 2
How to wire a ceiling fan to a wall switch. The outlets have two cables one same as switch and the other is black white and red. This 3 wire cable will provide the following switch functions. How hard could it be to connect up the ceiling fan wires to the back side of the wall switch. Connect black fan wire to the black ceiling wire. When installing the wiring for a ceiling fan from a wall switch box where the circuit power originates it is common to install a 3 wire cable from the wall switch box up to the ceiling fan. Your power supply line the black wire should be feeding both switches and those switches power the fan black or the light blue.
Join the three wires with an appropriately sized wire connector. To do this method the wire from your wall circuit to your light has to have 3 wires. Match the wires black to black and white to white. Power starts at the wall switch. Connect the ground wire from the ceiling fan often this is connected to the fans hanger bracket to the circuit ground wire and to the electrical box if it is metal using a pigtail wire to connect to the box. Align these with the black and white wires from the power source cable coming from the wall switch through the junction box and ceiling plate.
I have only one cable going to the switch which is black white and ground. Connect the blue wire to the red wire. Wiring connections for a ceiling fan and switches. Wiring a ceiling fan electrical question.