February 19, 2019, 7:09am
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.
Still can’t see any binding added in Paper UI.
I can’t understand what I’m missing!
February 19, 2019, 8:55am
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.
Here is a link:
That’s really strange
@Dixon - I suspect turning logging up to TRACE level (see further up this thread to see how to do that in the OpenHAB console) might explain that a bit better.
You might also experience an improvement from downloading and using BETA-11 which I’ve just published.
This version attempts to improve general reliability. The Broadlink network protocol always acknowledges every command sent to a device, so logically, the sendPacket() and receivePacket() functions have been coale…
February 19, 2019, 9:19am
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
Having done all that you could use a maven command to do the build (in other words compile) which would give you the .jar.
February 20, 2019, 7:25am
Sorry for off-topic but this is something you have to put in your profile signature.
Lol. But I felt the Force
February 21, 2019, 5:25am
Not really. You can build with just Maven.
But a full IDE is nice if you’re going to be doing much code editing.
February 21, 2019, 9:56am
Now got stuck on Eclipse installation (( . Trying to find a solution for this on Eclipse Forums.
February 21, 2019, 1:18pm
I had some problems installing the latest Eclipse Version on macOS.
In the Eclipse Installer, you can choose an older version, lik 2018-09. I had no succes with newer version, but 2018-09 installed fine for me.
February 21, 2019, 4:27pm
What did you select to install? Did you follow the steps :
February 26, 2019, 12:07pm
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!!
February 26, 2019, 3:02pm
Could you post a link to it, please?