It would be very helpful if anybody that has gotten purejavacomm to work could share if there are some special things to take care of, like permission somewhere. The serial port provider “seems to work”, there are no errors that we’ve found, and the ports shows up. But, trying to use the provided port fails.
What you see in that log is just OSGi trying to resolve the resources needed to start the bundle. It tries various things, some of which aren’t found, but it doesn’t matter, because it managed to find what it needs, and it ends with: Changed state from satisfied to active.
That means that the bundle started successfully, and is all that really matters from that part of the log. Not a single line were logged after the bundle started though, so it’s probably logging to different “coordinates” (not org.connectorio.addons.io.transport.serial).
Hey, I think you got it sorted. I am really thankful that you gave a spin to the addon and committed time to test it with another binding. Much appreciated!
As for installation and other people who missed related thread on github:
Once the KAR is there, run feature:install openhab-misc-serial-purejavacomm and feature:install openhab-transport-serial-shell from the Karaf console.
Assuming that the above went well, run co7io-list-serial-ports from the Karaf console. Hopefully, this will provide you with the name of a working serial port to try to use in the Thing configuration. The serial shell have also a co7io-open-serial-port which attempts to open and close port in order to confirm if its locked.
Happy testing to everyone who is brave enough to try 3rd party stuff with OH.
You may have to add it through community marketplace. Once KAR is in addons/ you can see purejavacomm feature in the UI under regular addons. I think its an unintended side effect introduced somewhere around OH 3.4 where runtime state is controlled by OH and not underlying framework.