I installed a ceiling fan at my girlfriend's condo. I tapped into some power from the attic to power the fan, and there is a wireless RF remote that controls the fan. This wireless remote can be hardwired into the condo's electrical system so you don't have to change the batteries. My plan was to add this fan controller next to an existing wall switch near the door. The wall switch controls an outlet on the other side of the wall. I converted the single box into a double gang box and found the following wires inside:
--Green ground, spliced together
--White wire, spliced together
--Black wire, one into bottom of switch (hot), one into top of switch (cold)
Basically, the wall controller for the fan needs constant power. It is NOT wired in any way to the fan in the ceiling. It has two black wires coming out the back, and one ground. I tried just hooking the black wires from the fan controller to the black wires inside the box where the switch was. It worked perfectly fine, controlled the fan just fine.
However, I wanted to have both the fan controller and the switch operational. I also wanted the switch not to interfere with the fan controller at all. So basically, it would end up being a double gang box with wiring just like a switch and a constant power outlet.
So, I tried using this setup. I pigtailed the hot black into both the switch and the fan controller. I hooked the other black wire from the fan controller to the white wire in the box (I assumed it's just a return wire, to complete the circuit). I hooked the remaining black wire to the switch. Both grounds hooked into the same ground wire.
I turned everything on. The switch worked perfectly, controlling the wall outlet. The fan controller had power for a split second, then lost power all together and doesn't work at all. Any ideas as to what I could have done wrong?
(Yellow in this diagram is white)