This work is based on Raspberry Pi and implements three main functions, namely temperature and humidity measurement, automatic switching on or off of the humidification module beyond the threshold, and anti-dry burning warning. The temperature and humidity sensor and pressure sensor receive the data and display it in real time on the serial port monitor. After the data is sent to the serial port, the WiFi module can transmit the data to the mobile phone application for remote real-time monitoring and surveillance. When the mobile phone detects insufficient water in the humidifier, it turns on the operation pump and pumps a fixed amount of water into the humidifier. At the same time, the data detected by the sensor is put into the deep learning model, and the predicted data is analysed to achieve the effect of pre-humidification and regulating the balance of environmental parameters.