Twilight zone. My guess was that turning on the headlights was pulling the voltage down, thus affecting the electric sender circuit. That of course is assuming you have an electrical sender. But since it is not doing it during the day, I am currently stumped.