I am working on a school project that uses openHAB to switch three lights on/off remotely. I have openHAB downloaded on my computer and have developed a very basic UI that will get the job done.
I have downloaded the mqtt binding add-on and have also downloaded the mosquito broker and running it on my computer. I have managed to get the broker online,
but I am confused as to how to link the light switches from my UI to the mqtt server. From research I think I have to make a .things and .items file. Any help on the topic would be greatly appreciated as I am very new to openHAB!
That article is useful thank you! It seems like openHAB 3 has a lot more you can do through the UI instead of having to write code like I see in older post on here. To give a little more description of my project I will be connecting to a Arduino UNO which will have an ethernet shield, the Arduino will then send signals to relays to turn the lights on/off.