I have red-white-black wires coming from my switch and 2 sets of house wires (black-white-grnd). Can someone tell me how to tie these together with a new fan that has two white, one black and one blue wire?
Thanks.
I have red-white-black wires coming from my switch and 2 sets of house wires (black-white-grnd). Can someone tell me how to tie these together with a new fan that has two white, one black and one blue wire?
Thanks.
Assuming everything was done the "usual" way:
Switch cable:
Other cables:
One of those cables is incoming power. The other goes someplace else - e.g., another light or receptacle. There is almost certainly something else that stopped working when you took this all apart - i.e., if you capped all these wires instead of connecting together, and then turned the breaker on, you'd find something somewhere that doesn't work. But if you connect everything together again, whatever was disconnected will be reconnected and work.
Use wire nuts, not tape, to connect wires together. Tape is great for marking and for protecting but can't be used to make a permanent connection.
Wire nuts come in multiple sizes - in particular, the smallest typical wire nuts may not be enough for 4 white wires (neutrals from two cables + fan & light neutrals).
A little more based on comments:
Since you currently have just one switch for both light & fan, you may want to consider splitting to two switches, since you have a 3-wire cable. There are two reasons to do this:
Assuming you have a typical 1-gang switch (regular or Decora) and not already a combination switch/receptacle, you can replace it with a double switch: