- 1 Introduction
- 2 Install Domoticz
- 3 Raspberry Pi additional software installations
- 4 Raspberry Pi related hardware
- 5 Buyers Guide
- 6 Links
The following page will give you an overview about the way to a running Raspberry Pi with Domoticz. We will start with the things you will need and then go through the installation of all necessary software and hardware components.
The following things are needed to install Domoticz and your chosen operating system successfully.
- Raspberry Pi 3 Model B (Raspberry Pi 1 Model B(+) and 2 model B are supported as well)
- microSD card minimal 4GB class 10 (Model B require a full-size SD card)
- Computer with a SD card reader to install an operating system on th SD card
- Display and HDMI cable
- USB keyboard and mouse
- 5V micro USB power supply (2A power supply is recommended, 2.5A for the Raspberry Pi 3)
- Ethernet cable (or USB WiFi adapter) connected to your home network. Note that the Pi 3B has an on-board WiFi adapter, hence no separate adapter is necessary.
(*) Display, HDMI, keyboard and mouse are NOT mandatory. If you have another computer, you can remote control your RPi. Just find the IP of your RPi (with your router/Home internet Box) and follow all the instructions without the first one 'ifconfig'. Of course you will need to not disable ssh.
You can finde some example systems at the Buyers Guide
When using Raspberry 3 Model B, please consider to boot and run from USB mass storage device instead of microSD card. In order to boot from USB, you have to enable this function once on RPi3 (see ). Since I run Domoticz from USB stick it never crashes anymore.
Prepare your Pi
If you haven't done it already, you need to install a supported operating system on your Pi.
A guide to prepare your Pi for Domoticz can be found here.
The "easy" way
After setting up the operating system of your choice, you are now ready to install Domoticz. Assuming your Linux is Debian-based, like Raspbian or Ubuntu, installing Domoticz is extremely easy. Just open a terminal window and execute this command.
curl -L install.domoticz.com | sudo bash
Congratulations, you're done!
Just point your browser to the IP address of your Raspberry Pi, and use port 8080. From your Pi's browser you could surf to
Now you can go on and visit the Getting started area.
[Note: If you receive certificate error messages, you could also try executing
sudo curl -L -k install.domoticz.com | sudo bash. This will download Domoticz through an unsecure (http instead of https) connection.
The "not so easy" way (Compiling from Source)
The other way to get Domoticz up and running is, to build it by yourself. You can find a detailed guide here.
Raspberry Pi additional software installations
After a succesfull intallation of Domoticz there are several other useful guides to follow:
- Setup Raspberry Pi Watchdog
- Monitoring Domoticz (monit watchdog)
- Installing a PPTP-VPN server on a Raspberry Pi
- Setting up a RAM drive on Raspberry Pi
- Monitor memory usage
- NAS Monitoring
- Persistent USB Devices
- Secure Remote Access
- Adding Tellstick Suport
- Homekit Siri
Please follow at least Persistent USB Devices.
There are numerous forum posts from new users that can not connect to their RFXCOM or Z-Wave stick after a reboot.
By following the guide above this problem cannot happen anymore.
Raspberry Pi General Purpose Input/Output (GPIO)
The Raspberry Pi 1 Model A and B boards have a 26-pin expansion header
The Raspberry Pi 1 Model A+ and B+ boards, and the Pi 2 Model B, have a 40-pin expansion header
Support for the standard GPIO is available in Domoticz release 1726 and onwards.
PiFace Digital is designed to plug on to the GPIO of your Raspberry Pi. With PiFace Digital you can detect the state of a switch, for example from a door sensor, a pressure pad or any number of other switch types. You can drive outputs to power motors, actuators, LEDs or anything you can imagine. PiFace Digital has eight digital inputs, eight open-collector outputs, eight LED indicators, two changeover relays and four switches.
The Piface Digital board is compatible with Raspberry Pi 2 Model B, Raspberry Pi Model B and A (26 pin connector)
The PiFace Digital 2 board is compatible with Raspberry Pi 2 Model B, Raspberry Pi Model B+ and A+ (40 pin connector)
Support for the PiFace Digital is available in Domoticz release 1045 and onwards.
[PiFace|Domoticz PiFace Digital installation instruction]
PiFace Digital Domoticz forum thread
RaZberry Daughter Card
The RaZberry is a tiny daughter card that site on top of the Raspberry Pi GPIO connector not blocking the USB boards. It is powered by the Raspberry Pi board with 3.3V and communicates using TTL signals (RX/TX).
The daughter card hosts a Sigma Designs ZM5202 Z-Wave transceiver module (a so called 5th generation Z-Wave module; old RaZberry hardware was based on ZM3102 module - so called 3rd generation Z-Wave module), an external 32 K SPI flash for network data and a PCBA antenna. Additionally two LEDs are used to indicate certain status of the Z-Wave controller chip.
This board is compatible with Raspberry Pi 3, Raspberry Pi 2 Model B, Raspberry Pi B(+) and is supported by Domoticz.
NEW - Domoticz RaZberry installation instruction Raspberry Pi 3 in combination with OpenZwave.
OLD - Domoticz RaZberry installation instruction in combination with OpenZwave. Please note there is no active support on Domoticz in combination with the Z-way software.
RazBerry2 Daughter Card
DETAILED -Detailed installation instructions RazBerry2 and Pi3 in combination with OpenZwave.
The Pi-mote control board is is a low cost and a simple wireless controller, dedicated to the Raspberry Pi computer, and Energenie ENER002 RF controlled mains sockets. It is an extremely simple, transmit only, open loop system controlled by six GPIO pins in "out" mode on the Raspberry Pi. It plugs directly into a Raspberry Pi computer, and is powered from the Pi.
Pi-Mote Pi-mote installation instruction
Following are some tips to arrange your system. These are just suggestions, feel free to choose your shop and the final product.
- Raspberry Pi 3 Model B
Click on the pictures to get product info and buy the product.
- 2,5A/5V Power Supply
- microSD card 16GB Class 10