Zigbee and zwave manual install script

Probably sooner than a month, since there is a fix for the security fix for Exec.

I think with a repository installation, and the current way things are setup for 2.5.x, you can clear the cache and your 2.x addons will update. Best go ask/find details in another topic though!

1 Like

The script has broken after the 2.5.2 release, since the URLs on jfrog seem to have changed again. Since NOBODY has bought me a beer, I do not think I will be updating the script any time soon. :slightly_frowning_face:

Just kidding… 1.2.5 has been released

Hmm I´d buy you a beer… It´s standing here on my table, just waiting for you to grap it :smiley:

You must have not seen the latest script… I added a link for beer donations (also in my forum profile) :slightly_smiling_face:

Hmm… Nope I must have missed that part… Well, I guess I have to drink it myself then :smiley:

1 Like

I’ve released another update after the URLs changed again and added the Zigbee console, which appears to now be required.

3 Likes

Script version: 1.2.6

 *****     SUMMARY     *****

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 release (pre-openHAB snapshot)
Requested Zigbee library version: 1.3.1

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…
… if prompted for a password for the Karaf console, the default password is ‘habopen’…

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…

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

I am facing this error while running the script.

What do you see in your openHAB.log file? Please use code fences.

no errors are seen in the logs

I wasn’t asking about errors, as I did not expect there would be any. I asked to see the openhab.log during the time the script ran to understand the issue. The script works fine for me.

What version of OH are you running?

1 Like

I am using openhab version 2.5.1

Ok i will share the log while script is running.

2 Likes

Hi i did manual install and it seems to be working fine now…

I did the exact same upgrade attempt as @Rak123 above, installing to 1.3.1, just after installing latest OH 2.5.2-1. I did not get the 2min timeout (I did on the snapshot version though, files downloaded ok, but then timed out on installing). I do get a whole lot of stuff in the log when starting up after upgrade, but everything seems to be working ok…

2020-03-08 21:44:47.480 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.telegesis.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.telegesis [279]
  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 [288]
         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.doProcess(DirectoryWatcher.java:520) [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-08 21:44:47.486 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.ember.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console.ember [289]
  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 [288]
         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.doProcess(DirectoryWatcher.java:520) [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-08 21:44:47.543 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zigbee.console.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zigbee.console [288]
  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.doProcess(DirectoryWatcher.java:520) [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-08 21:44:50.540 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEDC59AE: Starting ZigBee device discovery
2020-03-08 21:44:50.541 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFEBDF47F: Starting ZigBee device discovery
2020-03-08 21:44:50.542 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED1677E: Starting ZigBee device discovery
2020-03-08 21:44:50.544 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED15DE7: Starting ZigBee device discovery
2020-03-08 21:44:50.544 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFE27C74C: Starting ZigBee device discovery
2020-03-08 21:44:59.341 [WARN ] [zsmartsystems.zigbee.ZigBeeExecutors] - Uncaught exception in thread TelegesisCommands-thread-1
java.lang.NullPointerException: null
	at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:1.8.0_222]
	at com.zsmartsystems.zigbee.dongle.telegesis.ZigBeeDongleTelegesis.telegesisEventReceivedRunnable(ZigBeeDongleTelegesis.java:773) ~[?:?]
	at com.zsmartsystems.zigbee.dongle.telegesis.ZigBeeDongleTelegesis$2.run(ZigBeeDongleTelegesis.java:749) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_222]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
2020-03-08 21:44:59.777 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 14B457FFFE2D9641: Starting ZigBee device discovery
2020-03-08 21:45:00.259 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 14B457FFFE6B26EF: Starting ZigBee device discovery
2020-03-08 21:45:00.264 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:0000000C:14b457fffe6b26ef' to inbox.
2020-03-08 21:45:02.612 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFED223A1: Starting ZigBee device discovery
2020-03-08 21:45:02.620 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 90FD9FFFFEE9249D: Starting ZigBee device discovery
2020-03-08 21:45:02.620 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - CCCCCCFFFE58F1FE: Starting ZigBee device discovery
2020-03-08 21:45:02.626 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEDABEED: Starting ZigBee device discovery
2020-03-08 21:45:03.326 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - D0CF5EFFFEC0C9B4: Starting ZigBee device discovery
2020-03-08 21:45:05.735 [INFO ] [bee.discovery.ZigBeeDiscoveryService] - 000D6FFFFEAD891F: Starting ZigBee device discovery

If the instructions in this thread did not resolve your issue you have a different issue with similar symptoms. Please start a new thread.

1 Like

I agree with Bruce. The warnings about resolving dependencies are normal, as long as the dependencies finally get resolved. The errors though have nothing to do with the installation script and should be brought up in another topic.

To be clear, I referenced rak123 because I did not get his error, so just added that info, sorry for confusing things.
Regarding my problem though, I see no sign that the dependencies gets resolved and I get the same errors the next time I start up the system, so I can’t really agree that we can rule out problems with the script.

I found some missing libraries for the Zigbee console. Try the latest and see if the dependencies are now resolved.

2 Likes

Installs fine and boots up without any errors now. Thank you!

1 Like

6 posts were split to a new topic: Problem installing ZWave binding