Installation and upgrade within openHAB®
This page describes installation and update procedure for extension which is installed with openHAB®.
Each ConnectorIO addon or binding comes packaged as a separate archive.
These archives have a .kar
extension and contain extension and all dependencies needed for offline installation.
If you need to use multiple protocols you will need to repeat below procedure for each of them.
Step-by-step guide
First of all you need working installation of openHAB®. Please follow official openHAB documentation and find instructions for your hardware platform.
Once your openHAB is up and running you can proceed to installation of bindings.
-
Download selected addon.
-
Locate your openHAB® installation.
-
Find
addons/
folder. For linux based installations it is/usr/share/openhab/addons
. -
Copy KAR to this folder.
-
Launch browser.
-
Navigate to openHAB® main user interface.
-
In left menu pick Administration > Settings.
-
Navigate to Add-ons > Bindings.
-
Find integration you plan to install by typing protocol or brand name in search box.
-
Click install and wait for operation to complete.
Upgrade procedure
Because there is no guarantee which version of binding will start first you need to uninstall earlier version manually. The procedure for uninstalling is following:
-
Launch browser.
-
Navigate to openHAB® main user interface.
-
In left menu pick Administration > Settings.
-
Navigate to Addons > Bindings.
-
Find integration you plan to update.
-
Click it or uninstall icon next to it.
-
Go to addons directory and remove selected
.kar
file. -
Restart openHAB®.
Do not worry about things which you created before. Their definitions and configurations will be kept in openHAB® database. During upgrade, you will just lose ability to read their state. After successful installation of new version, they should automatically be back to "online" state.
Testing development snapshots
Testing of non released extensions is possible through manual obtaining of addon from artifact repository. All ConnectorIO® Add-ons are available in "snapshot" (development) version built automatically for main versions which are maintained.
In order to download addon you need to navigate to https://repository.connectorio.cloud.
-
In left menu select "Browse".
-
Choose
co7io-public-snapshots
repository. -
In displayed tree navigate to
org/connectorio/addons/
node. -
Click
+
to expand node and scroll down toorg.connectorio.addons.kar….
elements. -
Expand extension you are interested in and pick necessary version.
-
Select element with the highest number after first dash - this is build date, value after second dash is build number.
-
Mark file with
.kar
extension at the end. -
In opened right panel click on link displayed in
Path
section marked in red on below snapshot.
Copy downloaded kar
file and proceed with installation procedure.
Snapshot versions are generated and can change at any time.
Retention period of artifacts might depend on many conditions.
Versions which contain |