Can't install http binding on OH2.4

I’d like to use a simple http post so send a command to my phone. This seems to need the http binding, so i tried to use Paper UI to install the binding-http1 - 1.13.0 but this didn’t work and the errorlog shows it tries to download the binding but fails (and keeps repeating every 30 seconds).

I did have an old backup of 2.4 install media and found org.openhab.binding.http-1.9.0.jar, which I copied to C:\openHAB2\userdata\tmp\mvn\org\openhab\binding\org.openhab.binding.http\1.13.0 but that didn’t work.

I found a copy of the mav openhab-addons-2.4.0.kar file and without really knowing what to do with it, I optimistically put it in the C:\openHAB2\userdata\kar folder in the vague hope that OH may look there before trying to download the binding. Nope.

Can anyone help? There must be some way to extract the http binding from the kar file and put it somewhere useful…


  • Platform information:

    • Hardware: Old laptop, ran OH 2.4 for years
  • OS: Windows 10

    • Java Runtime Environment: 1.8.0_271
    • openHAB version: 2.4
  • Issue of the topic: Can’t install http binding

  • Please post configurations (if applicable):

    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue: addons.cfg
      binding = hue,amazonechocontrol,zwave,sonos,openweathermap,astro,network,gpstracker,mqtt,ntp,expire1 (also tried with “, http” and with “http1” added)
  • If logs where generated please post these here using code fences:
    2022-02-10 11:26:51.493 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-http1, openhab-binding-http’: Error:
    Error downloading mvn:org.openhab.binding/org.openhab.binding.http/1.13.0


You need the separate xxx-legacy kar for v1.x add-ons

Good luck finding 2.4 version, but as little changes for 1.x bindings you’ll probably get away with 2.5

This is going to get harder for you in future, if you intend to stay on OH2 at least consider updating to the last supported version 2.5.12. And definitely secure a copy of all 2.5.12 offline install files now.

2.4 to 2.5 was not an entirely insignificant change, paving the way for OH3. It did have a few small effects on some rules etc. refer to release notes if they still exist. Someone would have found/fixed every issue in old forum posts.

legay kar file can be found here: Central Repository: org/openhab/distro/openhab-addons-legacy/2.4.0

Thank you so much! The update from Kai fixed my problem.

I do intend to migrate and have made a small start but I have a big system and it’s a daunting task. Whenever I look at it, it growls menacingly at me…

Still, it has to be done.

Thanks again!

Thank you!