Hello everyone! I’ve been diving into the world of MQTT integration with OpenHAB and wanted to share my experiences, as well as some questions I’ve come across.
First off, I successfully connected two OpenHAB instances over MQTT using the guide from openhab.home.blog. It was a fantastic setup, especially with the channel configuration. The channel type was set as an On/Off switch, with the MQTT state topic and command topic both pointing to generic/test-switch/state and generic/test-switch/command respectively. Everything worked smoothly for this setup!
However, I’ve encountered a challenge when trying to configure channels of different types. My OpenHAB instance currently has a channel that doesn’t fit the standard generic/foo/bar/{state,command} format. I’m curious about the exact settings needed for the MQTT state and command topics on both the master and slave instances to ensure compatibility. Additionally, I’m unsure how to properly link this existing channel into the MQTT setup. Any insights or best practices would be greatly appreciated!
I’d love to hear from others who have tackled similar MQTT configurations or have tips for managing diverse channel types within the MQTT integration framework. Let’s keep the conversation going and help each other navigate these configurations effectively!
Looking forward to your thoughts and experiences.