- when you use
systemctl start openhab.servicethen i think yourstart.shshould be/etc/default/openhab2this is where you should addEXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyAMA0:/dev/ttyACM0"
As your post is not right formatted i im not sure but i think you have it there. Have a look here for more information about formatting posts.
Maybe just check in
-
Did you install the binding? I am not sure but the name
serial1suggests that it is a OpenHAB1 binding. Maybe you need to add legacy binding support. But i think not as the documentation does not list it as legacy. -
List the groups of your openhab, maybe it is not in dialout. I know you said it should be. I just try to find the problem.
sudo -u openhab groups
- Try to use the serial connection as openhab
sudo -u openhab <SerialTerminalConnection>
- Maybe try to define a Item
String UnoItem { serial="/dev/ttyACM0@<baudrate>" }
And maybe you can find something in teh logs?