I want to install a photo cell on an electrical circuit that runs to an outside light fixture. There is a black and white wire (and ground) from the house, a black and white wire in the fixture, and the photo cell has a black, white, and red wire.
What is the correct wiring schematic that will allow the photo cell to turn my light off and on?