Driving home for the first time at night I noticed my lights getting dim. I also noticed what I’m assuming is the alternator warning light coming on. I was just a mile or so from home so I got home quick. When I got home I noticed the attached pictures. Please help me diagnose. The wire connector was not connected to the alternator.