The picture is how the wires are arranged in the ceiling and on the wall switch. My ceiling fan currently works by pulling the chain on it directly, but the wall switch doesn't work under any circumstances. I've tested the wall switch wires with a multimeter and there is indeed 120 volts running through them. The ceiling fan itself is connected to the black wire, and the light is supposed to connect to the grey wire, but when I tried it the light doesn't work. When I connect the light to the black power wire as well from the ceiling, then both the fan and light works, and that is how its currently set up. I'm guessing the grey light wire protruding from the ceiling is the same as the single red wire in the wall switch box? Then how should the wall switch wires be arranged so that the grey ceiling wire works?
Originally the wall switch wires were connected to a 3-way switch. The top black and bottom white wires were screwed together in a wire nut; the bottom black, top white, and top red wires were connected to the 3 way switch as well as the ground brown. I turned the switch and nothing happens, but there is voltage running through the wires. No voltage through the red wires though.
If anyone can shed some light I'd appreciate it. Thanks!