How to update binding from Snapshot using Karaf console?

I use OH 2.1 Snaphot Build 826, and try to update binding using this command:

openhab> bundle:list -s | grep harmony
228 | Active   |  80 |    | HarmonyHub Binding     | org.openhab.binding.harmonyhub

openhab> bundle:update 228

Is this right way to do bindings updates?
Is that command download latest version and install it?

1 Like

I tried similar a while back and it wasn’t working so ended up going the uninstall/reinstall route which does work.

Update command have certain semantics related to bundle url and remote repositories configured in system. Without diving too much into details - after bundle id you can pass url from which changed module should be read. It can be file: or http:. For example ‘update 300 file:test.jar’ will load test.jar in place od current module.