Addon from folder not visible in Karaf

Hello everyone,

after a week of working with openHAB I had to set up my Raspberry Pi 3 entirely new, so that includes addons. I had recently successfully installed and used the Soundtouch Addon before (https://github.com/marvkis/org.openhab.binding.bosesoundtouch-dist). However, with the new installation, adding the addon to /usr/share/openhab2/addons does not result in showing the addon in the Karaf bundle:list.
I have tried with a different addon (Z-Wave Binding Snapshot) and it does show up immediately in the bundle:list.

How I installed the file:

cd /usr/share/openhab2/addons
sudo wget https://github.com/marvkis/org.openhab.binding.bosesoundtouch-dist/blob/master/org.openhab.binding.bosesoundtouch-2.1.0-SNAPSHOT.jar
ssh -p 8101 openhab@localhost 
bundle:list

Does not show up. Same procedure for Z-Wave-Addon works. Disappointing.
Does anyone have a solution?

Thank you and best regards

This will grab the html
try:

wget "https://github.com/marvkis/org.openhab.binding.bosesoundtouch-dist/raw/master/org.openhab.binding.bosesoundtouch-2.1.0-SNAPSHOT.jar"
1 Like

Hello Dim. It works, thanks for your help :slight_smile:

To be honest, I don’t know what is wrong with the link. My first impression is, that the file is the same, just in a different location. Still a noob with the Github-, Linux, Openhab-Stuff :blush:

Kind regards

1 Like

Hi @cokefridge,

Some Information about the Link:
You pointed wget to the “blob” URL.
The solution pointed to the “raw” URL.

Raw will geht the raw jar File, blob just an object without Media Type, so OpenHab doesn’t know that its a Java package.

Take a look at the following Link for further Information:

1 Like