|
3 | 3 | - [Docker](https://hub.docker.com/r/marthoc/deconz)
|
4 | 4 | - [Website](https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/README.md)
|
5 | 5 |
|
6 |
| -## Installing Phoscon (the part of deCONZ that lets you add devices and setup the gateway) |
7 |
| -All devices are commented out of the docker-compose template by default to avoid errors. After adding deCONZ to the stack, comment in your device and physically plug in the relevant device (e.g. ConBee II) BEFORE running `docker-compose up -d` again. |
| 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. |
8 | 12 |
|
| 13 | +These steps are also shown in the gif below: |
9 | 14 |
|
| 15 | + |
10 | 16 |
|
11 |
| -## Viewing the Zigbee mesh |
12 |
| -The Zigbee mesh can be seen using VNC (port 8090). The default password is "changeme". |
| 17 | +deCONZ should now be available at http://<ip-address-of-your-IOTstack-pc-here>:8090/ |
13 | 18 |
|
14 |
| -By default, VNC container has no password. You can leave it that way if you like but its always a good idea to secure your services. |
| 19 | +## Viewing the deCONZ Zigbee mesh |
| 20 | +The Zigbee mesh can be viewed using VNC (port 5901). The default VNC password is "changeme". |
15 | 21 |
|
16 | 22 | ## Connecting deCONZ and Node-RED
|
17 |
| -(port 8090) |
| 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. |
18 | 27 |
|
19 |
| -Step 2 |
20 |
| -Edit the file called services/mosquitto/mosquitto.conf and remove the comment in front of password_file. Restart the container with `docker-compose restart mosquitto`. Type those credentials into Node-red etc. |
| 28 | + |
| 29 | + |
0 commit comments