|
| 1 | +# deCONZ |
| 2 | +## References |
| 3 | +- [Docker](https://hub.docker.com/r/marthoc/deconz) |
| 4 | +- [Website](https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/README.md) |
| 5 | + |
| 6 | +## Installing deCONZ |
| 7 | +1) Plug in you ConBee II, ConBee or Raspbee (if no device is plugged in, deCONZ will not be properly installed) |
| 8 | +2) Add deCONZ to your stack using `cd ~/IOTstack && bash ./menu.sh`and select deCONZ |
| 9 | +3) Edit the deconz service.yml using `sudo nano ~/IOTstack/services/deconz/service.yml` - activate your device by removing the "#" in front of "devices" and the "#" in front of your specific device. Save the changes using "ctrl+x", "y" and "enter". |
| 10 | +4) Build the stack again using `cd ~/IOTstack && bash ./menu.sh` to apply the changes and select "Do not overwrite". |
| 11 | +5) Run `docker-compose up -d` to build the deCONZ container. |
| 12 | + |
| 13 | +These steps are also shown in the gif below: |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | +deCONZ should now be available at http://ip.address.of.your.IOTstack.pc.here:8090/ |
| 18 | + |
| 19 | +## Viewing the deCONZ Zigbee mesh |
| 20 | +The Zigbee mesh can be viewed using VNC (port 5901). The default VNC password is "changeme". |
| 21 | + |
| 22 | +## Connecting deCONZ and Node-RED |
| 23 | +1) Install [node-red-contrib-deconz](https://flows.nodered.org/node/node-red-contrib-deconz) via the manage palette menu (if not already pre-installed with Node-RED) |
| 24 | +2) Open a deCONZ in node, select "Add new deconz-server" and type in the IP-address of your IOTstack pc (Rpi) and type in port 8090 (not websocket port) |
| 25 | +3) Open deCONZ (http://ip.address.of.your.IOTstack.pc.here:8090/) and open settings>gateway>advanced. Click "Authenticate app". |
| 26 | +4) Go back to your Node-RED instance and click the magick:get setting button in the server node. The API and websocket port will be automatically inserted. Click "Add" and you are good to go. |
| 27 | + |
| 28 | + |
| 29 | + |
0 commit comments