I am in badly need of assistance with installing openHAB 1.8.3 on CentOS 7 Server. I have the runtime installed and addon configured. However, when I start the server I receive the following error message: Serial Error: Port /dev/ttys0 does not exist
- I am running vmware ESXi 6 with CentOS 7 Guest OS.
- I have the Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 (ZW090)
- Results from lsusb are: BUS 002 Device 004: ID 0658 : 0200 Sigma Designs, INC
Thanks in advance
Make sure the user you are running oh under has permission to read and write to that device.
I’m running under root. Therefore , permission is granted.
How should permissions be granted?
Running openHAB as root should have eliminated any missing permissions (btw granting is normally done via membership within group dialout).
Does the device /dev/ttys0 really exist?
I’m running a similar setup. From memory, as I’m at work at the moment, the USB device is presented as ASM0
I can see the device connected to the BUS but how can I confirm what port is running on?
I’m not sure of how to verify the port.
It’s not recognized in ASMO either.
This has really been a pain point.
Probably the easiest way is to run
ls /cev/tty*, unplug the dongle and run that again and look for the device that went away.
Alternatively you can run
dmesg after plugging it in and look for the messages that talk about assigning your device to /dev.
I get an error when running ls /cev/tty* – can’t access / no such file or directory
The dmesg command does not display the port
typo, should be “/dev/tty*”
it looks like it is port /dev/tty/ACM0
You are the best!!! Thanks!!!