Last night, while driving down the highway in pitch black lighting, my headlights suddenly shut off! This has happened before, but not during a pitch-black scenario, and I was assured that this was a firmware bug, that it was identified, and was fixed. Obviously that's not the case. I had to quickly pull up the controls and switch on the lights manually, leaving about 10 seconds of pitch black driving at highway speeds. Luckily we arrived home safe. I was able to pull dashcam footage this time (didn't have one previously), and took several videos where I turned the lights from Auto -> On -> Auto, etc. The lights turned off every time on Auto, despite it being pitch black outside. Unfortunately, just like the previous two times, the next morning (today), the lights were working normally again. From a technical perspective, this has to be one of the worst case scenarios, because it's not constantly broken, it's intermittent (and rare). Someone could be very seriously injured or killed. Additionally, this is the SECOND major safety issue I've had in less than 3 weeks. The other issue is the windshield wipers suddenly not working on intermittent/timed settings. You have to turn them to continuous on to get them to work once the car starts acting up. Again, the next day they are back to normal. This has happened twice now. Again, luckily, I reacted after the windshield started to get soaked with water and I noticed my visibility was greatly reduced - but I don't know what would've happened if my wife would've been driving. I opened up an NHTSA complaint to ensure that this gets looked at, and want to make everyone aware to be incredibly vigilant and aware that this is a potential issue. My Tesla was delivered on December 29th, 2016. I'm not sure if this is isolated or a widespread issue. Link to the NHTSA complaint, which includes some of the videos can be found here.