Better still, grab a thermal coupler.
The problem with the temperature sensor is that it measures the temperature of the coolant, not the engine.
The engine will go into detonation long before the coolant rises enough to become noticeable.
Therefore using a thermal coupler you will notice this spike almost immediately and be able to rectify the situation before it becomes detrimental.