Testers wanted - Removing the "Dgnu.io.rxtx.SerialPorts" recommendation

Hi all,

I see a lot of suggestions on the forum to set Dgnu.io.rxtx.SerialPorts but (at least on Windows or Linux) I don’t think this needs to be done for the majority of people. By setting it, the upstream library won’t search for valid devices so this property will need to be changed every time you add a new device.

I’m looking for people who have the property set in e.g. /etc/default/openhab2 and will be willing to remove it so that they can report back in this thread.

I’m all for removing/simplifying setups so:

Remove the property if:

you’re using serial devices that have names similar to (taken from the upstream library here):

COM*
ttyS*
ttySA*
ttyUSB*
ttyAMA*
rfcomm*
ttyircomm*
ttyACM*
DyIO*
Bootloader*
BowlerDevice*
DeltaDoodle*
dyio*

Keep the property if:

you’re using shortcuts or symlinks to give the serial device a more sensible name.

Report back here if:

you had the property but your openHAB serial communications worked/did not work after removing it.

It would be helpful if you could mention which devices these were, and what groups openHAB belongs to (e.g. by using openhab-cli info)

If all goes as expected, I’m hoping to edit the docs a bit and remove the line from openHABian’s setup.

Thanks,
Ben

3 Likes