Zigbee devices work for sometime and then suddenly stop working

Tags: #<Tag:0x00007f43483eecb0> #<Tag:0x00007f43483ee7d8>

Sorry @wsowa unfortunately I didn’t get this all done at such short notice before the 2.5.2 release. Bintray is running extremely slowly for some reason tonight - both their web and backend services and the ZSS release has so far taken a couple of hours and is still running.

I’ll get this into the snapshot tonight or tomorrow hopefully and the release will have to wait until 2.5.3 unfortunately.

1 Like

No worries. It is strange that addon release cycle must be in sync with the whole platform…

Actually the addons are the only thing changed in the 2.5.x releases now. The core is fixed at 2.5.0.

So can i try other dongle…

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