Wildfire is a sudden and hazardous natural disaster. Currently, many schemes based on optical spectrum analysis have been proposed to detect wildfire, but obstacles in forest areas can decrease the efficiency of spectral monitoring, resulting in a wildfire detection system not being able to monitor the occurrence of wildfire promptly. In this paper, we propose a novel wildfire detection system using sound spectrum analysis based on the Internet of Things (IoT), which utilizes a wireless acoustic detection system to probe wildfire and distinguish the difference in the sound between the crown and the surface fire. We also designed a new power supply unit: tree-energy device, which utilizes the biological energy of the living trees to generate electricity. We implemented sound spectrum analysis on the data collected by sound sensors and then combined our classification algorithms. The results describe that the sound frequency of the crown fire is about 0–400 Hz, while the sound frequency of the surface fire ranges from 0 to 15,000 Hz. However, the accuracy of the classification method is affected by some factors, such as the distribution of sensors, the loss of energy in sound transmission, and the delay of data transmission. In the simulation experiments, the recognition rate of the method can reach about 70%.