Documentation: Installation of Shelly-Binding

Just because it took me quite a while to figure out how to install the shelly binding correctly I’d like to document it here.


  • Raspberry PI with Raspbian based on Debian 9.11
  • Openhab installed from deb stable main (Defined in /etc/apt/sources.list.d/openhab2.list)

Now the installation:

  • delete all Shelly things from PaperUI’s Inbox and Thing list
  • Stop OpenHab sudo service openhab stop
  • Clear cache sudo openhab-cli clean-cache
  • check the JSON db files (in /var/lib/openhab2/jsondb/) for shelly references, remove all entries
  • Download the JAR place it in /usr/share/openhab2/addons
  • Download the JAR and place it in /usr/share/openhab2/addons.
  • Start OpenHab sudo service openhab start
  • Wait some minutes
  • Check the inbox in the PaperUI, your devices should appear here.

Thanks and credits for this great piece of work to markus7017.


Thank you for your post.
I stumbled over one error during installation:

Error while starting bundle: file:/openhab/addons/org.openhab.binding.shelly-2.5.0-SNAPSHOT.jar org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.shelly [280] Unresolved requirement: Import-Package: org.eclipse.californium.core; version="[2.0.0,3.0.0)"

To get rid of this, you have to manually install coap -> enter the following at karaf console
feature:install openhab-transport-coap

Maybe this helps someone :slight_smile:

1 Like