After install from openhab3 with modbus binding and defining modbus Studer things, the communication to xcom485i was correct.
then I installed openstuder package from Github
Only openstuder gateway with web was working and Openhab3 stops working via Modbus studer binding using of course not simultan same ttyUSBx port.
I propose is a conflict between both packages.
EXTRA_JAVA_OPTS=“-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSBx” doesn’t helped.
Error message in openhab.log
2023-04-01 17:40:16.014 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Could not connect to endpoint ModbusSerialSlaveEndpoint [getPortName()=/dev/ttyUSB0] -- aborting request ModbusReadRequestBlueprint [slaveId=11, functionCode=READ_INPUT_REGISTERS, start=44, length=2, maxTries=3] [operation ID afd02575-e2c4-495f-9d0c-5c8c1f85a31e]
On Openhab2 and Modbus Studer binding this behavior doesn’t appears.
Rpi4 4GB - openhabian with OH3 /OH2 installed