Synology and QNAP

Heinz Peter Hippenstiel edited this page Jan 17, 2017 · 10 revisions

Synology Diskstation

A package of openHAB 1.8.1 and 2.0.x for Synology Diskstations is stored available on github

Synology discussions on the openHAB Community

Quick Install OpenHAB V2 until it's in the official docs:

Current releases of OpenHAB2 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.

Now download and install the github package.

Deprecated builds and older information can be found here:

A package of OpenHAB 1.5.0 for Synology Diskstations is stored at OpenHAB google groups and on the package server https://www.hofrichter.at/sspks.

Synology Information below is for older versions

This 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. This package is tested on DS213+ with oracle's java 7 from PC load letter.
In the Synology package manager you can

  • install
  • start
  • stop
  • uninstall

OpenHAB.
This package comes without any demo files - so the UI will not show much without giving OpenHAB some configurations ;-) It takes some time after the start of OpenHAB before the UI starts responding (less than a minute on a DS213+).

####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.

####Demo files In the OpenHAB google groups and on the package server https://www.hofrichter.at/sspks is an install-able package of the OpenHAB 1.4.0 demo files (only the demo files!) for Synology NAS. Prerequisite is that the OpenHAB package is installed.

After the installation of OpenHAB and the demo files http://your.synology.URL:8081/openhab.app?sitemap=demo should show the UI with the demo configuration.

"Text to speech" is disabled in configurations/rules/demo.rules otherwise the demo files are unchanged. This change was necessary (at leased on a DS213+) else OpenHAB stops responding. Give OpenHAB a minute or so after the start of OpenHAB before you expect any response in the UI ;-) ####Kernel drivers Some bindings (e.g. EnOcean) work with USB-sticks that require some kernel drivers. For qoric CPU Diskstations (e.g. DS213+) there is a short guide how to install those drivers at Samples-Tricks.

QNAP Turbo Station

QPKG for QNAP on GitHub can be found here -> https://github.com/openhab/openhab-qnap-qpkg

There is a QPGK package to install openHAB v1.7 on a QNAP Turbo Station NAS. http://forum.qnap.com/viewtopic.php?f=320&t=95315&p=423268

feature overview

Installation

Setup intro

Linux and OS X

Windows

FreeBSD


Configuration

Automation*

User Interfaces

Persistence


Community

(link to openHAB forum)

Development


Bindings


Application Integration

Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Binding configurations

Use case examples

Item definition examples

Sitemap definition examples

Collections of Rules on a single page

Single Rules

Scripts

Syntax highlighting for external editors


Release Notes

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.