ABSTRACT

Experimental Physics and Instrumental Control System is not the only system to integrate a large number of sensors and actuators under a common interface. Another such system is the message queue telemetry transport (MQTT) protocol that was originally created by, among others, IBM, in order to collect information from widely distributed infrastructures such as oil pipelines in a battery-saving and energy-efficient as well as robust and secure way. MQTT is based on a publish/subscribe method between clients with a message-passing broker in the middle. The broker acts as the hub passing messages from one client that publishes data to another that subscribes to published data. The mosquitto broker is widely supported on many platforms, and also on the Raspberry Pi. Readers install it, after bringing the system up to date with sudo apt-get update and sudo apt-get upgrade, using the command sudo apt-get install mosquitto mosquitto-clients.