Integrating Smart Devices Across Two Locations with MQTT

Hello everyone! I’m really excited to share my recent project where I successfully integrated my smart devices across two different properties using MQTT. I’ve always wanted to control devices at both my homes from a single interface, and after some research, MQTT seemed like the perfect solution.

I started by installing MQTT Broker, Hub, and Client on my primary Homey (Homey1). On my secondary Homey (Homey2), I set up MQTT Hub and Client. Initially, I wasn’t sure if the devices would automatically appear in Homey1, but after some trial and error, I realized I needed to configure the MQTT settings properly to ensure communication between the two hubs.

One thing I learned was the importance of port forwarding on my router to allow the MQTT Broker to communicate externally. It was a bit tricky at first, but once everything was set up, it worked like magic! Now, I can create flows on Homey1 that include devices from Homey2, such as turning on lights at both properties simultaneously. This has really enhanced my smart home experience.

I’d love to hear from others who have tried similar setups or have tips for optimizing MQTT integration across multiple locations. Happy automating! :star2: