I have no idea whats the reason it works when it wants to. Every now and then it will flicker on and then nothing. I am wondering if the sender has crapped out.
The gauge has been wired from the battery with a relay and an in-line fuse. It also has a ground routed to the body ground near the battery. I have a routed all the wiring away from heat as much as possible and all of the connectors have been sealed from moisture as much as possible. All of the wires have been checked for continuity and all check out.