Hi Rich,
thanks for coming back to this. ATM i can’t check if your advice will work, but def will give it a try and report back.
A few days back i could make it work ‘by hand’:
- Start a bare container (no mounts, no nothing)
- ssh into it’s console to activate the 1xcompat feature
- docker cp addon jars into the container, one by one, in the correct order
As you can see, your approach is preferred. 
There’s only one thing that I could not find out: how do you enable 1xcompat by config (instead of having to activate the feature on the console).
See you
ugh_bough
_ _ _ __ _ _ _ _ _ _
___ __| (_) |_ __ _ / _| |_ ___ _ __ | |_| |__ _ __ ___ __ _ __| | __ _ _ _| |_ ___ ___| | ___ ___ ___
/ _ \/ _ | | __| / _ | |_| __/ _ \ __| | __| _ | __/ _ / _ |/ _ | / _ | | | | __/ _ \ _____ / __| |/ _ \/ __|/ _ \
| __/ (_| | | |_ | (_| | _| || __/ | | |_| | | | | | __/ (_| | (_| | | (_| | |_| | || (_) |_____| (__| | (_) \__ \ __/
\___|\__,_|_|\__| \__,_|_| \__\___|_| \__|_| |_|_| \___|\__,_|\__,_| \__,_|\__,_|\__\___/ \___|_|\___/|___/\___|
This is my ‘final’ solution that I want to share to wrap this up. It’s now 2022-10-22.
Hi everybody,
thank you for looking into this. For me, openhab-addons-legacy-2.5.12.kar
does not contain the bindings that I need, i.e. cul
and fht
.
I have solved it like this with docker-compose
:
services:
openhab25outpost:
image: openhab/openhab:2.5.12
container_name: openhab25outpost
# other stuff not relevant for this post
volumes:
- "./openhab25outpost/conf:/openhab/conf"
- "./openhab25outpost/openhab-addons-2.5.12.kar:/openhab/addons/openhab-addons-2.5.12.kar"
- "./openhab25outpost/org.openhab.binding.fht-1.10.0.jar:/openhab/addons/org.openhab.binding.fht-1.10.0.jar"
- "./openhab25outpost/org.openhab.io.transport.cul-1.14.0.jar:/openhab/addons/org.openhab.io.transport.cul-1.14.0.jar"
# other volume mounts not relevant for this post
# other services not relevant for this post, e.g. the main openhab3
After the first start of the container, I have to manually do this from the Karaf console:
feature:install openhab-runtime-compat1x
feature:install openhab-core-io-transport-serial-rxtx
feature:install openhab-transport-cul1
Two downsides are still left that I can live with for now:
- it’s still some manual steps, that I would like to automate (or better, to be taken care of by OH)
- lots of error logging remains that the features cannot be loaded–despite they’re working fine
Thanks again!
ugh_bough