Home automation has gained a lot of popularity nowadays as it enables people to live a smart life. With MQTT broker integrated into the home automation platform you can easily develop your own home automation system. OpenHAB is one such open source platform you can use to automate your home devices. Here is a step by step tutorial on how to integrate MQTT broker with the OpenHab.
OpenHAB can be run on different versions of macOS and Windows and many different variants of Linux (Ubuntu, Raspbian, etc.).
Prerequisites : You need to get any of the JAVA platform installed mentioned below
Now download & install Java 11
Check your current java version by opening a command line
java -version
Then Set up variants by Downloading and extracting a platform-independent zip archive: macOS, Windows, Linux.
Now install the downloaded packages from this openhab installation page.
Signing up with a new account is the first & foremost step.
Follow the steps mentioned by Open HAB. You can either finish up with the configurations or can be done it later.
Once you finish your set up. Let us move on to Add-ons which is present under the settings tab.
Your MQTT-binding set up is completed now.
Complete your download & installation step of MQTT broker.
Check our Broker help documentation for step by step procedure for installation.
Once done, go to Bevywise/MQTTRoute/conf You need to enable authentication in broker.conf file.
[AUTHENTICATION] AUTHENTICATION_ENABLED = YES # YES || NO
Save your changes.
Now move to the openHAB UI.
Hope this article provide you a detailed view on openHAB integration with MQTT Broker. Try setting up with the home automation platforms by yourself & integrating MQTT broker to control your home devices.
Download endlessly free MQTT Broker to get started with your Home automation set up.
The MQTT Broker version 3.3 is now available with mobile app to track your devices right from your android.
Try our MQTT Broker for FREE and experience seamless connectivity.