How to install conbee on Synology NAS

Hi,

I have a 718+ Synology NAS and I am trying to get the conbee stick working.

  • I put the conbee stick in the USB port of the NAS.
  • Installed the Deconz container in Docker

But now I am completely stuck. What should I do next? I tried adding Deconz in HA via integrations. But it says it cannot find an API key.

Thanks!

1 Like

I just got my Conbee stick working on DS918+ in docker.
Which container do you use ? I use ā€œmarthoc/deconzā€

I had to SSH to the nas and run 2 commands to load the drivers for the Conbee:

sudo insmod /lib/modules/usbserial.ko
sudo insmod /lib/modules/ftdi_sio.ko

Then you should be able to find the usb under /dev/ttyUSB0
then you need to run the docker container with ā€œhigh privilegeā€ as Synology docker does not support the ā€œā€“deviceā€ command.

2 Likes

Thank you for the hints, this worked for me on my DS218+. I can find the conbee and can trigger lamps etc. My problem is, that /dev/ttyUSB0 cannot be found after a restart of the diskstation. It works again, when I have connected via SSH and called the two commands above (usbserial.ko and ftdi_sio.ko). How can I set it up, that the conbee is found everytime on a startup of the diskstation, that I donā€™t have to load the drivers for Conbee everytime?

I found a possibility do this during a startup script from

1 Like

Latest spec from https://github.com/marthoc/docker-deconz shows option as: -e DECONZ_DEVICE=/dev/ttyUSB1. So I just put it into Synology UI as:

.

So you can easily specify any usb device here. to detect which one is used by conbeeII - ssh to your diskstation and run: ls ls /dev/ttyA*

Hope this will help to somebodyā€¦ )

1 Like

HI guys,
Iā€™m new with deConz.
I installed Docker on my fresh new DS220+ and I installed marthoc/deconz version.

I tried to configure the network conf as bridgeed or host but I get always the same messages in log files in docker.
Could you please help me ?
How to fix my configuration ?
How to reach Phoscon web app ?

