I’m very new to this…
I installed the HA all in one installer over rasbian-jessie-lite on a RPi3. i inserted a Aeotec Z-Stick Gen5. it showed up as /dev/ttyACM0.
I put into the configuration.yaml file:
zwave:
usb_path: /dev/ttyUSB-ZStick-5G
config_path: /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
OZWCP couldn’t find the device when i tried to initialize the device ttyACM0
log:
2017-07-13 05:44:56.399 Always, OpenZwave Version 1.4.2657 Starting Up
2017-07-13 05:45:54.078 Info, Setting Up Provided Network Key for Secure Communications
2017-07-13 05:45:54.078 Warning, Failed - Network Key Not Set
2017-07-13 05:45:54.079 Info, mgr, Added driver for controller ttyACM0
2017-07-13 05:45:54.083 Info, Opening controller ttyACM0
2017-07-13 05:45:54.084 Info, Trying to open serial port ttyACM0 (attempt 1)
2017-07-13 05:45:54.084 Error, ERROR: Cannot open serial port ttyACM0. Error code 2
2017-07-13 05:45:54.084 Error, ERROR: Failed to open serial port ttyACM0
2017-07-13 05:45:54.084 Warning, WARNING: Failed to init the controller (attempt 0)
2017-07-13 05:45:59.084 Info, Opening controller ttyACM0
2017-07-13 05:45:59.084 Info, Trying to open serial port ttyACM0 (attempt 1)
2017-07-13 05:45:59.085 Error, ERROR: Cannot open serial port ttyACM0. Error code 2
2017-07-13 05:45:59.085 Error, ERROR: Failed to open serial port ttyACM0
2017-07-13 05:45:59.085 Warning, WARNING: Failed to init the controller (attempt 1)
2017-07-13 05:46:04.085 Info, Opening controller ttyACM0
2017-07-13 05:46:04.085 Info, Trying to open serial port ttyACM0 (attempt 1)
2017-07-13 05:46:04.085 Error, ERROR: Cannot open serial port ttyACM0. Error code 2
2017-07-13 05:46:04.085 Error, ERROR: Failed to open serial port ttyACM0
2017-07-13 05:46:04.085 Warning, WARNING: Failed to init the controller (attempt 2)
2017-07-13 05:46:09.086 Info, Opening controller ttyACM0
2017-07-13 05:46:09.086 Info, Trying to open serial port ttyACM0 (attempt 1)
2017-07-13 05:46:09.086 Error, ERROR: Cannot open serial port ttyACM0. Error code 2
2017-07-13 05:46:09.086 Error, ERROR: Failed to open serial port ttyACM0
2017-07-13 05:46:09.086 Warning, WARNING: Failed to init the controller (attempt 3)
2017-07-13 05:46:14.086 Info, Opening controller ttyACM0
2017-07-13 05:46:14.086 Info, Trying to open serial port ttyACM0 (attempt 1)
2017-07-13 05:46:14.087 Error, ERROR: Cannot open serial port ttyACM0. Error code 2
2017-07-13 05:46:14.087 Error, ERROR: Failed to open serial port ttyACM0
2017-07-13 05:46:14.087 Warning, WARNING: Failed to init the controller (attempt 4)
2017-07-13 05:46:14.087 Detail, contrlr, Notification: DriverFailed
2017-07-13 05:46:14.087 Info, Notification: Driver Failed, homeId 00000000
2017-07-13 05:47:27.013 Info, mgr, Driver for controller ttyACM0 pending removal
2017-07-13 05:47:27.014 Detail, Notification: DriverRemoved
2017-07-13 05:47:27.014 Info, Notification: type 27 home 00000000 node 0 genre 0 class 0 instance 0 index 0 type 0
I then created a udev rule for it to rename it “ttyUSB-ZStick-5G”
SUBSYSTEM==“tty”, ATTRS{idVendor}==“0658”, ATTRS{idProduct}==“0200”, SYMLINK+=“ttyUSB-ZStick-5G”
i tried to run OZWCP again with the new name and had the same result.
any idea why its happening?
It displays properly in the HA web interface as “Aeotec ZW090 Z-Stick Gen5 US”