When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Need help with coding side lights/parking lights please
Anyone know how to code side lights/parking lights for Mini?
I have upgraded front bumper from LCI to LCI2 which removes the original side lights. Sidelights on the lci2 are a dimmer version of the DRL rings
At the moment there is no light when I dial to side light /1 oclock. My mini is UK 2018 LCI with oem lights. TIA
From this To this LCI2 without foglights and sidelights
- fog lights (turn on with main fog switch along with front fogs
- brake lights
- DRLs
- running lights (like the fender lights) at night
Not one at a time, but all together -- meaning how they work has a priority (which thankfully I didn't have to customize).
I figure if I could make my rear fogs be output for all that, DRLs included, there is a way for you to get any output device in the car to come on with your DRLs.
But I have to go back and look at my stuff to see how I got that DRL thing to work. I did document it in a forum post here way back, but it was, well, way back.
numbered items 3 and 4 in post #14 -- gets you basics that I think you'll understand immediately since you're clearly familiar with messing around with output and function params for lighting control, and also has a decent explainer
The section "How I: got my rear fogs working as DRLs." in post #23.
Net, you could do what I did, but instead of specifying the rear fogs as output devices, use your output devices of choice.
From all those references you can probably figure out how to do output control more generically as well, though. Buried in the thread elsewhere I'm sure: the key to getting a specified OUTPUT device to function as a DRL is to have the corresponding FUNCTION set to the hex for tagfahrlicht -- which, according to the notes I kept for my 2017 F56 S, is 0x04.
So for example: if you are tinkering with the block of params for MAPPING_SIDEMARKER_R, then MAPPING_SIDEMARKER_R_OUTPUT needs to be hex for whatever physical lamp you want to light up, yes. But MAPPING_SIDEMARKER_R_FUNCTION would need to be set to the DRL function (which is 0x04) to have whatever turns on DRLs actually light that lamp up with all the other DRLs.
And most of those prefixes (example again: MAPPING_SIDEMARKER_R) are generic (tinker at your own risk, of course). Example: a couple of years ago I decided I wanted my scuttle lights to double as running lights (whether day or night) for better visibility (esp at night):
To do that I hijacked the apparently-stock-unused MAPPING_TAGFAHRL_2_H_L and MAPPING_TAGFAHRL_2_H_R.
Stock setup, FUNCTION was set to 0x04 (tagfahrlicht aka DRL), but OUTPUT was set to 0x00 (meaning no device).
I changed FUNCTION to 0x01 (standlicht aka standing lights) for both L and R, and OUTPUT to the left and right scuttle lights (0x10 for L and 0x11 for R).
Worked great, my scuttles are always on if either DRLs or nighttime lighting is on, and they still function properly as turn signals and hazard lights all the same. Looks pretty spiffy at night too.
numbered items 3 and 4 in post #14 -- gets you basics that I think you'll understand immediately since you're clearly familiar with messing around with output and function params for lighting control, and also has a decent explainer
The section "How I: got my rear fogs working as DRLs." in post #23.
Net, you could do what I did, but instead of specifying the rear fogs as output devices, use your output devices of choice.
From all those references you can probably figure out how to do output control more generically as well, though. Buried in the thread elsewhere I'm sure: the key to getting a specified OUTPUT device to function as a DRL is to have the corresponding FUNCTION set to the hex for tagfahrlicht -- which, according to the notes I kept for my 2017 F56 S, is 0x04.
So for example: if you are tinkering with the block of params for MAPPING_SIDEMARKER_R, then MAPPING_SIDEMARKER_R_OUTPUT needs to be hex for whatever physical lamp you want to light up, yes. But MAPPING_SIDEMARKER_R_FUNCTION would need to be set to the DRL function (which is 0x04) to have whatever turns on DRLs actually light that lamp up with all the other DRLs.
And most of those prefixes (example again: MAPPING_SIDEMARKER_R) are generic (tinker at your own risk, of course). Example: a couple of years ago I decided I wanted my scuttle lights to double as running lights (whether day or night) for better visibility (esp at night):
To do that I hijacked the apparently-stock-unused MAPPING_TAGFAHRL_2_H_L and MAPPING_TAGFAHRL_2_H_R.
Stock setup, FUNCTION was set to 0x04 (tagfahrlicht aka DRL), but OUTPUT was set to 0x00 (meaning no device).
I changed FUNCTION to 0x01 (standlicht aka standing lights) for both L and R, and OUTPUT to the left and right scuttle lights (0x10 for L and 0x11 for R).
Worked great, my scuttles are always on if either DRLs or nighttime lighting is on, and they still function properly as turn signals and hazard lights all the same. Looks pretty spiffy at night too.
Hope this helps. Let us know how it goes.
Update.
I set TFL_MODUS = Drl_s (on with light switch at Auto/Off/Park)
now the DRL lights working but only when ignition is ON
not working when ignition is of
Any idea?
TIA
Sorry for long delay in replying. Been a little crazy over here with projects, including one project in front of my computer (meaning in the way of the keyboard, lol).
1- 3063 MAPPING_SIDEMARKER_L_OUTPUT -> the hex code for whatever **physical fixture** you want to light up with the DRLs on the left side
2- 3063 MAPPING_SIDEMARKER_R_OUTPUT -> the hex code for whatever **physical fixture** you want to light up with the DRLs on the right side
So for example -- if you wanted to light up the left scuttle and right scuttle, you would use:
One gotcha: if you are trying to light up the "angel eyes" aka ring lights, I never did quite figure out how to make those things do what I wanted in a run of since-forgotten research. But on a map I drew of all the physical lights I identified the ring lights as tms_leuchtring_l 0x30, and tms_leuchtring_r 0x31. Big note though, I never got those to do what I wanted and I concluded other coding was in play... somewhere. I don't understand the TMS stuff but it seems to be deeply involved with DRL somehow.
On this:
Originally Posted by stwpt
Update.
I set TFL_MODUS = Drl_s (on with light switch at Auto/Off/Park)
now the DRL lights working but only when ignition is ON
not working when ignition is of
Any idea?
TIA
I am not familiar with TFL_MODUS. First time I've ever seen that parameter. What does it do? Got a link to any discussions/docs on it?
If you want lights when ignition is off, you might have to use a whatever function is normally used to light up the position lights in the front bumper (pol_l, pol_r) instead of the DRL function. If you don't know what that function is, I can probably find out, let me know.
Side note / probably helpful: Found my way to a BMW thread whose final post has a PDF with tables of functions and outputs. You'll have to adapt it a little bit for the MINI, it's sectioned into Front and Rear module-controlled stuff, and on the MINI there is simply a BDC, no front/rear module split. 100% usable otherwise, I think. Jump to the last post in the thread at the link.