[SOLVED] How to setup the Sonoff Zigbee USB Dongle?

OK, I’ve made a little progress. It’s a permissions issue that I’m experiencing. If I run openhab with the root user I can access the dongle fine, but running openhab with the openhab user I can’t access the dongle.

I’ve followed all the guides.

sudo adduser openhab dialout
sudo adduser openhab tty

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyZWAVE:/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0"

I have finally resolved the issue by following this write up.

For those who just want the the solution, here you go.

usermod -a -G lock openhab
1 Like