OH3: Snapcast Binding

Hi!

I’ve been using great snapcast binding by ssoerensen from this forum in OH2 and it’s working great.
Unfortunately it seems to be abandoned.
So i’ve updated it for the OH3, it compiles, i can add it to OH3 but my thing doesn’t get initialized and don’t see any errors in log. I did the same update with another binding that i wrote myself for controlling android tv devices and it works without any issues.
My knowledge about openhab development is very poor, sadly, so i’m stuck and don’t know what to do next.
Please help me fix it so i could update the binding and make it available to everyone.
Thanks :slight_smile:

This is original OH2 binding developed by ssoerensen

Here’s the code updated by me and a jar file:
https://drive.google.com/file/d/1fiYmWo_vDWr4fStYKTqmy3A0vznivoY2/view?usp=sharing

You better create a repository on gihub and post the according link.
This is also needer for the Pull Request, otherwise your work will never make it into the release.

Ok, forked openhab-addons and added my bindings here:
atroposua/openhab-addons: Add-ons for openHAB (github.com)

@StbX also made a snapcast binding inspired by the one from ssoerensen for openHab 2.5, it is a bit newer, so maybe it helps basing it on that version:

Please use the logger to log error messages. If you do printStacktraceit ends up in some system log .

Any news with the snapcast addon for openhab3? Looking forward to it!

I’ve updated the openHab 2.5 binding of @StbX for OH3, see my post in the other thread to download it
https://community.openhab.org/t/snapcast-binding/25551/25

1 Like