When I install the HTTP binding from PaperUI I get the following error:
Failed installing 'openhab-binding-http1': Unable to resolve osgi.identity; type="osgi.bundle"; version:Version="18.104.22.168002171457"; osgi.identity="org.openhab.core.automation.module.script.rulesupport": missing requirement osgi.wiring.package; filter:="(osgi.wiring.package=org.openhab.core.automation.module.script.rulesupport.shared.simple)"
Do I need to install something else for this binding to work properly?
Hardware: Intel with Windows 10
openHAB version: 2.5.2 stable release
Have you enabled legacy binding support?
Yes, legacy support is enabled. I tried it enabled and disabled and got the same result.
I just realized I’m running a corrected version of “org.openhab.core.automation.module.script.rulesupport” to fix the rule loading issue on Windows. I wonder if that is causing the issue?
@niebochod, with the help of your debugging, I was able to fix the issue on Windows where scripts were not starting when OH starts. Here is the PR…
This PR will end up in OH 3.0, but I’ve made a test jar that is built to work with OH 2.5.x. If you’d like to try it (or anyone using scripted automation with Windows!), use your console to uninstall this bundle…
Then shutdown OH, download this jar, and copy the jar into your…
Seems to be related… in the console, what is returned for this?
list -s |grep rulesupport
I’m thinking you make have cleared the cache and the original bundle popped up again, so you may need to uninstall it again. I’ll fire up my Windows VM and install http1.
303 | Active | 80 | 22.214.171.124002171457 | org.openhab.core.automation.module.script.rulesupport
OK… I received the same error. So, remove the updated rulesupport bundle from /addons/ and install the http1 binding or wait for it to try to install again. After it installs, follow the steps again for adding in the updated bundle.
That seemed to do the trick. Thanks Scott!
Please mark the topic solved by clicking the square box on the post that provided the solution.