I have a RPi3 and a Aeotec by Aeon Labs ZW090 Z Stick 5
I have gotten openHAB up and running but when I try to add the binding, I am getting
Status: OFFLINE - COMMUNICATION_ERROR Serial Error: Port /dev/ttyACM0 does not exist
I have read some sugestions and added this to my /usr/share/openhab2/runtime/bin/karaf file:
export EXTRA_JAVA_OPTS=-Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0
I did an ls ttyACM* in my /dev directory and it’s listed. I am using the rasbian image so I am not sure of the users and privileges.
Can I assume the user is “openhab2” ? and how do I check if that user has permission to read that device? What else may be wrong?
UPDATE I can confirm the “pi” user is part of the “dialout” group, and that group has “rw” privileges for that device.