The MQTT communication protocol is a common choice in the area of Internet of Things due to its simplicity of usage, provision of publish-subscribe service and energy efficiency. There is a number of MQTT platforms that enables an efficient creation of solutions in the field of internet of things due to its growing popularity. The purpose of the thesis is to design and develop an application interface between the MQTT system and the Telegram service. With its Bot API, the latter enables a connection of third-party applications with Telegram's message structure. Although the Telegram service is mainly focused on chats between users, it is increasingly also found in solutions in the field of internet of things.
First, the basics of the MQTT communication protocol and the Telegram chat application are presented, followed by the design of the interface between MQTT and Telegram. To implement the target solution, we used the existing Adafruit IO platform, which offers the use of the MQTT protocol. We have connected the platform to Telegram via an interface, which was designed and implemented using the Node-Red tool.
When testing the final solution, we also measured the transition delays and found that the interface with its average latency of around 400 ms satisfies the responsivness for the selected use cases. For other Internet of Things applications, it is necessary to check what latency is still acceptable for their operation.
|