The thermostat probe should be located outside the enclosure for the reasons already listed. Thermostats are made to regulate the heat source itself, not the glass inside the tank. Digital thermometers are made to read the temps inside the enclosure, and should be the units hot glued down inside.