Help Required with Open Hab Setup

Hi I am having issues running Openhab for the first time on a Mac.
I am new to Open Hab so need help.

  • Platform information:

    • Hardware: CPUArchitecture/RAM/storage
      Macbook Air 1.7 Ghz Intel Core i7 / 8 GB Ram 500GB Storage

    • OS: what OS is used and which version
      Mac Mojave 10.14,6

  • Java Runtime Environment: which java platform is used and what version
    Last login: Sat Aug 17 10:13:29 on ttys001
    ST-MacBook-Air:~ st-basanti$ java -version
    openjdk version “11.0.4” 2019-07-16 LTS
    OpenJDK Runtime Environment 19.7-(Zulu-11.33+15-macosx_x64)-Microsoft-Azure-restricted (build 11.0.4+11-LTS)
    OpenJDK 64-Bit Server VM 19.7-(Zulu-11.33+15-macosx_x64)-Microsoft-Azure-restricted (build 11.0.4+11-LTS, mixed mode)

  • openHAB version:
    2.4.0

  • Issue of the topic: please be detailed explaining your issue
    I cannot download new bindings please see errors log attached at end.

  • Please post configurations (if applicable):

    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:
    Last login: Sat Aug 17 10:13:28 on ttys000
    ST-MacBook-Air:openhab-2.4.0 st-basanti$ java -version
    openjdk version “11.0.4” 2019-07-16 LTS
    OpenJDK Runtime Environment 19.7-(Zulu-11.33+15-macosx_x64)-Microsoft-Azure-restricted (build 11.0.4+11-LTS)
    OpenJDK 64-Bit Server VM 19.7-(Zulu-11.33+15-macosx_x64)-Microsoft-Azure-restricted (build 11.0.4+11-LTS, mixed mode)
    ST-MacBook-Air:openhab-2.4.0 st-basanti$ /Users/st-basanti/Desktop/openhab-2.4.0/start.sh
    Launching the openHAB runtime…

                        __  _____    ____
    

    ____ ____ ___ ____ / / / / | / __ )
    / __ / __ / _ / __ / // / /| | / __ |
    / /
    / / // / __/ / / / __ / ___ |/ // /
    _/ ./_// /// /// |/_____/
    /_/ 2.4.0
    Release Build

Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.

openhab> org.apache.karaf.features.internal.util.MultiException: Error:
Error downloading mvn:org.openhab.binding/org.openhab.binding.weather/1.13.0
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.(MavenDownloadManager.java:91)
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(Mav

Did you download and correctly install the “addons” and also the “legacy addons” ?

The weather binding you fail to load should be contained in the legacy addons package.

Dear Markus
Thanks for your quick answer.

I downloaded both the addons and legacy addons and extracted them amd put them in the addons folder. I merged the folders from both add ons to one

However i am still getting the following errors:
Last login: Sat Aug 17 12:43:21 on ttys001
ST-MacBook-Air:openhab-2.4.0 st-basanti$ /Users/st-basanti/Desktop/openhab-2.4.0/start.sh
Launching the openHAB runtime…

                      __  _____    ____

____ ____ ___ ____ / / / / | / __ )
/ __ / __ / _ / __ / // / /| | / __ |
/ /
/ / // / __/ / / / __ / ___ |/ // /
_/ ./_// /// /// |/_____/
/_/ 2.4.0
Release Build

Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.

