I installed four 4-ft. LED shop lights on the ceiling of my garage and linked them together. Currently, they receive power by plugging in one of the shop lights into the duplex electrical outlet where the garage door opener also plugs into. The problem with that is that the outlet is not switched.
There is currently a light fixture by the garage door opener, in the middle of the ceiling. It has switched power, controlled by a switch near the entry door to the garage. I would like to convert that light fixture into a duplex GFCI outlet. When I removed the light fixture from the ceiling box, I saw this:
I used a Fluke non-contact voltage tester. The black wires are always hot, whether the the door switch is on or off. The red wire is only hot when the door switch is on. The white wires are neutrals (unless I am mistaken).
I am wondering why I see a red wire here. I was only expecting black, white, and ground. Now, being that the garage door opener is nearby, and that duplex outlet is always hot, might these black wires be providing power to that duplex outlet that the garage door opener plugs into? Did the electrician use 14-3 wire here so the red wire can provide switched power while the black wire would provided constant power for the garage door in the adjacent duplex outlet?
When I install this GFCI outlet, I assume I should treat the red wire as if it were a black wire, connecting it to the LINE (brass) terminal, then connect both white wires to white (silver) terminal, and finally pigtail a ground strap and connect it to the ground terminal on the GFCI outlet?