Hopefully this helps you.
2004 Mercedes Benz E Class (W211) - North America
Item Wire Color Polarity Wire Location
12 Volts red (20A) + Electronic Ignition Switch, 5 pin plug (C), pin 1
Second 12 Volts red (150A) + driver dash fuse box
Ground (chassis ground)
Starter violet/white or violet (for starter kill only) + underhood fuse box, 6 pin plug (B2), pin 5
Ignition pink/red (for ignition sense only) + low curr Electronic Ignition Switch, 5 pin plug (C), pin 2
CAN Bus High brown/red data Central Gateway Module under driver dash, 10 pin plug, pin 10
CAN Bus Low brown data Central Gateway Module under driver dash, 10 pin plug, pin 9
Power Lock (CAN bus)
Power Unlock (CAN bus)
Lock Motor black 5 wire Left Front Door Module, plug (C5), pin 3
Driver Unlock Motor red 5 wire Left Front Door Module, plug (C5), pin 2
Factory Alarm Arm (factory remote only)
Factory Alarm Disarm (factory remote only)
Parking Lights gray/black (LF), gray/red (RF) + underhood fuse box, 4 pin plug (I12), pins 1 and 2
Note - Parking Lights: The LR - RR are gray/black - gray/red, or black/red - black/red, at the trunk fuse box, 14 pin plug (C14), pins 4 - 10.
Hazards (CAN bus)
Turn Signal (Left) black/white (LF) + underhood fuse box, 10 pin plug (M3), pin 5
Note - Turn Signal (Left): The (LR) is black/white at the trunk fuse box, 14 pin plug (C14), pin 11.
Turn Signal (Right) black/green (RF) + Passenger Side SAM on pass floorboard, 6 pin plug (I3), pin 1
Note - Turn Signal (Right): The (RR) is black/green at the trunk fuse box, 14 pin plug (C14), pin 3.
Headlight yellow/black (L) + underhood fuse box, 10 pin plug (M3), pin 2
Note - Headlight: The (R) is yellow at the Passenger Side SAM on passenger floorboard, 6 pin plug (I3), pin 6.
Reverse Light gray/yellow + trunk fuse box, 14 pin plug (C14), pin 8
Left Front Door Trigger brown/yellow - trunk fuse box, 12 pin plug (C2), pin 9
Right Front Door Trigger brown/white - trunk fuse box, 12 pin plug (C2), pin 8
Left Rear Door Trigger brown/blue - trunk fuse box, 12 pin plug (C2), pin 11
Right Rear Door Trigger brown/violet - trunk fuse box, 12 pin plug (C2), pin 10
Dome Light (CAN bus)
Trunk/Hatch Pin green - trunk fuse box, 28 pin plug (C21), pin 4
Hood Pin brown/red - trunk fuse box, 8 pin plug (C4), pin 1
Trunk/Hatch Release gray/yellow (rear handle switch) - trunk fuse box, 28 pin plug (C21), pin 5
Trunk Release Motor red/brown or gray/pink 5 wire trunk fuse box, 28 pin plug (C21), pin 11 or 7
Fuel Door Release brown or red/yellow 5 wire trunk fuse box, 4 pin plug (C13), pin 2 or 3
Tachometer gray/stripe ac any fuel injector
Fuel Pump red/green + trunk fuse box, 7 pin plug (C1), pin 3
Rear Defroster red/yellow + latched trunk fuse box, 5 pin plug (C20), pin 5
Mirror Defroster (CAN bus)
Left Front Heated Seat white/green 5 wire Seat Ventilation Module under driver seat, 6 pin plug (C1), pin 3
Right Front Heated Seat white/gray 5 wire Seat Ventilation Module under driver seat, 6 pin plug (C1), pin 4
Speed Sense (wheel speed sensor)
Brake Wire black/red + brake switch, 2 pin plug, pin 2
Parking Brake brown/white - parking brake switch, 2 pin plug, pin 1
Horn Trigger yellow + underhood fuse box, 14 pin plug (M2), pin 10
Wipers (LIN bus)
Memory Seat 1 (LIN bus)
Memory Seat 2 (LIN bus)
Memory Seat 3 (LIN bus)