Z-wave Controller does not connect

It’s because openhab can’t see your z-stick. Here’s the instructions I keep handy for my own Synology (DS214play) - cos occasionally the DSM updates delete one or both of these files (so just re-create if that happens)…

============

// add user ‘openhab2’ to groups ‘dialout’ & ‘uucp’
// create the two file below (all details below)
// and then reboot server.
// doing ‘ls -l /dev/ttyA*’ should give this output like
// #> crw-rw---- 1 root dialout 166, 0 Feb 26 09:40 /dev/ttyACM0

// create ‘/lib/udev/rules.d/openhab-zwave.rules’
// with this content:
ACTION==“add”, KERNEL==“ttyACM0”, MODE=“0660”, GROUP=“dialout”

// create file (anywhere) with text below.
// chmod to 755
// chown to root:root
// move to /usr/local/etc/rc.d/S98openhabzwave.sh
// (do not create in that location as you can’t then chmod or chown the file)

start_modules(){
echo ls -l /dev/tty* >> /volume1/public/tmp/zwavelog.txt
chown -R root.uucp /run/lock
chmod -R g+w /run/lock
chown -R root.uucp /var/lock
chmod -R g+w /var/lock
}
stop_modules(){
echo “do nothing”
}
case “$1” in
start)
start_modules
;;
stop)
stop_modules
;;
*)
echo “usage: $0 { start | stop }” >&2
exit 1
;;
esac
exit 0

1 Like