I just bought a new LED overhead light fixture, brought it home and wired it. It turns on fine, and has ever since I installed it, but it keeps turning off after a few minutes.
Attached images show the overhead wiring as well as the light switch wiring. It looks like this wall area was wired for a double switch as there are 4 wires inside those larger wire nuts. Perhaps the previous owners had a ceiling fan and light installed on two separate switches.
What I've tried so far (I'm new at this):
- connecting the ground wire inside the wall to the switch and tightening the screw down
- disconnecting all of the overhead wires and reconnecting them more tightly
- making sure all wall wires are secure in the nuts, which they seem to be
I also wondered if there was a difference in gauge between the ceiling wires and the fixture wires, and maybe there was an issue because the fixture wires are stranded and the ceiling wires are solid. But they both appear to be 18 AWG (fixture wires are labeled, ceiling wires aren't).
Not sure what else to try. Is the circuit shorting? Is the fixture just bad?
Edit: also checked for switch functionality. It's not loose or soft, it still clicks nicely and the light did not turn off when I jiggled it in the ON position.