Hi I’m a newbie on linux and trying to get my rolling shutters controlled using openHAB on my Synology NAS with the RFXCom transceiver connected to it.
Running openHAB 2.3.0.005 on Synology NAS DSM 6.2.1-23824 Update 4 and trying to get my RFXCom connected but keep getting error: Connection to RFXCOM transceiver failed
gnu.io.NoSuchPortException: null
I added the daemon user openhab to dialout group
Running command ls -l /dev/ttyUSB*
I get:
crw-rw---- 1 root root 188, 0 Jan 3 01:22 /dev/ttyUSB0
I believe the problem is that ttyUSB0 is only accessible for root-users. On a Synology NAS, what is the right approach to get user openhab access ttyUSB0 and how to achieve this?
Sorry have been away for quite a while
Thanks @H102, this command seems to work.
However I’m using symlink to keep my USB device fixed.
Using the command on the symlink however doesn’t do much good as the changes get applied to /dev/ttyUSB0 and not the symlink /dev/ttyUSB-RFX433E
Can’t seem to find the right command to do this, or am I barking up the wrong tree?