Category Archives: Synology diskstation

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
Those packages can be installed in DSM via the package manager -> manual installation or by adding 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.


In the Synology package manager you can

  • install
  • start
  • stop
  • uninstall



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.


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!

Synology Diskstation: von http auf https umleiten

Fatal error: Uncaught Error: Call to a member function id() on array in /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '/var/services/w...') #3 /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('/var/services/w...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php( in /volume1/web/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36