I am quite new to openhab and still keep warming up. What I am not being able to do is adding a GitHub binding to my Openhab so that I can see it on my Bindings list on PaperUI.
I tried to add this binding shown as follows :
I tried all each following actions to make it work but no use :
I cloned the repository files , as folder , as .zip and also convert it as .Jar (because I can not download it as .Jar file ) :
jar cf org.openhab.binding.broadlink.jar org.openhab.binding.broadlink
and added it to my openhab/addons/ folder , and even added binding in addons.cfg file as binding = broadlink.
What you downloaded is a zip files containing the repository file. Source code and all. There is no jar file in there. Converting a zip file to a jar file does not make a jar file. Just like putting a Jedi costume on does not make you a Jedi. The repo files need to be compiled into a jar file that the openHAB java machine can read.
I don’t know how to do that.
I don’t use the broadlink binding.
If you want to build a .jar, you need to compile the code you “cloned” from github. For that you Need a full IDE installatin as decribed in here.
Having done all that you could use a maven command to do the build (in other words compile) which would give you the .jar.
Probably because of my firewall settings . Now tried again with a differen internet and no issues with setting up IDE.
In addition to , I found a working Broadlink binding (.Jar) and could be able to directly add the .jar file to my /Addons/ folder and worked perfectly!!