The electromechaical hygrostat is designed to control encloser heaters so that the dew point is raised whrn a critical relative humidity of 65% is exceeded. In this way condensation and corrosion in encloser with electric/electronic components is effectively prevented.