How to Bridge Two Mosquitto MQTT Brokers

Опубликовано: 15 Октябрь 2024
на канале: Nazmus Nasir
7,975
63

Welcome to the 22nd Raspberry Pi video! This is the thirdin the MQTT series. In this video, I show you how to Bridge two Mosquitto MQTT Brokers, one on your internal network and one on your external cloud server. I include a diagram of my end goal which I hope to achieve soon.

Chapters:
0:00 Intro
0:29 Process Diagram
1:50 Digital Ocean Server Info
2:15 A look at my cloud MQTT Server
2:40 Mosquitto Configuration
6:03 Testing the Setup
4:47 Subscribing to Topics
7:45 One-way subscription
9:24 Conclusion

You can find all of the code on https://github.com/naztronaut/EP-MQTT

Please also see the following link at EasyProgramming.net for more information on the project itself: https://www.easyprogramming.net/raspb...

Prerequisite for this video is that you must have Mosquitto installed. Check out how to do it here:    • Raspberry Pi MQTT Set up with Python ...  

I hope you enjoy the tutorial!

Have questions? Ask below or on EasyProgramming.net!

#RaspberryPi #MQTT #Mosquitto #HomeAutomation
-----------
Visit my website: https://www.easyprogramming.net
Subscribe on YouTube:    / nazmusnasir  
Support me on Patreon:   / nazmus  
Follow me on Twitter:   / nazteroid  
Like me on Facebook:   / easyprogrammingnet  
Check out my Github: https://github.com/naztronaut