How to Install and Set up OpenHAB in DSGW-210

The following instruction describes how to install and set up OpenHAB in DSGW-210. (Refer to OpenHAB Home Automation Gateway for details)

Reference: DSGW-210 IoT Gateway Product Specification

Step 1. Adding the openHAB repository key to your package manager:

wget -qO - 'https://openhab.jfrog.io/artifactory/api/gpg/key/public' | sudo apt-key add -

Step 2. Then, you can choose between, Official (Stable), Beta, or Snapshot builds: Add the openHAB Stable Repository to your systems apt sources list:

echo 'deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee

Add the openHAB Beta Repository to your systems apt sources list:

echo 'deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee

The snapshot repository is hosted in openHAB’s JFrog Artifactory instance (opens new window). To use it, add the openHAB Unstable Repository to your systems apt sources

echo 'deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main' | sudo tee

Step 3. Resynchronize the package index and install the openHAB with the following command

sudo apt-get update
sudo apt-get install openHAB

Step 4. If everything went well, you can start openHAB and register it to be

sudo /etc/init.d/openhab start
sudo /etc/init.d/openhab status
sudo update-rc.d openhab defaults

Step 5. You should be able to reach the openHAB Dashboard at http://openhabdevice:8080 after 15 minutes later.

NOTE: For more information, please refer to

https://www.openhab.org /docs/installation/ linux.html#installation