Connecting Two MQTT Brokers: My Experience and Insights

Hi everyone, I wanted to share my experience with connecting two OpenHAB instances using MQTT. While researching, I came across two main options: a direct connection using SSL or an indirect connection via a cloud service like CloudMQTT.

Initially, I leaned toward the direct SSL connection for its security benefits. However, setting it up required opening a port on my router, which made me a bit hesitant due to potential security risks. On the other hand, using CloudMQTT seemed easier to maintain since it didn’t require port forwarding. But I was concerned about adding another potential failure point.

After some consideration, I decided to try the direct SSL connection first. I followed the guide from Steve’s Internet Guide and configured the SSL settings. It worked smoothly, and I didn’t encounter any issues with security. However, I still felt uneasy about having an open port on my router.

Ultimately, I decided to stick with the direct SSL connection because it provided the security I needed without too much hassle. I documented my setup process in case anyone else is considering the same approach.

If you’ve had experience with either option, I’d love to hear your thoughts and any tips you might have! :blush: