An electronic hygrotherm controls the temperature and relative humidity inside cabinets and enclosures for electrical and electronic systems. When the set values are reached, it activates the heating or ventilation. This prevents condensation from forming on electronic components.