Zigbee devices work for sometime and then suddenly stop working

I noticed that after installing zigbee binding via the script I am not able to install other bindings.I tried to install myopenhab cloud connector but it is not getting installed.
I can see this error

2020-03-02 05:42:21.530 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-misc-openhabcloud, openhab-binding-zigbee’: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-zigbee; type=karaf.feature; version="[2.5.1,2.5.1]"; filter:="(&(osgi.identity=openhab-binding-zigbee)(type=karaf.feature)(version>=2.5.1)(version<=2.5.1))" [caused by: Unable to resolve openhab-binding-zigbee/2.5.1: missing requirement [openhab-binding-zigbee/2.5.1] osgi.identity; osgi.identity=org.openhab.binding.zigbee.console; type=osgi.bundle; version="[2.5.2,2.5.2]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.zigbee.console/2.5.2: missing requirement [org.openhab.binding.zigbee.console/2.5.2] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.zsmartsystems.zigbee.console)(version>=1.3.0)(!(version>=2.0.0)))"]]

Have you tried the latest script? It will self update, so you should just need to rerun what you have to get the latest. I added the Zigbee console.

can you share with me the link of the snapshot binding

If you want to download just the binding, then you can find it on ci.openhab.org

Hi everyhting was working fine till today.Only I could see this error
[core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-zigbee’: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-binding-zigbee; type=karaf.feature; version="[2.5.1,2.5.1]"; filter:="(&(osgi.identity=openhab-binding-zigbee)(type=karaf.feature)(version>=2.5.1)(version<=2.5.1))" [caused by: Unable to resolve openhab-binding-zigbee/2.5.1: missing requirement [openhab-binding-zigbee/2.5.1] osgi.identity; osgi.identity=org.openhab.binding.zigbee.console; type=osgi.bundle; version="[2.5.2,2.5.2]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.binding.zigbee.console/2.5.2: missing requirement [org.openhab.binding.zigbee.console/2.5.2] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.zsmartsystems.zigbee.console)(version>=1.3.0)(!(version>=2.0.0)))"]]

But then Scott said that he has added the zigbee console.So I used his script and everything broke.After trying a lot I decided to download the jars :point_down:

openhab> list -s | grep zigbee
263 x Active x 80 x 1.3.1 x com.zsmartsystems.zigbee
264 x Active x 80 x 1.3.1 x com.zsmartsystems.zigbee.dongle.xbee
265 x Active x 80 x 1.3.1 x com.zsmartsystems.zigbee.dongle.ember
266 x Active x 80 x 1.3.1 x com.zsmartsystems.zigbee.dongle.telegesis
267 x Active x 80 x 1.3.1 x com.zsmartsystems.zigbee.dongle.cc2531
268 x Active x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee.cc2531
269 x Active x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee
270 x Installed x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee.console
271 x Installed x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee.console.ember
272 x Installed x 80 x 2.5.3.202003010330 x org.openhab.binding.zigbee.console.telegesis
273 x Active x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee.ember
274 x Active x 80 x 2.5.3.202003010329 x org.openhab.binding.zigbee.telegesis
275 x Active x 80 x 2.5.3.202003010330 x org.openhab.binding.zigbee.xbee

[01:40:20] root@openhab:/usr/share/openhab2/addons# ls
com.zsmartsystems.zigbee-1.3.1.jar org.openhab.binding.zigbee.console-2.5.3-20200301.032707-4.jar
com.zsmartsystems.zigbee.dongle.cc2531-1.3.1.jar org.openhab.binding.zigbee.console.ember-2.5.3-20200301.032707-4.jar
com.zsmartsystems.zigbee.dongle.ember-1.3.1.jar org.openhab.binding.zigbee.console.telegesis-2.5.3-20200301.032707-4.jar
com.zsmartsystems.zigbee.dongle.telegesis-1.3.1.jar org.openhab.binding.zigbee.ember-2.5.3-20200301.032707-4.jar
com.zsmartsystems.zigbee.dongle.xbee-1.3.1.jar org.openhab.binding.zigbee.telegesis-2.5.3-20200301.032707-4.jar
openHAB-utils org.openhab.binding.zigbee.xbee-2.5.3-20200301.032707-4.jar
org.apache.servicemix.bundles.xstream-1.4.7_1.jar README
org.openhab.binding.zigbee-2.5.3-20200301.032707-4.jar zzManualInstaller.sh
org.openhab.binding.zigbee.cc2531-2.5.3-20200301.032707-4.jar

Now again everthing is working fine only I can see this error :point_down:2020-03-07 01:28:04.728 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.ember-2.5.3-20200301.032707-4.jar

org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.ember [271]

Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"

Unresolved requirement: Import-Package: org.openhab.binding.zigbee.console

-> Export-Package: org.openhab.binding.zigbee.console; bundle-symbolic-name="org.openhab.binding.zigbee.console"; bundle-version="2.5.3.202003010329"; version="2.5.3"; uses:="com.zsmartsystems.zigbee.console,org.eclipse.smarthome.core.thing"

   org.openhab.binding.zigbee.console [270]

     Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

2020-03-07 01:28:04.756 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console-2.5.3-20200301.032707-4.jar

org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console [270]

Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

2020-03-07 01:28:04.775 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.telegesis-2.5.3-20200301.032707-4.jar

org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.telegesis [272]

Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"

Unresolved requirement: Import-Package: org.openhab.binding.zigbee.console

-> Export-Package: org.openhab.binding.zigbee.console; bundle-symbolic-name="org.openhab.binding.zigbee.console"; bundle-version="2.5.3.202003010329"; version="2.5.3"; uses:="com.zsmartsystems.zigbee.console,org.eclipse.smarthome.core.thing"

   org.openhab.binding.zigbee.console [270]

     Unresolved requirement: Import-Package: com.zsmartsystems.zigbee.console; version="[1.3.0,2.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]

at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

@chris I believe the current snapshot of the binding depends on ZSS 1.3.0 while the fix landed in 1.3.1. Can we update the dependency to 1.3.1 so people using latest OH snapshot have it fixed?

If you use the updater script it should resolve this. I try to avoid too many updates to the dependencies as I was warned some time back about updating this too often. I want to do another update before the next release and don’t want to do this too often and get in trouble again.

1 Like