do “ls -l /dev/ttyACM0” and post the result back here.
here’s my own saved set of instructions
// 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 with text below.
// chmod to 755
// chown to root:root
// move to /usr/local/etc/rc.d/S98openhabzwave.sh
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