Skip to content
50watt edited this page Nov 27, 2013 · 5 revisions

FAQ about hardware for the openHAB runtime

Introduction

This page summarizes helpful information on how to get openHAB working on specific hardware. Users are very welcome to provide tips&tricks here, e.g. on JVM experiences, embedded systems etc.

Please note: This page is NOT about home automation hardware - we expect that you either already have hardware or consult other websites for such questions; there are simply far too many different options you could possibly consider. For what systems openHAB can connect to, please see the list of available bindings.

General Hardware Requirements

The openHAB Runtime is almost 100% pure Java, so all it requires is a JVM (>=1.6). So expect it to run on Windows, Mac and Linux likewise. As JavaSE exists also for ARM platforms, you are not even constrained on x86 hardware.

Please note that openHAB has not (yet) been optimized for low-end embedded devices such as the Raspberry Pi. Still, if you are interested in using it on such hardware, you will find some tipps and tricks in the next sections.

Raspberry Pi

Basic Setup

There are three ways to use Java an Openhab on the Raspberry Pi

  1. Soft-float Debian “wheezy”
  2. Hard-float Raspberryian
    • The image is found at Rasberry download site
    • This image uses the hardware for floating point calculations (maybe faster)
    • Only a preview (beta) version of Oracle´s JVM 8 FX available
    • Use this guide for basic setup
  3. Soft-float "wheezy" with tmpfs
    • Very interesting version of the soft-float version. Openhab is used in a tmpfs ramdisk. This will improve performance and stability. The image is still under development.
    • The image is a ready to use image with openhab and eibd based on soft-float java version 7
    • Use this guide for setup
    • Based on you bus, set up eibd ([http://knx-user-forum.de/knx-eib-forum/20663-eibd-linknx-cometvisu-auf-raspberry-pi.html]) as connection between openhab and KNX in tunnel mode.

Tweaking Performance

  • Stay up to date with rpi-update (https://github.com/Hexxeh/rpi-update/)
  • For headless, use a memory split of 240 (e.g. run sudo rpi-update 240)
  • For headless, add these to /etc/rc.local:
  • Limit GPU IRQs

  • fbset -xres 16 -yres 16 -vyres 16 -depth 8
  • /opt/vc/bin/tvservice -o
  • Overclocking does not seem to have big influences

Synology Diskstation

A package of OpenHAB 1.3.1 for Synology Diskstations is stored at OpenHAB google groups and on the package server https://www.hofrichter.at/sspks.
This package 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.

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

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

Have fun!

Installation

Community

Features

Samples

Release Notes

Clone this wiki locally