Utilizing the factory wiring can sometimes cause more grief than its worth ... especially for beginners.
Much better to make up extra wiring that can be easily removed / disconnected in case of later issues ... without disrupting the factory wiring too much.
The factory foglight wiring is a bit like the factory headlight wiring - barely adequate for the loads of the lamps.
The factory fog light switch is also known to fail regularly too ... probably because just as with the headlight switch ... It carries all the power for the lights instead of just switching a relay.
The factory foglights do use a relay ... but in a back the front method.
Heres a link with a good diagram showing how to upgrade the factory fog wiring. There is probably similiar info here on
.
http://www.jeepforum.com/forum/f11/fog-light-wiring-upgrade-653022/#post6198660
Some alternatives.
Forget the factory switch ... and splice into the Lo-Beam wire with a connection to pin #85 on the relay. Hellas are on when Lo-Beam selected ... and go off when Hi-Beam selected.
Alternatively .... splice into the Hi-Beam wire with a connection to pin #85 and the hellas become driving lights .... On when Hi-Beam selected and off when Lo-Beam selected.
If you want ... you can extend the length of the spliced connection so it it goes to a simple on/off over-ride switch on the dash and back to pin #85 ... That way you can turn the hellas off if not needed when the headlights are on.
You can also use an on/off/on switch to to have more
turn on options.
Something like in this link -->
http://www.autoelectrical.info/drvlites.jpg
Some relay info.
http://www.traxide.com.au/Relay_Info.html
http://www.bcae1.com/relays.htm#demo
Just ensure the relay you buy is correct for the job. Most of the XJ relays have
two outputs ... pin #87 ... and pin #87a ... They do different jobs ... One is off
when the other is on.
You want to use just pin #87. The two light power wires can be connected to pin #87 ... or better still - a relay with
two pin #87 let you connect one light per pin.