Design of a Web-based Smart Home Monitoring and Control Platform
In order to enhance the safety,comfort,and convenience of modern family life,a Web-based smart home remote monitoring and control platform was designed.The platform is composed of home monitoring system,Web server platform and Web monitoring terminal.STM32 is used as the main control core to collect data from various sensor modulesto achieve real-time monitoring temperature and humidity,air quality and light intensity of the indoor environment.At the same time,the remote control function can be realized through the regulation of household appliances through networking,and data ex-change between the monitoring system and the server can be realized through the communication module M5130-A.The web server adopts the model-view-controller(MVC)design pattern to achieve communica-tion with the monitoring system,environmental data processing,and the communication function with the web monitoring terminal.The transmission control protocol(TCP)is used to achieve communication with the monitoring system,and the Websocket protocol is used to achieve communication between the server and the monitoring terminal.The results of the operation test indicate that the system is stable,accurate,highly operable,and has excellent human-machine interaction,which has certain industrialization value.