I have a 2010 X3 with a weird light problem.

Sometimes, when the headlights (HIDs) come on - I keep it in the auto position - the right fog light comes on, even though I have not turned on the fog lights. If I do turn on the fog lights, both are on as usual.

Sometimes, I can press the fog light switch and they will both come on without the headlights being on, but the headlights will turn on automatically when that happens.

Sometimes, when I put the car in reverse (it's an automatic), the fog lights will come on for no apparent reason, but they will be a bit dimmer than usual.

This big problem is that it doesn't happen all the time. A few days ago I brought it to my mechanic and everything worked fine while I was there (of course).

Anyone have any ideas? .