Uploaded July 2025 | Updated November 2026, 3 hours ago
In this video tutorial I demo several python scripts that improve message delivery in a very easy and cost effective broker by using 2 MQTT brokers.
The first script uses a standby broker in the event that it cannot connect to the main or primary broker.
The other two scripts will send to the primary broker and switch to the standby in the event the primary fails they also utilise a queue to hold messages in the event that both brokers fail.
There is also a demo receive script that you can use to verify that all messages are received in the correct order.
This video is based on the project tutorial on the website .
steves-internet-guide.com/python-mqtt-client-backup-broker
demo scripts
buymeacoffee.com/steveh5u/e/231054
In this video tutorial I demo several python scripts that improve message delivery in a very easy and cost effective broker by using 2 MQTT brokers.
The first script uses a standby broker in the event that it cannot connect to the main or primary broker.
The other two scripts will send to the primary broker and switch to the standby in the event the primary fails they also utilise a queue to hold messages in the event that both brokers fail.
There is also a demo receive script that you can use to verify that all messages are received in the correct order.
This video is based on the project tutorial on the website .
steves-internet-guide.com/python-mqtt-client-backup-broker
demo scripts
buymeacoffee.com/steveh5u/e/231054










