A pressure support system includes a pressure generating device, an airflow path, and a control system. The control system is structured to determine a first measurement indicative of an amount of water vapor in the airflow path or an amount of condensation in the airflow path and generate a number of control signals structured to control an environmental control device structured to control an environmental parameter in an environment including the pressure support system, wherein the control signals are generated based on at least the first measurement and are configured to cause the environmental control device to adjust the environmental parameter in a manner that will reduce a degree or a likelihood of rainout in the airflow path, and transmit the control signals to the environmental control device so that it may be controlled to reduce the degree or likelihood of rainout.