About a year ago I had two recessed lights installed in the hallway. They w ere previously regular lights, so I was told it was just cutting a hole out and hooking the wiring back up. He also changed the switches to the newer flat switches. They worked for 2 months until one day it just stopped worki ng. I'm not too keen working with electricity.
Just a few weeks ago I called the actual makers of the recessed lighting an d they said that it "sounds" like a problem with both of the actual units i nternal components. Seemed a little weird to me, i thought it had something to do with the wiring. But I got the new units, thinking that will an easy fix on my side. Since all the wiring is set up I could just match the conn ections with the new identical unit.
Switched off the power to the hallway, tested making sure I turned off the right breaker. Then installed white to white / black to black / ground to g round on one of the units, leaving the other one alone. Put a light in, and as soon as I switched on the breaker, I heard a pop near the actual light. And the breaker popped to the middle position. Looked up online which said it's in the neutral position after being popped.
I checked the other light and it is black to black / white to white / groun d to ground. I didn't think it could be a problem with the wiring since it for sure worked for a couple months.