Wiring Scheme

Wiring scheme

Pi-Home - principle wiring diagram

 

Pi-Home - Schéma zapojení

 

System Description

The core of the smart home installation is the Raspberry Pi (RPi) board, which runs the central automation software — OpenHAB or Home Assistant. For details on installing OpenHAB on RPi, refer to the How-To section.

 

The RPi is connected to Arduino Mega boards via USB, which also serves as the programming interface. Communication between the RPi and Arduino boards occurs over MQTT — a lightweight, protected, publish/subscribe messaging protocol ideal for home automation. The entire system is networked via local LAN and can be extended with MQTT-compatible devices or popular wireless standards like Z-Wave or Zigbee and many others.

 

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 standard robust installation relay (230V/20A) in separate hig power distribution board. This setup ensures safe and reliable switching of 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

Sensors (temperature, humidity, motion, etc.) are typically wired using UTP cables, terminated in the distribution board on KRONE modules

        • Each cable splits into DATA / GND / 5V lines
        • Connected directly to Arduino Mega, the sensors run on simple sketches (firmware)
        • Data is sent to central unit via MQTT

This setup supports a wide range of Arduino-compatible sensors, ensuring low hardware cost, maximum customizability, and flexibility in sensor enclosure design.

Wireless

For apartments or retrofit installations, OpenHAB and Home Assistant supports integration with Shelly and various Z-Wave, Zigbee, and other wireless protocols.

 

        • Devices are installed locally where needed — just before the device being controlled
        • OpenHAB’s or Home Assistant rule engine allows for intuitive "if-this-then-that" logic.
        • We have extensive experience with Shelly devices, offering great reliability on local WiFi network and communicate via MQTT

Detail scheme for PiHome Pro model house (see How To section):

PiHome Pro Scheme

 

Recommended

Alarm Smart Home PIR
Alarm from existing PIR sensors in a smart home.Rating: 
0%

In a your smart home, PIR sensors may not only be used to switch lights on and off based on motion, it is possible to utilize these sensors to detect the presence of motion in a particular room. This information can be used to create a relatively reliable uncertified home security system. In this guide, you will find the logic for how this can work in the OpenHAB software in our model smart home.

Voice control smart home
Voice control of the houseRating: 
70.4%

In this article, we will connect the Amazon Echo Dot voice assistant with open source home automation. We won't be using OpenHAB Cloud, so everything runs locally. In this case, a few additional settings are necessary, but the result is worth it!

Video intercom Doorbird in OpenHABRating: 
64.3%

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: 
75%

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 guide for ubuntu or other debian like linux systems.

PiHome - Chytry dum mereni spotreby elektriny
Energy meter in smart homeRating: 
70.8%

We are providing a simple step-by-step tutorial how to install home energy meter. We did not find any MQTT device, so we buy Aeotec Home Energy Meter as we are already have a Z-Wave controlller in our smart home.

Victron & OpenHAB
Victron vs Smart HomeRating: 
0%

In this post, we will show you how to retrieve information from a photovoltaic power plant by Victron. We will connect to the Cerbo unit via MQTT. Based on these values, we can control various appliances (heating, boiler, etc.) and prevent the battery from being drained when they don't need to be.

Nilan VP18 vs OpenHABRating: 
67.2%

We provide tutorial for the connection of the active Nilan recuperation unit, in our case the VP18 K WT type with OpenHAB 3. By communicating via Modbus it is possible to read the whole range of values, but mainly also to control the unit through OpenHAB. This allows us to remotely or programmatically change the performance and ventilation settings depending on the mode (night, cooking, etc.)

DALI device control via MQTTRating: 
100%

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.

Shelly OpenHAB MQTT
Shelly vs OpenHABRating: 
90%

The Shelly brand is known for its products that primarily communicate over WiFi, including smart plugs, relay switches, blinds control relays, and many other devices. One of the advantages for deployment is the ability to both read and control these devices using the universal MQTT protocol. Across existing add-ons for both OpenHAB and Home Assistant, we will demonstrate how to use Shelly devices without installing any additional extensions.

Advanced PIR sensors features in OpenHABRating: 
80%

The HC-SR501 PIR sensor contains mechanical adjustement for range detection 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. You can find a tutorial how to config your PIR sensor to enable this features in this article.