I am ceiling mounting a projector in my home theater room and I need to mount it where there used to be a ceiling fan with light kit. The fan and light were controlled by two wall switches. I'm planning to replace the ceiling outlet with a surge protected wall outlet to power the projector. My question is, how should I wire the wall outlet given there are two wall switches that currently control the power to the ceiling outlet?
Note that the ceiling fan electrical box will not be the same as a standard box for a receptacle. You will have to find a suitable faceplate that will adapt to a round/octagonal box, or you will have to change the box itself.
Break the tab on the hot side of the receptacle, and wire the two hot wires separately to each screw terminal on the receptacle.
This will cause the two outlets to be controlled independently by the two wall switches.
Cap the extra hot wire in the ceiling and wire the receptacle to the one remaining hot wire. Do not break the tab. Remove the switch that controls the hot wire you capped, and cap that wire on the switch end as well. This will control both halves of the receptacle with one switch.
If your wiring was done with a switch loop (meaning the power comes into your ceiling box and not your switch box), then you can wire the un-switched hot in your ceiling box directly to your receptacle and make it un-switched. You could then decide what to do with the switches on your wall, but they would no longer control your ceiling box.
If the setup does not use a switch loop, you could remove one switch, splice the hot in your switch box to that switch leg, and then you would have un-switched power to the ceiling box.
Keep in mind some of these setups are not "expected" wiring methods and might throw some people for a loop.
Follow @mjohns615 wiring instructions, then get a decorative ceiling box cover that will accommodate your receptacle of choice. This picture is "Decora" style hole for any number of different outlet types. http://www.kyleswitchplates.com/circular-ceiling-outlet-cover-plates/