I. Introduction
In the 21st century, the acceleration of industrialization and the sweeping wave of urbanization not only greatly promote the rapid development of the social economy, but also bring unprecedented ecological and environmental challenges [1]. Faced with this global crisis, environmental protection has become a focus of attention for governments and various sectors of society [2]. With the advancement of technology, especially in the fields of computer technology, control technology, Internet of Things (IoT), and artificial intelligence (AI), unprecedented technological support and solutions have been provided for environmental monitoring and governance [3]. The rise of smart home systems marks a further improvement in human requirements for the quality of living environment [4]. By integrating various sensors and intelligent devices, real-time monitoring of key indicators such as indoor air quality, temperature and humidity, and light intensity can not only provide real-time feedback on the comfort of the living environment, but also effectively alert potential sources of pollution, creating a healthier and safer living space for residents [5].