OpenHAB for Synology diskstation

A NAS is often powered up for 24h a day, 7 days a week, 365 day a year – perfect prerequisites for a home automation server like OpenHAB.

A package of OpenHAB 1.4.0 and of the OpenHAB demo setup for Synology Diskstations are stored at OpenHAB google groups and on the package server https://www.hofrichter.at/sspks.
Those packages can be installed in DSM via the package manager -> manual installation or by adding https://www.hofrichter.at/sspks/ as package source – there is a tutorial on the Synology support pages about how to do that. Those packagea are tested on DS213+ with oracle’s java 7 from PC load letter.

synology_package_manager

In the Synology package manager you can

  • install
  • start
  • stop
  • uninstall

OpenHAB.

Paths

OpenHAB is installed at /var/packages/OpenHAB/target/ (which is linked to /volume1/@appstore/OpenHAB).
If the directory /volume1/public/OpenHAB/configurations exists, this directory will be used for all OpenHAB configuration files. This should make it easier to work with the OpenHAB designer installed on your PC.

If the directory /volume1/public/OpenHAB/addons exists, this directory will be used for all OpenHAB addons (bindings) files.

Ports

The UI is on port 8081, the console (via telnet) is on port 5555.

After starting the package give your Synology Diskstation some time before you expect the UI to respond (one minute on a ds213+).

“Text to speech” is disabled from configurations/rules/demo.rules otherwise the demo files are unchanged.This change was necessary (at leased on a DS213+) else OpenHAB stops responding.

There is also some information about this in the OpenHAB wiki.

Kernel drivers

Some OpenHAB bindings (e.g. EnOcean) work with USB-sticks that require some kernel drivers. For qoric CPU Diskstations (e.g. DS213+) I will post a short guide how to install those drivers soon.

Have fun!

One thought on “OpenHAB for Synology diskstation”

  1. i could not install the package
    it comes with an error:

    Das Paket konnte nicht installiert werden
    Usage: wget [OPTION]… Try `wget — help´for more options. There was a problem downloading distribution-1-4.0-runtime.zip ………

Leave a Reply

Your email address will not be published. Required fields are marked *