The deCONZ REST plugin provides a REST API to access ZigBee Home Automation (ZHA) and ZigBee Light Link (ZLL) lights, switches and sensors like the dresden elektronik Wireless Light Control system, IKEA TRÅDFRI and Philips Hue.
As hardware the RaspBee ZigBee Shield for Raspberry Pi or a ConBee USB dongle is used to directly communicate with the ZigBee devices.
To learn more about the REST API itself please visit the REST API Documentation page.
The plugin is available as open source and licensed under the BSD (3-Clause) license.
Currently the compilation of the plugin is only supported for Raspbian Jessie distribution. Packages for Qt4 and Raspbian Wheezy are available but not described here.
sudo apt install qt5-default libqt5sql5 libqt5websockets5-dev libqt5serialport5-dev wiringpi
-
Download deCONZ package
wget http://www.dresden-elektronik.de/rpi/deconz/beta/deconz-2.04.40-qt5.deb
-
Install deCONZ package
sudo dpkg -i deconz-2.04.40-qt5.deb
-
Download deCONZ development package
wget http://www.dresden-elektronik.de/rpi/deconz-dev/deconz-dev-2.04.40.deb
-
Install deCONZ development package
sudo dpkg -i deconz-dev-2.04.40.deb
-
Checkout the repository
git clone https://github.com/dresden-elektronik/deconz-rest-plugin.git
-
Checkout related version tag
cd deconz-rest-plugin git checkout -b mybranch V2_04_40
-
Compile the plugin
qmake && make -j3
-
Replace original plugin
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins
- Raspbian Jessie and Qt5
- Raspberry Pi 1, 2 or 3
- RaspBee ZigBee Shield for Raspberry Pi
- ConBee USB dongle for Raspberry Pi and PC
The following libraries are used by the plugin: