Installation Issues with Hassbian and Z-Wave Gen 5 USB Stick

Hi,
Was working with a previous install of Hassbian - re-imaged and reset Z Wave Stick. Now I get a "openzwave.object.ZWaveException: 'Zwave Generic Exception : Error when retrieving device /dev/ttyACM0 "

Have tried a soft reset of network via Z-wave Network Management also

Reboot Hasbian and will appear again - re-start service and Error config will show in dashboard

Error from HA Log:

2017-06-02 08:27:47.998 Always, OpenZwave Version 1.4.2508 Starting Up
2017-06-02 08:27:50.446 Info, Setting Up Provided Network Key for Secure Communications
2017-06-02 08:27:50.446 Warning, Failed - Network Key Not Set
2017-06-02 08:27:50.446 Info, mgr, Added driver for controller /dev/ttyACM0
2017-06-02 08:27:50.446 Info, Opening controller /dev/ttyACM0
2017-06-02 08:27:50.446 Info, Trying to open serial port /dev/ttyACM0 (attempt 1)

Sometimes, on rare occasion, the stick will be installed as a different device. Issue this command as root:

dmesg | grep ACM

Your stick may be ACM1 instead of ACM0.

Have you tried to initialize the stick using OZCP? If it doesn’t initialize there, then the stick is not /dev/ttyACM0.

Hi, trying to run the su command and I have no idea what the root password is (am I missing something here

anyway running the dmesg command as pi user produced this “dmesg |grep ACM
[ 3.201025] cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device”

Not quite sure where in the interface this is done “Z Wave Manager” maybe?

I am new to this sorry

No need to apologize, we all started somewhere.

If you need access to the root user, use a “sudo su” command. That will bypass any password requirements. Only use root when absolutely necessary. 1 fat finger command can screw up an entire install.

OK, so it sounds like /dev/ttyACM0 is the correct device. Any errors shown in /var/log/messages? Unfortunately the HA log isn’t very verbose. Sometimes you can get more verbose messages by using

sudo journalctl -fu home-assistant

Also, try using the OZWCP documented at https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/#using-the-ozwcp-web-application. It gives pretty solid error messages in the terminal if things don’t go as planned.

Thanks for your patience - so sudo su command came back with this now 0 and 1"[ 3.174568] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 200.791647] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device" two

From what I can recall there is no OZWCP installed as the post install scripts recommended the Open Z-Wave Pip version instead of the other.

sudo journalctl -fu home-assistant - this log is empty?

did a search of the messages file and nothing obvious there from what I can see

"Jun 1 23:06:45 hassbian kernel: [ 2.335680] usb 1-1.5: new full-speed USB device number 4 using dwc_otg
Jun 1 23:06:45 hassbian kernel: [ 2.468927] usb 1-1.5: New USB device found, idVendor=0658, idProduct=0200
Jun 1 23:06:45 hassbian kernel: [ 2.471249] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun 1 23:07:46 hassbian kernel: [ 58.529435] usb 1-1.5: USB disconnect, device number 4
Jun 1 23:08:22 hassbian kernel: [ 95.175631] usb 1-1.5: new full-speed USB device number 5 using dwc_otg
Jun 1 23:08:23 hassbian kernel: [ 95.308912] usb 1-1.5: New USB device found, idVendor=0658, idProduct=0200
Jun 1 23:08:23 hassbian kernel: [ 95.308920] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Have attached the full HA log as an attachment - thanks so much for helping BTW

Try changing it to ACM1. Sounds like you may have 2 USB devices?

What method did you use to install? Those error logs look like a lot more is wrong than just the zwave.

Have already tried to change it in the conf.yaml file, will give another go tho

This one,
https://home-assistant.io/docs/hassbian/installation/

ran post install scripts via “hassbian-config” command
https://home-assistant.io/docs/hassbian/customization/

check for any updates

https://home-assistant.io/docs/hassbian/upgrading/

that is pretty much it

changed a couple of things in raps-config… file system change and locale

If I run the full open- wave script it came back with errors from memory

I don’t know if it has changed, but the Hasspian image did not work for me at all as of a month ago. I installed the stock Raspberry OS and used the AIOI.

Had troubles with the All In One also - will re-flash the SD and try this now. Anything I need to do apart from the steps on this page?

the update process differs from Hassbian to AIO

I followed that step for step with 0 issues.

Thanks - I did a Raspbian update prior to running these HA script… hope that does not cause issues

My Gen 5 stick work. Mabe some trouble with 2017-06-02 08:27:50.446 Warning, Failed - Network Key Not Set?