2020-11-03 20:22:51	stdout	[marthoc/deconz] VNC Disabled
2020-11-03 20:22:51	stdout	[marthoc/deconz] Websockets port: 443
2020-11-03 20:22:51	stdout	[marthoc/deconz] Web UI port: 80
2020-11-03 20:22:51	stdout	[marthoc/deconz] Current deCONZ version: 2.05.86
2020-11-03 20:22:51	stdout	[marthoc/deconz] Starting deCONZ...
2020-11-03 20:22:54	stdout	20:22:54:460 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/
2020-11-03 20:22:54	stdout	libpng warning: iCCP: known incorrect sRGB profile
2020-11-03 20:22:54	stdout	QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
2020-11-03 20:22:55	stdout	20:22:55:985 ZCLDB init file /root/.local/share/dresden-elektronik/deCONZ/zcldb.txt
2020-11-03 20:22:55	stdout	20:22:55:797 CTRL. 3.27.220:22:55:984 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:22:57	stdout	This plugin does not support propagateSizeHints()
2020-11-03 20:22:57	stdout	This plugin does not support propagateSizeHints()
2020-11-03 20:22:57	stdout	20:22:57:694 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:22:57	stdout	20:22:57:615 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
2020-11-03 20:22:57	stdout	20:22:57:596 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
2020-11-03 20:22:57	stdout	20:22:57:586 found node plugin: libde_rest_plugin.so - REST API Plugin
2020-11-03 20:22:57	stdout	20:22:57:586 dlg action: Read binding table
2020-11-03 20:22:57	stdout	20:22:57:585 [INFO] - Button maps loaded.
2020-11-03 20:22:57	stdout	20:22:57:583 [ERROR] - Button map 'sunricherCCTMap' in JSON file has no assigned ModelIDs. Skip loading button map...
2020-11-03 20:22:57	stdout	20:22:57:571 [INFO] - Found file containing button maps. Parsing data...
2020-11-03 20:22:57	stdout	20:22:57:554 started websocket server at port 443
2020-11-03 20:22:57	stdout	20:22:57:544 DB create temporary views
2020-11-03 20:22:57	stdout	20:22:57:344 DB cleanup
2020-11-03 20:22:57	stdout	20:22:57:343 DB PRAGMA user_version: 7
2020-11-03 20:22:57	stdout	20:22:57:343 DB file size 135168 bytes, free pages 0
2020-11-03 20:22:57	stdout	20:22:57:343 DB PRAGMA freelist_count: 0
2020-11-03 20:22:57	stdout	20:22:57:343 DB PRAGMA page_size: 4096
2020-11-03 20:22:57	stdout	20:22:57:343 DB PRAGMA page_count: 33
2020-11-03 20:22:57	stdout	20:22:57:343 DB sqlite version 3.27.2
2020-11-03 20:22:57	stdout	20:22:57:324 GW sd-card image version file does not exist: /root/.local/share/dresden-elektronik/deCONZ/gw-version
2020-11-03 20:22:57	stdout	20:22:57:324 gw run mode: docker
2020-11-03 20:22:57	stdout	20:22:57:324 parent process /bin/sh
2020-11-03 20:22:58	stdout	20:22:58:776 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:00	stdout	20:23:00:794 wait reconnect 15 seconds
2020-11-03 20:23:00	stdout	20:22:59:827 device disconnected reason: 4, index: 0
2020-11-03 20:23:01	stdout	20:23:01:816 wait reconnect 14 seconds
2020-11-03 20:23:01	stdout	20:23:00:873 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:03	stdout	20:23:03:910 Announced to internet https://phoscon.de/discover
2020-11-03 20:23:03	stdout	20:23:03:816 wait reconnect 12 seconds
2020-11-03 20:23:03	stdout	20:23:03:223 wait reconnect 13 seconds
2020-11-03 20:23:04	stdout	20:23:04:816 wait reconnect 11 seconds
2020-11-03 20:23:05	stdout	20:23:05:816 wait reconnect 10 seconds
2020-11-03 20:23:06	stdout	20:23:06:815 wait reconnect 9 seconds
2020-11-03 20:23:07	stdout	20:23:07:816 wait reconnect 8 seconds
2020-11-03 20:23:08	stdout	20:23:08:815 wait reconnect 7 seconds
2020-11-03 20:23:09	stdout	20:23:09:816 wait reconnect 6 seconds
2020-11-03 20:23:10	stdout	20:23:10:815 wait reconnect 5 seconds
2020-11-03 20:23:11	stdout	20:23:11:816 wait reconnect 4 seconds
2020-11-03 20:23:12	stdout	20:23:12:816 wait reconnect 3 seconds
2020-11-03 20:23:13	stdout	20:23:13:817 wait reconnect 2 seconds
2020-11-03 20:23:13	stdout	20:23:12:902 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26660700.bin.GCF
2020-11-03 20:23:14	stdout	20:23:14:815 wait reconnect 1 seconds
2020-11-03 20:23:16	stdout	20:23:16:816 wait reconnect 14 seconds
2020-11-03 20:23:16	stdout	20:23:15:893 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:16	stdout	20:23:15:816 wait reconnect 15 seconds
2020-11-03 20:23:16	stdout	20:23:15:126 device disconnected reason: 4, index: 0
2020-11-03 20:23:16	stdout	20:23:14:893 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:18	stdout	20:23:18:816 wait reconnect 12 seconds
2020-11-03 20:23:18	stdout	20:23:17:815 wait reconnect 13 seconds
2020-11-03 20:23:18	stdout	20:23:17:815 start reconnect to network
2020-11-03 20:23:19	stdout	20:23:19:817 wait reconnect 11 seconds
2020-11-03 20:23:20	stdout	20:23:20:816 wait reconnect 10 seconds
2020-11-03 20:23:21	stdout	20:23:21:816 wait reconnect 9 seconds
2020-11-03 20:23:22	stdout	20:23:22:815 failed to reconnect to network try=1
2020-11-03 20:23:23	stdout	20:23:23:815 wait reconnect 7 seconds
2020-11-03 20:23:23	stdout	20:23:22:816 wait reconnect 8 seconds
2020-11-03 20:23:24	stdout	20:23:24:816 wait reconnect 6 seconds
2020-11-03 20:23:25	stdout	20:23:25:816 wait reconnect 5 seconds
2020-11-03 20:23:26	stdout	20:23:26:816 wait reconnect 4 seconds
2020-11-03 20:23:27	stdout	20:23:27:816 wait reconnect 3 seconds
2020-11-03 20:23:27	stdout	20:23:27:816 failed to reconnect to network try=2
2020-11-03 20:23:28	stdout	20:23:28:816 wait reconnect 2 seconds
2020-11-03 20:23:29	stdout	20:23:29:906 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:29	stdout	20:23:29:816 wait reconnect 1 seconds
2020-11-03 20:23:30	stdout	20:23:30:815 wait reconnect 15 seconds
2020-11-03 20:23:30	stdout	20:23:30:253 device disconnected reason: 4, index: 0
2020-11-03 20:23:31	stdout	20:23:31:817 wait reconnect 14 seconds
2020-11-03 20:23:31	stdout	20:23:30:892 COM: --dev: /dev/ttyUSB0 (ConBee)
2020-11-03 20:23:32	stdout	20:23:32:816 failed to reconnect to network try=3
2020-11-03 20:23:33	stdout	20:23:33:816 wait reconnect 12 seconds
2020-11-03 20:23:33	stdout	20:23:32:817 wait reconnect 13 seconds
2020-11-03 20:23:34	stdout	20:23:34:816 wait reconnect 11 seconds
2020-11-03 20:23:35	stdout	20:23:35:815 wait reconnect 10 seconds
2020-11-03 20:23:36	stdout	20:23:36:816 wait reconnect 9 seconds
2020-11-03 20:23:37	stdout	20:23:37:816 wait reconnect 8 seconds
2020-11-03 20:23:37	stdout	20:23:37:815 failed to reconnect to network try=4
2020-11-03 20:23:38	stdout	20:23:38:816 wait reconnect 7 seconds
2020-11-03 20:23:39	stdout	20:23:39:816 wait reconnect 6 seconds
2020-11-03 20:23:40	stdout	20:23:40:816 wait reconnect 5 seconds
2020-11-03 20:23:41	stdout	20:23:41:816 wait reconnect 4 seconds
2020-11-03 20:23:42	stdout	20:23:42:816 failed to reconnect to network try=5

I have also set up a Conbee II in my DS220+ with marthoc/deconz. To get to the portal I set my network to bridged and added a port mapping from the container port 80 to an external port (eg 8032). I then reach Phoscon the portal via http://nas-ip:8032

Most of these steps seem overly complicated. I added my Conbee 2 by doing:

  1. Plug in ConBee via USB extension cable.
  2. Install serial driver for my 220+ (HTTP only)
  3. Reboot
  4. ssh to admin@diskstation
  5. sudo chmod 777 /dev/ttyACM0
  6. (Re)Start HA Docker image.

( I actually ran for a while without even step 2. YMMV. )

This way, you can run the ZHA integration directly from within HA, and no need for extra images. When HA detects the Conbee, and you are installing ZHA integration, it will present ConBee as the only choice.

3 Likes

This is the way.

Need help! I have installed DSM7 today. Since the Conbee isnĀ“t recognized. The USB stick is shown in control panel and via SSH (lsusb). Is there an easy way to figure out the path?

Solid info here

The Jadahl website is down. Any alternatives? Hereā€™s an alternative SynoCommunity