You’re right, but in my case it was the solution … basically starting with false acting & false conclusion, my bad.
Before testing that first .jar from here:
I have taken “enocean” out of my list in addon.cfg. After clean cache and restart of OH4, I haven’t seen any EnOcean devices in my setup anymore, so conclusion enocean binding has not been loaded and added it again to my addons.cfg. That made it work somehow, as you say most probably with parallel loaded enocean bindings … internal & external …
Today I started over clean, no enocean in addon.cfg, just .jar in addons folder, no enocean bridge and no devices after OH4 start. Checking karaf console for active bindings, enocean is missing:
openhab> bundle:list -s | grep binding
253 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.astro
254 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.avmfritz
255 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.hpprinter
256 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.network
257 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.ntp
258 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.openweathermap
259 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.shelly
260 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.vdr
261 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.yamahareceiver
270 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.serial
Same using that 4.1.0-SNAPSHOT from here:
But I also figured out “transport-serial” not being installed with both externally loaded bindings, but that is a prerequisite to communicate with the enocean bridge:
openhab> feature:list -s | grep serial
openhab-core-io-transport-serial-javacomm │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │
openhab-transport-serial │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │ Serial Transport
openhab.tp-serial-javacomm │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │
openhab.tp-serial-rxtx │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │
To get those feature(s) I try tested to load serial binding as workaround in my binding list at addon.cfg:
binding = astro,avmfritz,hpprinter,network,ntp,openweathermap,shelly,serial,vdr,yamahareceiver
After that both external enocean bindings are loading, also feature “transport-serial” with that “serial binding” workaround:
openhab> feature:list -s | grep serial
openhab-core-io-transport-serial-javacomm │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │
openhab-transport-serial │ 4.0.0 │ │ Started │ distro-4.0.0 │ Serial Transport
openhab.tp-serial-javacomm │ 4.0.0 │ │ Uninstalled │ distro-4.0.0 │
openhab.tp-serial-rxtx │ 4.0.0 │ │ Started │ distro-4.0.0 │
openhab> bundle:list -s | grep binding
236 │ Active │ 80 │ 4.1.0.202307252320 │ org.openhab.binding.enocean
254 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.astro
255 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.avmfritz
256 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.hpprinter
257 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.network
258 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.ntp
259 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.openweathermap
260 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.serial
261 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.shelly
262 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.vdr
263 │ Active │ 80 │ 4.0.0 │ org.openhab.binding.yamahareceiver
That 4.1.0-SNAPSHOT throws a lot messages like that:
2023-07-28 22:25:22.380 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler EnOceanBridgeHandler tried updating the thing status although the handler was already disposed.
2023-07-28 22:25:22.381 [WARN ] [erial.internal.SerialPortManagerImpl] - No SerialPortProvider found for: /dev/ttyAMA0
2023-07-28 22:25:22.381 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler EnOceanBridgeHandler tried updating the thing status although the handler was already disposed.
2023-07-28 22:26:22.382 [INFO ] [ernal.transceiver.EnOceanTransceiver] - Transceiver shutdown
2023-07-28 22:26:22.384 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler EnOceanBridgeHandler tried updating the thing status although the handler was already disposed.
2023-07-28 22:26:22.386 [WARN ] [erial.internal.SerialPortManagerImpl] - No SerialPortProvider found for: /dev/ttyAMA0
2023-07-28 22:26:22.387 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler EnOceanBridgeHandler tried updating the thing status although the handler was already disposed.
With the other one logs are more clean, albeit not perfect.
And I still get that unresolved requirement “usbserial” on startup with both external bindings.