How to install openHAB 2 on Synology Diskstation

Smart Home – openHAB 2 Synology DiskStation Installation

This post is about how to install openHAB 2 on a Synology Diskstation installation. This guide will tell you which kind of Hardware to choose and which steps have to be done in DSM.

If you prefer a video, here we go.

openHAB 2 Synology DiskStation – Hardware

The basic requirement is for the Synology Diskstation to support Java. Not all CPU are capable of this. If you plan to install openhab 2 on a Synology DiskStation, you need to keep an eye on the requirements. You can cut your search short and use one of the following diskstations. They are perfectly sufficient for private use.

The DiskStation doesn’t have a hard drive, yet. From my experience with Seagate I recommend the special Westen Digital Red series. They will give you a 3 year warranty. If you’d like to have 5 years, get the Pro series.

openHAB 2 Synology DiskStation – Configuration

openHAB 2 Synology DiskStation – install Java

Open the package center (1).

openHAB-Synology-Install-Java-1

Search for Java (1).

openHAB-Synology-Install-Java-2

Now choose Java8 and install.

openHAB-Synology-Install-Java-3

Now you might update Java (1).

openHAB-Synology-Install-Java-4

Follow each step after selecting JAVA SE Download (1). Download the relevant file with the name given (2). It might be necessary to log into Oracle. Choose the file (3) and click OK (4).

openHAB-Synology-Install-Java-5

Java is now up to date and we can move on.

openHAB 2 Synology DiskStation – Activate User Home Service

It is necessary to activate the user home service for the installation of openHAB 2 to work. At first, I had tried to install openHAB2 without the service and it didn’t work.

Select the control panel (1), then choose user (2) and extended (3). Check the box for activating the user home service (4). Finally, click on confirm (5).

openHAB-Synology-User-Home-Service

Please confirm the following window at your own risk.

Absolutely nothing happened when I did this, but I’m sure this warning doesn’t pop up without reason. Which is why it is at your own risk.

openHAB-Synology-User-Home-Service-2

openHAB 2 Synology DiskStation – Install openHAB 2

Now we finally get to do the real installation of openHAB 2. For this, the following steps are necessary. First, download the latest OpenHAB2 Synology Package , because a few important corrections have already been made to it.

Call up the package center again (1). Now click “manual installation” (2). Choose the file you downloaded earlier  (3) and click continue (4).

openHAB-Install-Synolgy-Package

In the next screen choose the folder in which you want to save the openHAB 2 files. I choose the second option (1) and confirm (2).

Make sure to provide a shared folder ‘SmartHome’ using system control. After that, use the file manager to create the folder openHAB2 within the public folder. In the Folder “SmartHome” folder, you now create the folders “openHAB”. Watch your spelling!

openHAB-Install-Synolgy-Package-2

Go through the next steps as License, Port and so on by yourself.  At some point you will see the following screen. Check “Run after Installaton” (1) and Apply (2)

Synology-openHAB2-Installation-Package

Now the openHAB package is installed on the Synology DiskStation (1). Now choose the package (2).

openHAB2-Synology-Installation-Package

You have now the option to close and restart openHAB 2 (1). It makes sense to do this once in a while. =) This is also where you will find the link to start openHAB 2 (2). After installation, please take the time to read the post openHAB Configuration or enroll in my openHAB 2 Training here or on Udemy.

openHAB2-Synology-URL

Give openHAB some time to start and you will see the initial start screen of openHAB 2.

Synology-openHAB2-First-Start

And that was it. You will see in the video that this doesn’t take longer than ten minutes (including downloads and explanations).

Thomas has build its own Smarthome in 2010. In 2016 he started a German blog about Smarthome to share his knowledge. 2017  he started consulting customers that needed help setting up their own Smarthome. In 2018 the first German course about cloudless Smarthome was launched at Udemy. This course became one of the top rated Smarthome courses. This Smarthome course is now also available in English.

We will be happy to see your thoughts

      Leave a reply