Ceiling fan / light wiring
Am trying to rewire up a ceiling fan with light to ceiling box -- of course, like an idiot, I didn't write down how it was wired before, because, hey, how hard could this be, right?
Ceiling box has these wires:
3 blacks, twisted together
3 white, twisted together
1 red
3 copper grounds
The fan has pull chains for the fan and the light, and a wall switch previously turned power on and off for the whole thing, so depending on where you left the pull chains you could make it so the wall switch turned on the light but not the fan, or the reverse, or both.
The fan / light wires were:
1 black and 1 blue, twisted together
1 white
1 green ground
I tried what seemed the most logical combination from all the info I can find:
Fan black (which I untwisted from blue) to box black
Fan blue (the light wire) to box red
White to white
Ground to ground
The result was the fan turned on and off with the pull chain, the light wouldn't come on at all, and the wall switch was irrelevant, on or off.
So I twisted the fan blue and black together again and tried:
Fan blue and black to ceiling black
White to white
Ground to ground
Capped red
Now the result was I could turn on both fan and light with pull chains, but, again, the wall switch was irrelevant.
Perplexed, I even tried wiring the fan black and blue to the ceiling red and capping the ceiling black just in case, which of course resulted in no power to anything.
Any thoughts?