I'm a bit late to this discussion, but please take a moment to review your arch liners. I’ve observed that on one side at the front, there is a small hatch, which I assume is for accessing the back of the headlight. On that same side, it appears to have dropped enough to create a gap in the plastic. Driving in the rain can lead to water being sprayed directly into the back of the headlight module, precisely where the ballast control modules are located, which over time may result in water ingress. This may not address your current problem, which seems to be related to either coding or a blown fuse, but it could help prevent a recurrence.