by Andreas Schreiber for
The Internet of Things is about small devices and sensors that are connected through networks. Typical sensors could be weather sensors or medical devices. The Internet of Things is gaining momentum with the availability of cheap small computer devices, such as Raspberry Pi or Arduino. Most devices have limited computing power. And often they are used with limited network bandwidth. Therefore, to connect (many) devices and exchange data requires extremely lightweight protocols and implementations.
This talk describes Message Queuing Telemetry Transport (MQTT), which is a very suitable messaging protocol for connecting small devices. MQTT uses a publish/subscribe architecture. It is very useful for pushing values from sensors to other devices (e.g., smartphones). Other use cases for MQTT are chat clients (e.g., the Facebook messaging uses MQTT).
The talk focuses on MQTT with Python. Especially, the Open Source MQTT broker Mosquitto is a very good lightweight MQTT implementation with a good Python library for writing client code. The talk contains a couple of examples of applications using Python and MQTT. This includes health applications running on Raspberry Pi and Android smartphones. It will be clear how easy and straightforward applications with messaging can be implemented with Python.