Wall Switch Wiring to Fan- Junction box In Fan Ovhd
I have an older home with a Hunter fan that stopped working. I took down the fan and noted that there were 5 sets of wires coming into the metal overhead box. Found hot black wire feed from main breaker and traced out 3 other sets that fed various outlets, overhead light in next room, etc. Final wire set went to the wall switch. This fed straight down to the wall switch. No other wires at the switch. Worked fine until found loose wires were the cause of the fan not working but now confused how to rewire this back up after pulling wires apart and cleaning them up. Fan has 1 white wire, a black & a black/white wires & 1 green wire. Black & black/white wires connected. Note: a white wire was found in the middle of 4 black wires when I took it all apart.