Allowed to create a binding with a "New BSD" licenced library?

102 views
Skip to first unread message

Christian S.

unread,
Jan 7, 2015, 9:40:38 AM1/7/15
to ope...@googlegroups.com
Hello,

is it possible to create an (official) binding for weather stations that us the library "javahidapi" licenced under "new bsd licence"?
If this is allowed, I would split my binding into my weather station binding and a common I/O binding.

Matt Watson

unread,
Jan 7, 2015, 12:25:33 PM1/7/15
to ope...@googlegroups.com
While the New BSD is an extremely permissive license and does not prevent you from using, modifying, and distributing the library and any code that utilizes it.

However, I do not believe this would be allowed as a contribution to the official openHAB repo.  Please see: https://github.com/openhab/openhab/wiki/How-To-Contribute

By contributing code to openHAB, we therefore implicitly assume your approval to make it available under the EPL and that you have the right to give us the approval (i.e. the code does not contain any intellectual property that belongs to somebody else).

Code under the New BSD license does still claim copyright and thus the IP belongs to the copyright holder.  Ultimately what this means is, you are not legally entitled to grant openHAB permission to re-license the code under the EPL.  You would need permission of the copyright holder to do that.

So basically, you can make the binding and distribute it yourself completely legally.  However, the openHAB team will not accept your code as a contribution to the official branch unless they are given permission by the copyright holder to re-license the code.

Thats my perspective anyways.

 
--
Matt

Kai Kreuzer

unread,
Jan 7, 2015, 4:39:37 PM1/7/15
to ope...@googlegroups.com
Hi Christian, hi Matt,

Yes, your explanation is correct, Matt.
Nonetheless, this is the „standard“ rule for source code contributions that applies, but of course there can be exceptions to the rule :-)

The usual case in such a setup is that we simply do not include source code of the 3rd party lib, but only the binary as a jar file (like e.g. https://github.com/openhab/openhab/tree/master/bundles/binding/org.openhab.binding.tinkerforge/lib). This jar then contains itself the license under which it is distributed. This of course only works if the license of the included jar is compatible with the EPL, meaning that it is allowed to be distributed together with EPL licensed code. For New BSD, this is the case.

Christian, would that work for you?

Best regards,
Kai

--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/76135e78-f351-4fed-b8a9-e20ae8db99b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christian S.

unread,
Jan 7, 2015, 5:09:34 PM1/7/15
to ope...@googlegroups.com
Hi Kai,

that's good to know. So I can spend time to develop a binding that is compatible with the openhab rules. Do you think its a good idea to create a seperate I/O binding like serial binding? Or should I add it directly to the binding?

Kai Kreuzer

unread,
Jan 7, 2015, 5:13:43 PM1/7/15
to ope...@googlegroups.com
Hi Christian,

I am not familiar with weather stations that use javahidapi. If you think that it makes sense to have multiple different weather station bindings that all use the same library, you might want to put it in a separate io.transport-bundle. But I would guess that it is easier to go for a single binding, which might in the end support different (but similar) weather stations that are based on the same technology.

Best regards,
Kai

Christian S.

unread,
Jan 7, 2015, 5:20:25 PM1/7/15
to ope...@googlegroups.com
Hi Kai,

thank you for your quick response. I will add the library directly. If needed I can split it later into a seperate binding.
Reply all
Reply to author
Forward
0 new messages