pp. 1701-1710
S&M2211 Research Paper of Special Issue https://doi.org/10.18494/SAM.2020.2686 Published: May 10, 2020 Constructing Home Monitoring System with Node-RED [PDF] Chine-Yu Lu, Fei-Hsu Chen, Wen-Chiung Hsu, Yu-Qiang Yang, and Te-Jen Su (Received September 25, 2019; Accepted February 19, 2020) Keywords: home monitoring system, Node-RED, MQTT, database, remote monitoring
The aim of this study is to design a home monitoring system with a simple and clear visual interface that integrates home appliances, disaster prevention, and surveillance facilities. Furthermore, the Node-RED visual development environment was utilized to create the system, and the users will be able to configure the environmental parameters by themselves with its simple and graphical programming interface, to customize the user interface. In this study, we utilize the Node-RED development software installed on a personal computer and the Message Queuing Telemetry Transport (MQTT) to communicate and exchange data with home devices under the publish/subscribe mode, so that the stability of data transmissions can be ensured while more resources are saved; in addition, MySQL database management tools are used to access the data stored in the home devices for the statistics and analysis of changes in environmental data. Moreover, the HyperText Transfer Protocol (HTTP) is also used to acquire various information from the government’s open source data platform, and the information will be integrated and displayed on the Node-RED webpage interface. Since Node-RED uses a webpage interface, the devices that can use web browsers to view webpages, such as computers and smart phones, can thus be used to remotely monitor the Node-RED program. Finally, we utilize the Node-RED development software installed on a personal computer and MQTT to communicate and exchange data with the home devices under the publish/subscribe mode. The smart home system is divided into input and output parts, which control the electrical appliances and read the sensor information. Ten switches on the Web control interface are used to control the living room, kitchen, balcony, and bedroom light switches, air-conditioning, heating, exhaust fans, outdoor lights, doors, and alarm switches.
Corresponding author: Te-Jen SuThis work is licensed under a Creative Commons Attribution 4.0 International License. Cite this article Chine-Yu Lu, Fei-Hsu Chen, Wen-Chiung Hsu, Yu-Qiang Yang, and Te-Jen Su, Constructing Home Monitoring System with Node-RED, Sens. Mater., Vol. 32, No. 5, 2020, p. 1701-1710. |