openhab-cli console
under Docker:
/openhab/runtime/bin/client
1. Login to openHAB console (see above)
2. Find the id of the binding you want to restart (Example: chromecast)
bundle:list -s |grep chromecast
Result:
207 │ Active │ 80 │ 2.3.0 │ org.openhab.binding.chromecast
4. Restart binding
bundle:restart ID bundle:restart 207
1. Login to openHAB console (see above)
2. Find the package name of the binding you want to debug (Example: miio)
bundle:list -s |grep miio
Result:
246 │ Active │ 80 │ 2.5.4 │ org.openhab.binding.miio
4. Enable debugging
log:set DEBUG org.openhab.binding.miio
Just place your *.jar file into /usr/share/openhab/addons and openHAB will install it automatically
1. Locate binding jar file URL
Base URL:
https://openhab.jfrog.io/openhab/online-repo-snapshot/%VERSION%/org/openhab/binding/
Example URL:
https://openhab.jfrog.io/openhab/online-repo-snapshot/2.4/org/openhab/binding/org.openhab.binding.chromecast/2.4.0-SNAPSHOT/org.openhab.binding.chromecast-2.4.0-SNAPSHOT.jar
2. In openHAB console find the id of the binding you want to replace (Example: chromecast)
bundle:list -s |grep chromecast
Result:
207 │ Active │ 80 │ 2.3.0 │ org.openhab.binding.chromecast
3. Update binding
bundle:update ID URL bundle:update 207 https://openhab.jfrog.io/openhab/online-repo-snapshot/...
config:delete org.openhab.mqtt
--> useful if you removed options from your configuration file, which are still saved to the DB