Skip to end of metadata
Go to start of metadata

This tutorial is to explain how to install OpenHAB on Odroid-C1 with Razberry Z-way - as a home automation system.

Installation Steps - UBUNTU

Please follow steps below to install and update Ubuntu

  1. Install Ubuntu minimal
  2. Login to your UBUNTU with user root and password odroid
  3. Reset password with passwd
  4. Reboot system -  reboot
  5. Update with apt-get update && apt-get upgrade
  6. If you have issue with update - run dpkg --configure -a - then try again
  7. If your distribution is old you can run apt-get dist-upgrade 
  8. You can optionally install extra packages: apt install mc nano build-essential
  9. You can use mc as file explorer - this is Midnight Commander - which works perfectly through SSH connection
  10. Install pre-requested packages for OpenHAB
    1. JAVA - we would use ZULU:
      1. Import Azul's public key add the repository and install ZULU.

        apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9
        apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'
        apt-get update
        apt install zulu-embedded-8
    2. Install extra packages as requested by OpenHAB:

      apt-get install screen mc vim git htop
      apt-get install apt-transport-https
  11. Install OpenHAB repositories for UBUNTU (as root user) - we need to add key and repository

    wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | apt-key add -
    echo 'deb https://dl.bintray.com/openhab/apt-repo2 stable main' | tee /etc/apt/sources.list.d/openhab2.list
    apt update
  12. Install OpenHAB and all add-ons

    apt-get install openhab2
    apt-get install openhab2-addons
  13. Confirm that all startup scripts are working fine
systemctl start openhab2.service
systemctl status openhab2.service

Exit with :q and enter.

systemctl daemon-reload
systemctl enable openhab2.service

14. Check if you can access your OpenHAB at http://IP_OF_ODROID:8080

Install Z-way server

Default Razberry installation was prepared for Raspberry Pi - it would as well work perfectly on Odroid C1. Before you run default installer - create user pi in your system. This would be standard user - with ID 1000 - we can set up an account in such a way that login would be not allowed.

We can create this account in two ways - one - standard user with locked login privileges... second - system user - which would use the same name for the group. As a default, this user would have no home folder... which is not needed.

A. First method

useradd -M pi
usermod -L pi

B. Second method

useradd -r pi

Now we can start installation - all scripts for Rasberry Pi should work as expected. It would be necessary only to change the serial port.

Just run one command as root:

wget -q -O - razberry.z-wave.me/install | bash

This would take some time as we need some extra libraries and tools to be installed.

To avoid configuration we can ink ttyS2 as ttyAMA0 port which as default is used by Z-way server:

ln -s /dev/ttyS2 /dev/ttyAMA0
reboot

Keep in mind this link is not permanent - so it must be recreated every time you restart your Odroid. 

Generally, in Z-way server you can change the port to use as always /dev/ttyS2 - I would suggest using that solution.


After installation, go to http://IP_ODROID:8083 and finish initial setup.

I would suggest visiting Apps- and then setup in z-wave a proper port:

  1. Go to Apps → Active

  2. Search for z-wave network access and select settings

  3. In this place, you can define a proper port to be used:
  4. If you plan to use API without authentication - then just select that option. I would suggest always to use authentication - for security reasons. Unless you are sure that your local network is extremely safe. 

Configuration for OpenHAB


  1. Select Standard setup at the first step
  2. Wait a few moments for OpenHAB start-up and initial configuration.
  3. As interface - I have used PaperUI

  4. Go to Add-ons and select Bindings - search for z-way
  5. Install this add-on as we need this to communicate with all our Z-wave devices.
  6. Go to Bindings and set-up this addon.

  7. In Inbox press + button then select your add-on.
  8. Provide all details to access your Z-way server - using admin level account.
  9. Confirm. After a few moments, you should see all created devices in Z-way server. If there was no device created - just create in Z-way server. Then come back to OpenHAB and refresh Things. 
  10. To add Things - just go to Things menu and select devices to be added. It would ask you to define some basic information. After confirm - you should see your devices in Dashboard. 



This manual is based on official installation docs from OpenHAB with extra information for Z-way server setup.

1. OpenHAB installation wiki

1,852 Comments

  1. Anonymous

    Order Kamagra Jelly Online [url=http://buysildenaf.com]buy viagra[/url] Amoxicillin .25g Information Amoxicillin Horse Buy Malegra Pro 100 [url=http://kamagorder.com][/url] Buy Super Kamagra Ou Acheter Lioresal Viagra Liquida [url=http://ciali20mg.com]cialis from canada[/url] Propecia Comprar Online Buy Antabuse Online
  2. Anonymous

    [url=https://personalloans2.com/]cash til payday[/url] [url=https://loansonline2019.com/]online loans instant approval[/url] [url=https://loansforbadcredit1.com/]personal loan form[/url] [url=https://paydayloans3.com/]payday loans no credit check same day[/url] [url=https://cashadvance3.com/]loan estimator[/url]
  3. Anonymous

  4. Anonymous

  5. Anonymous

    wwd [url=https://cbdhempoilmed.com/#]hemp oil benefits dr oz[/url]
  6. Anonymous

  7. Anonymous

    qgg [url=https://cbdoilwalmart.com/#]plus cbd oil[/url] hpk [url=https://cbdoilwalmart.com/#]cbd oil online[/url]
  8. Anonymous

  9. Anonymous

  10. Anonymous

  11. Anonymous