Skip to content

Commit fc30dee

Browse files
authored
Update deconz.md
1 parent 1a0c310 commit fc30dee

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

docs/deconz.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,27 @@
33
- [Docker](https://hub.docker.com/r/marthoc/deconz)
44
- [Website](https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/README.md)
55

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.
812

13+
These steps are also shown in the gif below:
914

15+
![installing deCONZ](https://github.com/DIYtechie/resources/blob/master/images/installing%20deconz%20-%20short%20version.gif?raw=true)
1016

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/
1318

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".
1521

1622
## 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.
1827

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+
![installing deCONZ](https://github.com/DIYtechie/resources/blob/master/images/deconz%20authenticate.png?raw=true)
29+
![installing deCONZ](https://github.com/DIYtechie/resources/blob/master/images/deconz%20node%20red%20config.png?raw=true)

0 commit comments

Comments
 (0)