Synology DiskStation

The DiskStation by Synology is a famous NAS server solution for your home, allowing the installation of additional packages. We are proud to be able to provide an openHAB Synology package.

Prerequisite - Install Java

Current releases of openHAB require Oracle Java due to the generation of certificates based on EC which is not available in free Java implementations. If you see the following error you are likely using OpenJDK: java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available

The easiest way to install Java is to include the PC-Loadletter Repo. Download Java8 SE (latest ARMv6) (Java Cryptography Extension if required) and put them in the public folder of your NAS. Then start the installation of Java8 SE.

Installation

Download the latest SPK package: Releases The SPK is a wrapper to download the latest openHAB release and does not contain openHAB itself.

  1. Login and open the DiskStation Manager.
  2. Go to Main Menu → Package Center.
  3. Click on the Manual Install button.
  4. Click “Choose File” and select the previously downloaded openHAB .spk file.
  5. On the confirmation page: If you would like the package to run immediately after installation, make sure the box next to “Run after Installation” is ticked.
  6. Click Apply to start installation.

If your NAS cannot connect to the internet, the installer will tell you to download and place the ZIP file into your NAS public folder.

Configuration

The configuration files are located at:

[email protected]/openHAB2/userdata/config

Tested Devices

DiskStation Package version
DS209 2.0.0-beta3
DS216+II 2.0.0-beta3
DS216+II 2.0.0.009-SNAPSHOT-DSM6
DS216play 2.0.0.001-DSM6
DS413j 2.0.0.001-DSM6
DS916+ 2.0.0.001-DSM6
DS214play 2.1.0.004-SNAPSHOT-DSM6

Please complete the list accordingly, thank you!