Don’t forget to virus check all downloads and let me know if you have any problems.

Make a Contribution

pay-pal-buy-nowIf you find these downloads useful and would like to support this site then please consider making a small contribution by clicking here.

Mosquitto install files for windows are here.

(Updated to Mosquitto version 1.4.14 on 14-jan-2018). If you have problems with this version let me know

Just unzip it go to the directory and run the broker manually as covered here.


MQTT Projects and Scripts

MQTT Topic Logger

Similar to the data logger but logs messages using a folder hierarchy to match the topic hierarchy
MQTT-Topic-Logger File-Folder-Structure

Description and Usage –Simple Python MQTT Topic Logger

MQTT Data Logger

This script will log data on a collections of topics to a text file. It logs

  • Message time
  • Message topic
  • message

It two modules.

  • A logger class module
  • The logging script.

Description and Usage –Simple Python MQTT Data Logger

MQTT Data Logger SQL

As above but logs to a sqllite database.

Simple Controllable Sensor

A very simple two state sensor using python , that can be controlled externally using MQTT. Also now publishes its connection status.

 Publish and Subscribe Payload Encryption Script

The encryption code for this script was mostly taken from this tutorial.

Here is an example publish subscribe script that encrypts the payload.


MQTT Test Tools


Python utility like the traditional IP Ping for testing if a broker is up.

MQTT Retained Messages Tools

This MQTT testing tool is a simple Python script that will list topics that have a retained message and optionally deletes the retained message.

There is a short usage tutorial here

MQTT Monitor

This is very useful tool for monitoring topics on a broker.

Demo Scripts used in Tutorials

Tutorial -Sonoff Tasmota MQTT switch

TutorialUsing the Node.js MQTT Client-Starting Guide

Tutorial –Republish HTML Data Over MQTT (Flight Arrivals )

Tutorial- Checking Active MQTT Client Connections

Tutorial- Mosquitto Username and Password Authentication -Configuration and Testing

Tutorial-Working with Client Connections- Python MQTT

TutorialUsing MQTT Over WebSockets with Mosquitto

Tutorial –Using The JavaScript MQTT Client With Websockets

Related Tutorial –Using MQTT Over WebSockets with Mosquitto

Tutorial –Understanding callbacks

Tutorial –Checking MQTT Subscription Acknowledgements- Python Code Examples


YouTube Video Scripts

Node-Red Join Node

Node-Red Split Node

Republish HTPP Data Over MQTT with Node-Red

Republish HTTP Data over MQTT follow up Video

How to Republish HTTP Data (web page) Over MQTT- Python

How to Log MQTT Sensor Data in Node-Red

Read and Write Data To a File In Node-Red

Publish and Subscribe to a Cloudmqtt Broker

JSON Data Over MQTT with Node-Red

Subscribing To Topics Using the Python Client-

Using the Paho MQTT Client Video Scripts

Creating an MQTT Dashboard Using Thingsboard

Sending and Receive JSON data Using Python MQTT client

How to Create a Node-Red MQTT Dashboard

How to Store data in Node-red Variables

Using Websockets with SSL

Simple Controllable Sensor with Node-Red-

Sending JSON Data  Over MQTT with Node-Red

Node-Red Dashboard Basics