Wiring Scheme

Wiring scheme

Pi-Home - overall wiring diagram

Pi-Home - Schéma zapojení


The installation is based on the heart of the intelligent house - the Raspberry Pi board (RPi). RPi runs the central software - OpenHAB. For more about OpenHAB and its installation on the RPi, see the How to section. RPi is powered via USB HUB and also linked to Arduino Mega boards. Arduino Mega boards are also powered via the USB interface and the necessary code is uploaded via this connection. RPi and Arduino are connected via a LAN to an internal network. Communication between RPi and Arduino is through the MQTT protocol, where commands for specific actions are publshed and subscribed. The system can be complemented by any MQTT-enabled device or wireless standards such as Z-Wave or Zigbee.

Main features:

Controlling high power circuits (lights, sockets, pumps, electric heaters)

We are using combination of Arduino compatible SSR relay board 230V/2A connected with robust installation branded relay (230V/20A). This combination enables to safely controll sockets, pumps and other high-power devices.

Controlling low power circuits ~ 200W (ventilation, heat valves, blinds)

You can controll low-power devices directly with Arduino relay board 230V/2A SSR. Boards are available from single output up to eight outputs.

LED lights

Due to very high current during first several miliseconds of 230V LED lights, we recommend to use Arduino relay board together with robust relay - same as sockets, pums. See first option.


Sensors are usually connected with UTP cables. UTP ends in switchboard on KRONE modules. You can split wires into DATA, GND and 5V. KRONE modules are connected to Arduino Mega boards, where sensors interacting based on sketch (code, program). Arduino comminicating with central node OpenHAB through MQTT protocol. This configuration support huge variety of Arduino compatible sensors which gives you low prices of hardware and variety to use designed box for sensors as you wish.


For apartments or already reconstructed objects you can use OpenHAB with variety of wireless devices as Z-Wave or Zigbee. It is simple to configure it and put customized rules for logic. Wirelless modules are installed in the location you want befeore device you want to controll. We have a good experiece with Z-Wave protocol.


Video intercom Doorbird in OpenHABRating: 

Native support for OpenHAB is provided by video intercom by Doorbird company. The solution is powered and connected by a UTP cable and has its own IP address to make it easier for you to install at the gate. OpenHAB is then able to import images from the intercom, visit history, manage gate opening on the button and by the phone, do not disturb feature during night, alarm feature etc. In the instructions we guide you how to use OpenHAB with Doorbird D101.

Jak nastavit pevnou IP adresu v linuxu
How to set static IP for OpenHABRating: 

Need fixed IP address for OpenHAB? Simple guide will show you how to set static IP address on linux Debian systems like Raspbian. You can use same guido for ubuntu or other debian like linux systems.

DALI device control via MQTTRating: 

DALI (Digital Addressable Lighting Interface) is an open interface for lighting controls in the home, industrial buildings, public objects, etc. To connect to our OpenHAB system, we can use a commercial converter from ADFWEB called HD67941-B2 - DALI / MQTT - Converter. In the article, we will show how to use this converter in conjunction with MQTT.

Measure tank level water OpenHAB
Measuring the water volume in reservoirRating: 

In this article, you can find how to solve the measuring the water level in the reservoir (e.g. rainwater reservoir). The values are converted into the volume in liters. This enables you to fill the volume tank when needed or predict any other situations.

Advanced PIR sensors features in OpenHABRating: 

The HC-SR501 PIR sensor contains mechanical adjustement for detect range and time. But in an intelligent house, we want to be able change time how long the light will be active and change whether the light will be controlled by PIR or not. Below it's shown how to program the PIR sensor to enable this features.

Weather stationRating: 

Local weather station allows you to track the exact direction and speed of the wind, the amount of rainfall but also the intensity of the sun's radiation. This information can be used, among other things, to protect interior of the house from the sun or wind and to decide on the garden irrigation. We will show you how connect commercial weather station with OpenHAB.