Microservice-Based Local IoT Sensor Network: Protocols, Architecture, and Data Collecting
摘要
This paper focuses on the implementation of a microservice-based architecture for local IoT sensor networks, emphasizing the role of containerization in enhancing system efficiency and reliability. We demonstrate how microservices can efficiently handle data collection from environmental sensors like temperature, humidity, and pressure sensors in a case study on Zigbee sensor integration. The architecture leverages Docker containerization to streamline the deployment and management of essential services, including Zigbee2MQTT for sensor communication and the Mosquitto MQTT broker for message handling. In addition to making modularity and scalability easier, this strategy guarantees that the system can smoothly recover from hardware malfunctions. Our results highlight how microservice architectures can be used to build reliable and effective IoT systems. This research contributes to the discussion on architecture for decentralized IoT architectures, providing insights that can guide the development of more reliable and adaptable systems.