blackwinds

USB driver issue when running HomeAssistant on DSM 6.0

Recommended Posts

Hello, I installed HomeAssistant as a docker image and run it on DSM 6.0 (Jun's loader). The problem is, it doesn't support my USB z-wave dongle.

My server is Dell poweredge T20. It has an Intel 8 / C220 USB 3.0 eXtensible Host Controller. But for DSM, it doesn't have the usb serial package for it. Could anybody suggest how can I get that driver? I have zero experience to build the driver by myself.

 

thanks

Share this post


Link to post
Share on other sites

Here are more information from z-wave log.

 

We can see that the HomeAssistant try to talk to /dev/ttyACM0 as a serial device. It should be a USB device. There should be a /dev/ttyUSB0 but I could not see it.

 

2018-01-07 08:20:49.368 Always, OpenZwave Version 1.4.2586 Starting Up
2018-01-07 08:20:51.348 Info, Setting Up Provided Network Key for Secure Communications
2018-01-07 08:20:51.348 Warning, Failed - Network Key Not Set
2018-01-07 08:20:51.348 Info, mgr,     Added driver for controller /dev/ttyACM0
2018-01-07 08:20:51.348 Info,   Opening controller /dev/ttyACM0
2018-01-07 08:20:51.348 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)
2018-01-07 08:20:51.348 Info, Serial port /dev/ttyACM0 opened (attempt 1)
2018-01-07 08:20:51.348 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-01-07 08:20:51.348 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-01-07 08:20:51.348 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-01-07 08:20:51.348 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2018-01-07 08:20:51.348 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-01-07 08:20:51.348 Detail, 
2018-01-07 08:20:51.348 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2018-01-07 08:20:52.348 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-01-07 08:20:52.348 Detail, contrlr, Removing current message
2018-01-07 08:20:52.348 Detail, contrlr, Notification: Notification - TimeOut
2018-01-07 08:20:52.348 Detail, 
2018-01-07 08:20:52.348 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2018-01-07 08:20:53.348 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-01-07 08:20:53.348 Detail, contrlr, Removing current message
2018-01-07 08:20:53.348 Detail, contrlr, Notification: Notification - TimeOut
2018-01-07 08:20:53.348 Detail, 
2018-01-07 08:20:53.348 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2018-01-07 08:20:54.349 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-01-07 08:20:54.349 Detail, contrlr, Removing current message
2018-01-07 08:20:54.349 Detail, contrlr, Notification: Notification - TimeOut
2018-01-07 08:20:54.349 Detail, 
2018-01-07 08:20:54.349 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2018-01-07 08:20:55.349 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-01-07 08:20:55.349 Detail, contrlr, Removing current message
2018-01-07 08:20:55.349 Detail, contrlr, Notification: Notification - TimeOut
2018-01-07 08:20:55.349 Detail, 
2018-01-07 08:20:55.349 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2018-01-07 08:20:56.349 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-01-07 08:20:56.349 Detail, contrlr, Removing current message
2018-01-07 08:20:56.349 Detail, contrlr, Notification: Notification - TimeOut
2018-01-07 08:21:30.722 Error, mgr,     Manager::GetDriver failed - Home ID 0x00000000 is unknown
2018-01-07 08:21:30.722 Warning, Exception: Manager.cpp:373 - 100 - Invalid HomeId passed to GetDriver
2018-01-07 08:21:30.722 Info, mgr,     Manager::WriteConfig failed - _homeId 0 not found
2018-01-07 08:21:31.723 Detail, Notification: DriverRemoved
2018-01-07 08:21:31.723 Always, ***************************************************************************
2018-01-07 08:21:31.723 Always, *********************  Cumulative Network Statistics  *********************
2018-01-07 08:21:31.723 Always, *** General
2018-01-07 08:21:31.723 Always, Driver run time: . .  . 0 days, 0 hours, 0 minutes
2018-01-07 08:21:31.723 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Total messages successfully received: . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Total Messages successfully sent: . . . . . . . . . . . . 5
2018-01-07 08:21:31.723 Always, ACKs received from controller:  . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, *** Errors
2018-01-07 08:21:31.723 Always, Unsolicited messages received while waiting for ACK:  . . 0
2018-01-07 08:21:31.723 Always, Reads aborted due to timeouts:  . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Bad checksum errors:  . . . . . . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, CANs received from controller:  . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, NAKs received from controller:  . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Out of frame data flow errors:  . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0
2018-01-07 08:21:31.723 Always, Messages dropped and not delivered: . . . . . . . . . . . 5
2018-01-07 08:21:31.723 Always, ***************************************************************************
2018-01-07 08:21:31.723 Warning, WARNING: Tried to write driver config with no home ID set
2018-01-07 08:21:33.723 Info, mgr,     Driver for controller /dev/ttyACM0 removed

 

Share this post


Link to post
Share on other sites

All right, I eventually resolved the problem.

There is a pub source intel ftdi driver for linux available at http://www.ftdichip.com/Drivers/D2XX.htm. just install the driver. the device is still /dev/ttyACM0. everything works fine.

 

Now my synology dsm is running on dell poweredge T20, I installed HomeAssistant as z-wave controller. My smart-home system rocks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now