Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-80463-1rll7jajs:136:3912) at m.mountComponent (/tmp/execjs20161208-80463-1rll7jajs:47:15602) at /tmp/execjs20161208-80463-1rll7jajs:49:31860 at a.r.perform (/tmp/execjs20161208-80463-1rll7jajs:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-80463-1rll7jajs:49:31821) at r (/tmp/execjs20161208-80463-1rll7jajs:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-80463-1rll7jajs:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-80463-1rll7jajs:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-80463-1rll7jajs:173:8), <anonymous>:17:3) at /tmp/execjs20161208-80463-1rll7jajs:173:8
What does the headlight control sensor do?
If your car has automatic headlights, then it also has a headlight control sensor. Essentially, this is what’s responsible for turning your headlights on and off based on ambient light levels. The sensor is located on the dash near the windshield in front of the driver’s position. It monitors the amount of light outside through the windshield. When it detects dropping light levels, it turns the headlights on.
Don’t cover your dash with anything as it will prevent the sensor from detecting changes in light level.
Don’t cover the sensor itself with anything for the same reason.
Clean the dash regularly, but don’t use harsh cleansers or they might damage the sensor.
A dirty windshield can contribute to false readings by the headlight control sensor.
Have a car question? Get free advice from our top-rated mechanics.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%