Raspberry 3 B+, HASS.IO 0.82.1, Razberry Z-Wave Module

hassio
Tags: #<Tag:0x00007f1b97eb4718>

#1

Hi everyone

I’m desperate. I’ve been trying to set up my Z-Wave network for a few days now. For this I use the following hw:

  • Raspberry 3 B+ with HASS.IO 0.82.1
  • Razberry Board

What I did:

Added following lines to config.txt:

dtoverlay=pi3-disable-bt

enable_uart=1

Added zwave component to configuration.yaml:

zwave:

usb_path: /dev/ttyAMA0

Problem:

WARNING (Dummy-2) [openzwave] Z-Wave Notification DriverFailed : {'notificationType': 'DriverFailed', 'homeId': 0, 'nodeId': 255}

SSH:

That’s what I get for hassio hw info

{

"result": "ok",

"data": {

"serial": [

"/dev/ttyAMA0",

"/dev/ttyS0"

],

"input": [],

"disk": [],

"gpio": [

"gpiochip128",

"gpiochip0"

],

"audio": {

"0": {

"name": "bcm2835_alsa - bcm2835 ALSA",

"type": "ALSA",

"devices": [

{

"chan_id": "0",

"chan_type": "digital audio playback"

},

{

"chan_id": "1",

"chan_type": "digital audio playback"

}

]

}

}

}

}

But when I try to check the permission on ttyAMA0 it says there is no such file or directory (same for ttyS0)

core-ssh:~# ls -l /dev/ttyAMA0

ls: /dev/ttyAMA0: No such file or directory

They are not listed here either:

core-ssh:~# ls -l /dev

total 466

lrwxrwxrwx 1 root root 13 Nov 24 23:04 fd -> /proc/self/fd

crw-rw-rw- 1 root root 1, 7 Nov 24 23:04 full

-rwxr-xr-x 1 root root 476800 Nov 21 13:52 init

drwxrwxrwt 2 root root 40 Nov 24 23:04 mqueue

crw-rw-rw- 1 root root 1, 3 Nov 24 23:04 null

lrwxrwxrwx 1 root root 8 Nov 24 23:04 ptmx -> pts/ptmx

drwxr-xr-x 2 root root 0 Nov 24 23:04 pts

crw-rw-rw- 1 root root 1, 8 Nov 24 23:04 random

drwxrwxrwt 2 root root 40 Nov 24 23:04 shm

lrwxrwxrwx 1 root root 15 Nov 24 23:04 stderr -> /proc/self/fd/2

lrwxrwxrwx 1 root root 15 Nov 24 23:04 stdin -> /proc/self/fd/0

lrwxrwxrwx 1 root root 15 Nov 24 23:04 stdout -> /proc/self/fd/1

crw-rw-rw- 1 root root 5, 0 Nov 24 23:04 tty

crw-rw-rw- 1 root root 1, 9 Nov 24 23:04 urandom

crw-rw-rw- 1 root root 1, 5 Nov 24 23:04 zero

Does anyone know what I could do to make this work?


#2

I cant’t provide a solution, but I suppose I’m facing the same problem. I’m running HassOS 1.13 on Raspberry 3 B+ with Razberry.

Long storry: I started with a Raspberry 1 and the razberry-addon, which worked without major issues. It was slow and emulate_hue did not work. Someone mentioned that the Raspberry 1 might be lacking resources, so I upgraded to Raspberry 3B+. emulate_hue is working fine, but now z-wave fails, which worked fine before.

I tried several power supplies because I read some suggestions along the lines of “raspberry might behave strangely if on insufficient power supply” and I’m confident that power should not be an issue.

I tried following https://www.home-assistant.io/docs/z-wave/device-specific/#razberry-board which has issues with current dockerized HassOS and probably needs an update?

Anyway, I added dtoverlay=pi3-disable-bt to config.txt after flashing the image and before inserting it to my raspberry for the first time. And when I found this post, I reflashed the image and added enable_uart=1 as well. Didn’t make a difference.

I can’t follow the next steps about systemctl-commands, because those services do not exist. (I enabled dev-mode to get deeper access, but didn’t find anything to do so didn’t modify anything yet).

Current log is

2019-01-11 20:55:16.145 Always, OpenZwave Version 1.4.3322 Starting Up
2019-01-11 20:55:21.431 Info, Setting Up Provided Network Key for Secure Communications
2019-01-11 20:55:21.431 Info, mgr, Added driver for controller /dev/ttyAMA0
2019-01-11 20:55:21.431 Info, Opening controller /dev/ttyAMA0
2019-01-11 20:55:21.432 Info, Trying to open serial port /dev/ttyAMA0 (attempt 1)
2019-01-11 20:55:21.436 Info, Serial port /dev/ttyAMA0 opened (attempt 1)
2019-01-11 20:55:21.441 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-01-11 20:55:21.441 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-01-11 20:55:21.441 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-01-11 20:55:21.441 Detail, contrlr, Queuing (Command) FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-01-11 20:55:21.441 Detail, contrlr, Queuing (Command) FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-01-11 20:55:21.442 Detail,
2019-01-11 20:55:21.442 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x15) - FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9
2019-01-11 20:55:22.442 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-01-11 20:55:22.442 Detail, contrlr, Removing current message
2019-01-11 20:55:22.442 Detail, contrlr, Notification: Notification - TimeOut
2019-01-11 20:55:22.444 Detail,
2019-01-11 20:55:22.444 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x20) - FUNC_ID_ZW_MEMORY_GET_ID: 0x01, 0x03, 0x00, 0x20, 0xdc
2019-01-11 20:55:23.445 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-01-11 20:55:23.445 Detail, contrlr, Removing current message
2019-01-11 20:55:23.445 Detail, contrlr, Notification: Notification - TimeOut
2019-01-11 20:55:23.446 Detail,
2019-01-11 20:55:23.446 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x05) - FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES: 0x01, 0x03, 0x00, 0x05, 0xf9
2019-01-11 20:55:24.446 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-01-11 20:55:24.446 Detail, contrlr, Removing current message
2019-01-11 20:55:24.447 Detail, contrlr, Notification: Notification - TimeOut
2019-01-11 20:55:24.447 Detail,
2019-01-11 20:55:24.447 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x07) - FUNC_ID_SERIAL_API_GET_CAPABILITIES: 0x01, 0x03, 0x00, 0x07, 0xfb
2019-01-11 20:55:25.448 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-01-11 20:55:25.448 Detail, contrlr, Removing current message
2019-01-11 20:55:25.448 Detail, contrlr, Notification: Notification - TimeOut
2019-01-11 20:55:25.449 Detail,
2019-01-11 20:55:25.449 Info, contrlr, Sending (Command) message (Callback ID=0x00, Expected Reply=0x56) - FUNC_ID_ZW_GET_SUC_NODE_ID: 0x01, 0x03, 0x00, 0x56, 0xaa
2019-01-11 20:55:26.449 Error, contrlr, ERROR: Dropping command, expected response not received after 1 attempt(s)
2019-01-11 20:55:26.449 Detail, contrlr, Removing current message
2019-01-11 20:55:26.450 Detail, contrlr, Notification: Notification - TimeOut

Any help would be greatly appreciated.