In the present study, with the help of sensor nodes located in different sections of the tunnels in the dam, the temperature and humidity values were monitored by the interface program through the means of a wireless sensor network in tree topology, whereupon the control of temperature and humidity was performed. In the measurements during the operation of the air-conditioning system, temperature values of the tunnel measured ranged between 14 0C and 16 0C and humidity ranged between 53% and 55%. After assuming these values as threshold values, control of the air-conditioning system was simulated according to the measured temperature and humidity values.