Ard there is a camera (the fla module) that points forward. It will dim the high beam before you cause glare to oncoming drivers and when you follow another driver.
https://www.youtube.com/watch?v=D0bJSAcF8xk
All you need is the new mirror with camera. The trick is finding the right one at the right price on ebay. You want one with the following options ideally.
- EC - electro chomatic (autodim)
- GTO - Garage door opener
- compass - Self explanatory
- FLA - high beam assist
- LED - clown nose for alarm
I paid $170 USD for mine from ebay, but the prices vary wildly, such as this one.
BMW 51169221745 E90 E91 E92 E93 Rear View Mirror Camera Compass EC LED FLA | eBay
If you search car-part.com there is one from LKQ with all the features for $135
The system comes on when your speed is above 50 km/hr and you have auto highbeam on in the CIC settings, but you can change the threshold with coding. See this thread for coding modification
BMW Coding Forum