-
Notifications
You must be signed in to change notification settings - Fork 10
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
Comments
? |
Did someone solve this problem? |
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. |
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 |
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 :)
The text was updated successfully, but these errors were encountered: