I have set up the new Openhab 3 with the latest Openhabian in 32-bit and would like to establish the serial connection to the Arduino via /dev/ttyACM0.
I have followed the instructions in the forum and scoured the internet, but nothing leads to a working communication.
In the current house control I have a working system with Openhab 2 and the serial binding etc. and would now like to get this working with Openhab 3.
Does anyone have any idea if something has fundamentally changed in the serial binding or something else or is causing problems?
Below is an excerpt from “minicom” which shows that the serial connection works, but Openhab does not access it:
Welcome to minicom 2.7.1 OPTIONS: I18n Compiled on Aug 13 2017, 15:25:34. Port /dev/ttyACM0, 15:22:31 Press CTRL-A Z for help on special keys Light_WohnZ_LED,ON;
And here is the permission statement:
[21:20:49] openhabian@openHABianDevice:~$ ls -ltr /dev|grep -i ttyACM0 crw-rw-rw- 1 root dialout 166, 0 Jan 2 21:18 ttyACM0
[21:25:14] openhabian@openHABianDevice:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM) Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub