ZWave Stick with Synology Docker

Hi,

I can’t get my Aeotec Z-Wave Stick to run on the latest DSM (6.2.3-25426) and HA (0.110.3) , after it ran really well for at least a year.

I read those two manuals and though I implemented it correctly:
https://www.home-assistant.io/docs/installation/docker/ and
https://philhawthorne.com/installing-home-assistant-io-on-a-synology-diskstation-nas/

Here is what I got:

jhein@xxx:~$ ls -la /dev/ttyACM0 
crw------- 1 root root 166, 0 May 28 19:15 /dev/ttyACM0

root@xxx:~# lsusb -iUc
  |__1-1         0658:0200:0000 02  2.00   12MBit/s 100mA 2IFs ( ffffffd1ffffffb2ffffffdbffffffad)
  1-1:1.0         (IF) 02:02:01 1EP  () cdc_acm tty/ttyACM0 
  1-1:1.1         (IF) 0a:00:00 2EPs () cdc_acm 
  |__1-2         051d:0003:0106 00  2.00   12MBit/s 2mA 1IF  (American Power Conversion  Smart-UPS 1500 FW:UPS 09.3 / ID=18 AS1802155151  )
  1-2:1.0         (IF) 03:00:00 2EPs () usbfs 
  |__1-3         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 6500827C00DA5A83)
  1-3:1.0         (IF) 08:06:50 2EPs () usb-storage host9 (synoboot)

Command to create the container (multiple lines for readability):

sudo docker run --name="13-home-assistant-zwave" 
  -v /volume1/docker/home-assistant/slave-zwave:/config 
  --device /dev/ttyACM0 -e TZ=Europe/Berlin --net=host 
  --privileged -itd homeassistant/home-assistant:stable`

ZWave Config:

zwave:
  usb_path: /dev/ttyACM0
  polling_interval: 60000

What I get is:

2020-05-29 05:17:29.166 Always, OpenZwave Version 1.4.3469 Starting Up
2020-05-29 05:17:29.303 Info, Setting Up Provided Network Key for Secure Communications
2020-05-29 05:17:29.303 Info, mgr,     Added driver for controller /dev/ttyACM0
2020-05-29 05:17:29.303 Info,   Opening controller /dev/ttyACM0
2020-05-29 05:17:29.303 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2020-05-29 05:17:29.303 Info, Serial port /dev/ttyACM0 opened (attempt 1)
2020-05-29 05:17:29.303 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-05-29 05:17:29.304 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-05-29 05:17:29.304 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-05-29 05:17:29.304 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-05-29 05:17:29.304 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-05-29 05:17:29.304 Detail,
2020-05-29 05:17:29.304 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2020-05-29 05:17:30.304 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-29 05:17:30.304 Detail, contrlr, Removing current message
2020-05-29 05:17:30.304 Detail, contrlr, Notification: Notification - TimeOut
2020-05-29 05:17:30.306 Detail,
2020-05-29 05:17:30.307 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2020-05-29 05:17:31.307 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-29 05:17:31.307 Detail, contrlr, Removing current message
2020-05-29 05:17:31.307 Detail, contrlr, Notification: Notification - TimeOut
2020-05-29 05:17:31.308 Detail,
2020-05-29 05:17:31.308 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2020-05-29 05:17:32.308 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-29 05:17:32.308 Detail, contrlr, Removing current message
2020-05-29 05:17:32.308 Detail, contrlr, Notification: Notification - TimeOut
2020-05-29 05:17:32.309 Detail,
2020-05-29 05:17:32.309 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2020-05-29 05:17:33.309 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-29 05:17:33.309 Detail, contrlr, Removing current message
2020-05-29 05:17:33.309 Detail, contrlr, Notification: Notification - TimeOut
2020-05-29 05:17:33.310 Detail,
2020-05-29 05:17:33.310 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2020-05-29 05:17:34.310 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2020-05-29 05:17:34.310 Detail, contrlr, Removing current message
2020-05-29 05:17:34.310 Detail, contrlr, Notification: Notification - TimeOut

The device is passed through to the container. I did an ls -l /dev/ttyACM0 inside the container.

Any help would be highly appreciated.

Thank you,
Julian

I unplugged the stick and plugged it back in. It changed from ttyACM0 to ttyACM1, changed the config and worked immediately. No idea why. But it works :slight_smile:

1 Like