Zigbee devices work for sometime and then suddenly stop working

Tags: #<Tag:0x00007f43313dd148> #<Tag:0x00007f43313dcf90>

Until this issue is fixed shall i try digi xbee s2c pro dongle…
Digi S2C XBEE3 PRO with PCB antenna Part no. XB3-24Z8PT👈 this is availble in my area…
Can anyone tell me which firmware must be flashed for xbee3 s2c to work with the binding.

This issue was fixed already a couple of weeks back. You should use the latest snapshot with the latest ZSS library.

I believe that Scotts update script will allow you to do this.

1 Like

Be aware the script was recently updated due to repo changes in 2.5.2 Be sure you use the latest version.

Yes, it does.

The script updates itself to the latest version.

2 Likes

hi is this the latest snapshot and latest zss library

Addons path: /usr/share/openhab2/addons
openHAB account: openhab
Requested action: Install or upgrade Zigbee binding
Current openHAB snapshot version: 2.5.3
Requested Zigbee version: ZigBee Library snapshot (still in development)
Requested Zigbee library version: 1.2.9

Addons path: /usr/share/openhab2/addons
openHAB account: openhab
Requested action: Install or upgrade Zigbee binding
Current openHAB snapshot version: 2.5.3
Requested Zigbee version: ZigBee Library snapshot (still in development)
Requested Zigbee library version: 1.2.9

Is this correct?

  1. Yes, start now
  2. No, take me back to the first menu
  3. Exit
    #? 1

Uninstalling any managed binding(s) and installing serial transport…

Logging in as openhab
Password:
Error executing command: No matching bundles
… a ‘No matching bundles’ error mesage is normal, if a binding had not been previously installed.

Backing up and uninstalling any unmanaged installs of Zigbee… done.

Downloading new Zigbee jars… done.

Installing unmanaged Zigbee binding…

!!! It has taken more than two minutes to install the Zigbee binding, so exiting !!!

[18:46:16] root@openhab:/usr/share/openhab2/addons# ls
archive com.zsmartsystems.zigbee.dongle.xbee.jar org.openhab.binding.zigbee.ember.jar README
com.zsmartsystems.zigbee.dongle.cc2531.jar com.zsmartsystems.zigbee.jar org.openhab.binding.zigbee.jar zzManualInstaller.sh
com.zsmartsystems.zigbee.dongle.ember.jar openHAB-utils org.openhab.binding.zigbee.telegesis.jar
com.zsmartsystems.zigbee.dongle.telegesis.jar org.openhab.binding.zigbee.cc2531.jar org.openhab.binding.zigbee.xbee.jar

openhab> list -s | grep -i zig
294 x Installed x 80 x 2.5.3.202002221752 x org.openhab.binding.zigbee.cc2531
295 x Active x 80 x 1.2.9.SNAPSHOT x com.zsmartsystems.zigbee.dongle.telegesis
296 x Active x 80 x 1.2.9.SNAPSHOT x com.zsmartsystems.zigbee.dongle.ember
297 x Active x 80 x 1.2.9.SNAPSHOT x com.zsmartsystems.zigbee.dongle.xbee
298 x Installed x 80 x 2.5.3.202002221752 x org.openhab.binding.zigbee.xbee
299 x Installed x 80 x 2.5.3.202002221751 x org.openhab.binding.zigbee
300 x Installed x 80 x 2.5.3.202002221752 x org.openhab.binding.zigbee.ember
301 x Active x 80 x 1.2.9.SNAPSHOT x com.zsmartsystems.zigbee
302 x Active x 80 x 1.2.9.SNAPSHOT x com.zsmartsystems.zigbee.dongle.cc2531
303 x Installed x 80 x 2.5.3.202002221752 x org.openhab.binding.zigbee.telegesis

I cannot find the binding in paper ui ? I dont know if everything is right? In paper ui I can see zigbee binding-2.5.1…

Manually installed bindings do not show up in the Paper UI.

You are using option 3 for the libraries but need option 2, which are at 1.3.1.

1 Like

Ok…how to configure the binding?

Thanks chirs,Bruce,wsowa and Scott Rushworth for help, support and such ausome work.The binding is working fine without buffer overrun error.But I can now see following error although everyting is working fine.

I can see this error in logs

[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)))"]]

The Zigbee console is not installed by my script or through Paper UI. Did you manually install it at some point? If so, delete the jar. If that doesn’t work, try restarting OH.

I guess it’s possible that something has changed very recently, but I did not see this error a couple days ago when I updated the script. BTW, did you ever get the script to complete?

Hmmm - I think it should be? At least it is included in the feature file as far as I know - I think that was added for 2.5.1. I guess if you have an old version (ie 2.5.0), and are then using the script to update, then this is probably going to happen.

I’ll get it added to the script then

2 Likes

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