|
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 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. |
| 6 | +## Pre-installation |
| 7 | +Before running the command that creates the deconz Docker container (`docker-compose up -d`), you may need to add your Linux user to the dialout group, which allows the user access to serial devices (i.e. Conbee/Conbee II/RaspBee): |
12 | 8 |
|
13 |
| -These steps are also shown in the gif below: |
| 9 | +`sudo usermod -a -G dialout pi` (pi user being used as an example) |
14 | 10 |
|
15 |
| - |
16 |
| - |
17 |
| -deCONZ should now be available at http://ip.address.of.your.IOTstack.pc.here:8090/ |
| 11 | +## Accessing the Phoscon UI |
| 12 | +The Phoscon UI is available using port 8090 (http://your.local.ip.address:8090/) |
18 | 13 |
|
19 | 14 | ## Viewing the deCONZ Zigbee mesh
|
20 | 15 | The Zigbee mesh can be viewed using VNC (port 5901). The default VNC password is "changeme".
|
21 | 16 |
|
22 | 17 | ## 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. |
| 18 | +Install [node-red-contrib-deconz](https://flows.nodered.org/node/node-red-contrib-deconz) via the "Manage palette" menu in Node-RED (if it is not already pre-installed) and follow the 2 simple steps in the video below: |
27 | 19 |
|
28 |
| - |
29 |
| - |
| 20 | + |
0 commit comments