RaspBee

Installation

The deCONZ application is a tool to configure, control and monitor Zigbee networks with the ConBee.

The following sections describe the installation steps of deCONZ for various platforms.

RaspBee / deCONZ / Phoscon App

Supported platforms

Connection

The RaspBee must be placed on the Raspberry Pi header as follows:

RaspBee placed on Raspberry Pi Header

Important: The RaspBee must not be placed in an offset position, as this will damage the module!

RaspBee placed on Raspberry Pi Header perspective

Raspbian

Supported Raspberry Pi models and distributions

Note

The following steps describe the manual installation of deCONZ. Alternatively a preinstalled SD-card image can be used.

Installation

  1. Configure user access rights of the serial interface

     sudo raspi-config

    Interfacing Options → Serial

    • Would you like a login shell accessible over serial? → No
    • Would you like the serial port hardware to be enabled? → Yes

    Note: Changes to access rights only become active after a restart.

  2. Import Phoscon public key

     wget -O - http://phoscon.de/apt/deconz.pub.key | \
               sudo apt-key add -
  3. Configure the APT repository for deCONZ

    Stable

    sudo sh -c "echo 'deb http://phoscon.de/apt/deconz \
                $(lsb_release -cs) main' > \
                /etc/apt/sources.list.d/deconz.list"

    Beta (alternative)

    sudo sh -c "echo 'deb http://phoscon.de/apt/deconz \
                $(lsb_release -cs)-beta main' > \
                /etc/apt/sources.list.d/deconz.list"
  4. Update APT package list

     sudo apt update
  5. Install deCONZ

     sudo apt install deconz
  6. Update WiringPi (only needed for Raspberry Pi 4B)

     cd /tmp
     wget https://project-downloads.drogon.net/wiringpi-latest.deb
     sudo dpkg -i wiringpi-latest.deb

After the installation deCONZ can be started via the application menu.

Menu > Programming > deCONZ

deCONZ Raspbian Screenshot

Now the first Zigbee devices can be paired via the Phoscon App. Further information can be found in the Phoscon App documentation.

Docker

Supported host systems

To run deCONZ in a Docker container, we recommend the Docker image marthoc/deconz, which is maintained by the community. This image supports on amd64, arm64 and armhf platforms.

https://hub.docker.com/r/marthoc/deconz

Installation

The following steps describe how to start the deCONZ container on a Linux host system.

  1. Configure user access rights of the serial interface

     sudo raspi-config

    Interfacing Options → Serial

    • Would you like a login shell accessible over serial? → No
    • Would you like the serial port hardware to be enabled? → Yes

    Note: Changes to access rights only become active after a restart.

  2. Create directory for persistent configuration

     mkdir -p ~/.local/share/dresden-elektronik/deCONZ
  3. Start deCONZ Docker container

     docker run -d \
       --name=deconz \
       --net=host \
       --restart=always \
       -v /etc/localtime:/etc/localtime:ro \
       -v ~/.local/share/dresden-elektronik/deCONZ:/root/.local/share/dresden-elektronik/deCONZ \
       --device=/dev/ttyAMA0 \
       marthoc/deconz

With this configuration deCONZ runs in a Docker container on port 80.

Now the first Zigbee devices can be paired via the Phoscon App. Further information can be found in the Phoscon App documentation.

A description of all available parameters as well as the use of Docker-Compose and VNC to access the deCONZ GUI can be found in the Container Documentation.