Installation procedure for Open Hab (in a debian virtual machine running on my QNAP NAS)

Hello,

It took me some time to make Open Hab running on my QNAP NAS.
You will find below my installation steps once debian is installed:

  1. Install dirmngr
    apt-get install dirmngr

  2. Install Zulu
    apt-get install software-properties-common
    apt-add-repository 'deb http://repos.azulsystems.com/debian stable main’
    apt-get update
    apt-get install zulu-8

  3. Install Open Hab
    wget -qO - ‘https://bintray.com/user/downloadSubjectPublicKey?username=openhab’ | apt-key add -
    apt-get install apt-transport-https
    echo ‘deb https://dl.bintray.com/openhab/apt-repo2 stable main’ | tee /etc/apt/sources.list.d/openhab2.list
    apt-get update
    apt-get install openhab2

4 ) Automatic start
/bin/systemctl daemon-reload
/bin/systemctl enable openhab2.service

  1. Manual start
    /bin/systemctl start openhab2.service

  2. Get the status
    systemctl status openhab2.service

  3. Acces rights for Z-Wave USB stick
    adduser openhab tty
    adduser openhab dialout

3 Likes

Bonjour Philippe,
it took me some time as well to figure out how to install chroot-debian on my synology box.

My questions:
How stable is openhab2 running on your NAS?
How do you edit your configuration files?