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!