Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OH 2.5 breaks binding (dependencies issue?) #91

Open
Interstellar0verdrive opened this issue Jan 28, 2020 · 4 comments
Open

OH 2.5 breaks binding (dependencies issue?) #91

Interstellar0verdrive opened this issue Jan 28, 2020 · 4 comments

Comments

@Interstellar0verdrive
Copy link

Interstellar0verdrive commented Jan 28, 2020

Till now, I successfully used the binding in OH 2.4.
I use it on a Raspberry Pi 3b+, both with the native BT adapter and with an external one (Kinivo BTD-400). Tested and working using both modules, with Xiaomi BT temperature and humidity sensors, which is the main reason why I am using this binding.

I just did a fresh new OH 2.5 install, I had the Bluetooth daemon 5.50, which I downgraded successfully to 5.47.
I installed the 3 packages using PaperUI, but the binding doesn't appear in the bindings list (Paper UI: Configuration > Bindings). Digging via the console, with bundle:list command, I see the 3 bundles are listed as "installed", they are not "acitve" like the other bundles in the list.
If i try to activate the bundles (bundle:start ) i get error messages pointing out:

Unresolved requirement: Import-Package: org.apache.commons.collections

In my (very limited) understanding, this has to do with some dependencies missing. I also read that the newer bnd system does not handle multiple versions of jars like the old system did. I tried to deactivate the other bindings in my system, to see if there was a conflict, but with no success.

See: https://github.com/openhab/openhab2-addons/pull/6467
A similar issue that has ben solved for another binding: https://community.openhab.org/t/ipcamera-new-ip-camera-binding/42771/1162

Is there a way to solve this, or at least can you help providing some instructions/commands to activate the dependencies manually?

Thank you :)

@kevin71246
Copy link

?

@korneliuszm
Copy link

korneliuszm commented May 14, 2020

Did someone solve this problem?

@Interstellar0verdrive
Copy link
Author

In my understanding this binding is basically abandoned or with a very limited maintenance. Personally I gave up and moved to a different non-bluetooth device.

@Crazyphil
Copy link

It seems that a dependency of the add-on that has previously been included in OpenHAB was removed. Just download the JAR file of the Apache Commons Collections library to your OpenHAB installation's addons directory (which is /usr/share/openhab2/addons when installed via the Debian packages) and it should work immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants