Hi,
I’m quite new to openhab.
I have installed openhab2 on a Raspberry Pi and connected to an Arduino via usb.
Arduino is sending via serial port a string of data from some sensors to the Raspberry, if I configure openhab to listen on ttyACM0 it works fine, as soon as I create an alias for the Arduino device ( as explained in the Serial Binding Guide ) and I set openhab to listen on the port “ttyArduino” it says that it can not open serial port “dev/ttyArduino”.
Can someone help?
12:03:04.292 [ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type 'serial' of item 'arduino' could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: Could not open serial port /dev/ttyArduino: Serial port '/dev/ttyArduino' could not be found. Available po
rts are:
/dev/ttyACM0
Output of ls -l /dev
crw--w---- 1 root tty 4, 9 Jun 13 11:23 tty9
crw-rw---- 1 root dialout 166, 0 Jun 13 11:23 ttyACM0
crw-rw---- 1 root dialout 204, 64 Jun 13 11:23 ttyAMA0
lrwxrwxrwx 1 root root 7 Jun 13 11:23 ttyArduino -> ttyACM0
crw------- 1 root root 5, 3 Jun 13 11:23 ttyprintk