Hardware: Synology NAS DS916+ / Aeotec Z-Stick Gen5
OS: DSM 6.2.2-24922
Java Runtime Environment: Java8 1.8.0_241
openHAB version: 2.5.2.000
Issue of the topic:
Hi,
I’ve installed OpenHAB to my Synology NAS which seams to work fine.
As a next step I’m trying to add a Z-wave controller (Aeotec Z-Stick Gen5) to the setup.
Adding the binding worked fine but configuring the Serial Port doesn’t work.
I’ve used port /dev/ttyACM0 but receive the following error: Serial Error: Port /dev/ttyACM0 does not exist
Following some information I found on this community this probably has to do with insufficient rights for the openHAB user. I’m not a Linux expert but tried the following:
Via SSH logged in as admin on the NAS (ls -l /dev/ttyACM0) I receive the following info on which I assume is the serial port for my Z-wave controller USB stick:
crw------- 1 root root 166, 0 Apr 14 19:32 /dev/ttyACM0
I have difficulties in changing the access rights for my openHAB user for this port following the instructions I found on https://github.com/openhab/openhab-syno-spk
Can somebody help on this?
Yesterday I’ve rebooted my NAS before making any further configuration. Strangely enough my controller came online. But when checking the access rights on the port I still get this:
Click on your Synology device and download “UsbSerialDrivers DSM 6.2 v6-7”.
These are the drivers that come with the Domoticz package. When you ditch Domoticz (because you just could not take anymore of it) you will apparently also loose the serial port configuration. You can get it back by just installing this package.
Perform a manual install in package manager of this package. Ignore the confusing rap which will not show you any encouraging results anyway would you be so couragous to follow up on them (there is no need to SSH into anything).
After installation, reboot your Synology.
Go back into OpenHAB to your ZWave stick configuration and find /dev/ttyACM0 is now provided as an option in the dropdown list. Choose it, save.
Give it a minute. OpenHAB will automatically start searching for ZWave devices and report what it found.