openhab> org.apache.karaf.features.internal.util.MultiException: Error:
Error downloading mvn:org.openhab.binding/org.openhab.binding.weather/1.13.0
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.(MavenDownloadManager.java:91)
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:457)
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:452)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:224)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Suppressed: java.io.IOException: Error downloading mvn:org.openhab.binding/org.openhab.binding.weather/1.13.0
at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
… 3 more
Caused by: java.io.IOException: Error resolving artifact org.openhab.binding:org.openhab.binding.weather:jar:1.13.0: [Could not transfer artifact org.openhab.binding:org.openhab.binding.weather:jar:1.13.0 from/to openhab (https://dl.bintray.com/openhab/mvn/online-repo/2.4/): /Users/st-basanti/Desktop/openhab-2.4.0/userdata/tmp/mvn/org/openhab/binding/org.openhab.binding.weather/1.13.0/org.openhab.binding.weather-1.13.0.jar.part.lock (No such file or directory)]
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:720)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:659)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:600)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:567)
at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:47)
at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)
… 7 more
Suppressed: shaded.org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.openhab.binding:org.openhab.binding.weather:jar:1.13.0 from/to openhab (https://dl.bintray.com/openhab/mvn/online-repo/2.4/): /Users/st-basanti/Desktop/openhab-2.4.0/userdata/tmp/mvn/org/openhab/binding/org.openhab.binding.weather/1.13.0/org.openhab.binding.weather-1.13.0.jar.part.lock (No such file or directory)
at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:705)
… 12 more
Caused by: java.io.FileNotFoundException: /Users/st-basanti/Desktop/openhab-2.4.0/userdata/tmp/mvn/org/openhab/binding/org.openhab.binding.weather/1.13.0/org.openhab.binding.weather-1.13.0.jar.part.lock (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at shaded.org.eclipse.aether.connector.basic.PartialFile$LockFile.tryLock(PartialFile.java:123)
at shaded.org.eclipse.aether.connector.basic.PartialFile$LockFile.lock(PartialFile.java:71)
at shaded.org.eclipse.aether.connector.basic.PartialFile$LockFile.(PartialFile.java:58)
at shaded.org.eclipse.aether.connector.basic.PartialFile$Factory.newInstance(PartialFile.java:210)
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:432)
at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
… 21 more
Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving artifact org.openhab.binding:org.openhab.binding.weather:jar:1.13.0
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:705)
… 12 more

First: use code fences in your posts.

Seems your OH still wants to download weather binding from the repo. See if changing any of the following options in /etc/openhab2/services/addons.cfg makes a difference.

# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-
ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation
of
# any legacy 1.x add-on. (default is true)
#
remote = true
#remote = false

# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for whi
ch there is
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
#legacy = true
legacy = false

Sehr geehrter Markus

Thanks for your email.

I tried everything but it didnt work.

However then I deleted everything and reinstalled the Milestone 2.5 version and everything looks good for now.

Now i have another problem I paired an Aeotec Door and Window Sensor 7. It pairs and shows ONLINE, however it shows as an UNKNOWN device.

Any idea how this can be resolved?

below is the screen dump from the page:

Aeotec - Door & Window Sensor 7 Unknown Device This device has not been fully discovered by the binding. There are a few possible reasons for this -:

• The device is not in the database. If the device attributes show that this device has a valid manufacturer ID, device ID and type, then this is likely the case (eg. you see a label like “Z-Wave node 1 (0082:6015:020D::2.0)”). Even if the device appears to be in the database, some manufacturers use multiple sets of references for different regions or versions, and your device references may not be in the database. In either case, the database must be updated and you should raise an issue to get this addressed.
• The device initialisation is not complete. Once the device is included into the network, the binding must interrogate it to find out what type of device it is. One part of this process is to get the manufacturer information required to identify the device, and until this is done, the device will remain unknown. For mains powered devices, this will occur quickly, however for battery devices the device must be woken up a number of times to allow the discovery phase to complete. This must be performed with the device close to the controller.

Status: ONLINE
HIDE PROPERTIES
zwave_beaming
true
zwave_class_basic
BASIC_TYPE_ROUTING_SLAVE
zwave_class_generic
GENERIC_TYPE_SENSOR_MULTILEVEL
zwave_class_specific
SPECIFIC_TYPE_ROUTING_SENSOR_MULTILEVEL
zwave_frequent
false
zwave_listening
false
zwave_neighbours
zwave_nodeid
2
zwave_routing
true
zwave_secure
false
zwave_version
0.0

Code<

Regarding Code fencing my apologies as I am new to Openhab. Please advise if the above code fencing is OK?

I await your reply

Vielen Dank für Ihre Kenntnisnahme
Freundliche Grüsse

TREHAN Sajive

One thread per issue please. Read and follow

No. As you can see yourself, you turned the rest of your post into “code”.

The device needs to be woken up to finish initializing. Find the manual for your device and find how to wake the device (usually pushing a button) Go to Paper user interface, start discovery, then wake the device. Repeat as many time as needed and sometimes it takes quite a few tries