MQTT

Introduction

MQTT is one of the 3 default protocols supported on the Virtual Private Mesh (the other 2 are HTTP (web) and SMTP (email).

The asynchronous nature of MQTT is used as to complement the synchronous nature of HTTP in communications between Console Devices.

If possible MQTT 3.1.1 should be used, although earlier MQTT versions 3 and 3.1 are also supported.

References

1. Python MQTT

The paho library seem quite standard for MQTT in python.

1.1. paho

Usage Example

2. PHP MQTT

There are a number of PHP MQTT libraries available.

2.1. php-mqtt

Usage Examples

2.2. phpMQTT

Usage Examples

2.3. Other PHP MQTT Libraries:

MQTT Gateway

MQTT Logging