Hello
I’ve installed home assistant locally on the rpi raspbian and then add
zwave:
usb_path: /dev/ttyS0
to configuration.yaml
( My zwave controller use port ttyS0.)
I configure disable a login shell to be accessible over serial and configure the serial port hardware to be enabled.
But when I went to Z-Wave Control Panel in Home assistant and follwer include instruction.
It show the error ,and can’t add device .
2018-05-31 14:35:05.526 Info, Trying to open serial port /dev/ttyS0 (attempt 1)
2018-05-31 14:35:05.526 Error, ERROR: Cannot open serial port /dev/ttyS0. Error code 16
2018-05-31 14:35:05.526 Error, ERROR: Failed to open serial port /dev/ttyS0
2018-05-31 14:35:05.526 Warning, WARNING: Failed to init the controller (attempt 3)
2018-05-31 14:35:10.527 Info, Opening controller /dev/ttyS0
2018-05-31 14:35:10.527 Info, Trying to open serial port /dev/ttyS0 (attempt 1)
2018-05-31 14:35:10.527 Error, ERROR: Cannot open serial port /dev/ttyS0. Error code 16
2018-05-31 14:35:10.527 Error, ERROR: Failed to open serial port /dev/ttyS0
2018-05-31 14:35:10.527 Warning, WARNING: Failed to init the controller (attempt 4)
2018-05-31 14:35:10.535 Detail, contrlr, Notification: DriverFailed
It show
crw-rw---- 1 root dialout 4, 64 May 31 14:57 /dev/ttyS0
after I typed ls -al /dev/ttyS0.
I used Matrix Creator as ZWAVE controller.It use SIGMA designs ZM5202 and It used port ttyS0 to connect ZWAVE but not ttyACM0.
I can add ZWAVE device directely from this ZWAVE controller but can’t addnode from Home assistant
There is also an erreur message after I run again
$sudo -u homeassistant -H /srv/homeassistant/bin/hass
2018-06-01 08:08:59 ERROR (MainThread) [homeassistant.components.http] Failed to create HTTP server at port 8123: [Errno 98] error while attempting to bind on address (‘0.0.0.0’, 8123): address already in use
2018-06-01 08:09:19 WARNING (Dummy-22) [openzwave] Z-Wave Notification DriverFailed : {‘homeId’: 0, ‘notificationType’: ‘DriverFailed’, ‘nodeId’: 255}
I’m pretty sure the problem is that your IoT device isn’t a Z-Wave controller USB stick. I’d ask on the OpenZWave mailing list to see if they can support these.