OH2 HTTP Binding on Raspberry Pi Not Working

I have been working with OpenHAB v1 for a while and am not trying to move to v2. At this point most things are working with the notable exception of the HTTP binding. I am running the latest OH2 build and when starting OH I see the “Extension ‘binding-http’ has been installed.” message in the events.log. All of the HTTP items show up in the UI as defined in the sitemap but none are initialized. It seems the binding is starting but none of the items are getting initialized.

I am trying to run this on my RaspberryPi 2B. What’s really strange is that this same setup (same OH build and configuration) runs perfectly well on my desktop. On the RaspberryPi I have tried different Java versions both OpenJDK and Oracle all with the same results. Hopefully this is just something I missed when setting up the Pi, like setent or something.

Any suggestions would be greatly appreciated.

I suspect that your beta or snapshot of openHAB 2 might be out of date. I just downloaded the latest offline distro, added

binding = http1

to my conf/services/addons.cfg, and all started properly.


Well now I am impressed. I had

binding = http

instead of http1. I couldn’t even tell you how many hours I wasted on this. Thank you very much.

1 Like