With the improvement of people's quality of life, the environmental requirements of laboratories and agricultural production, there are higher requirements for the temperature of the environment. The system realizes the real-time detection of the temperature of the detection place through esp32 development board and various sensors, obtains data, and can feed back in real time and remotely through the cloud server, and uses the cloud server to make statistics on the temperature and humidity and draw charts. This paper first analyzes the background and significance of the research, then briefly introduces the development language and the relevant information of the required hardware, then puts forward the overall design direction, and describes in detail the hardware data collection and real-time monitoring, including how to collect data, how to upload and display data. Finally, this paper also analyzes some problems and solutions encountered in hardware selection and data upload.