openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
930 stars 428 forks source link

Add an integration for Clojure or Clojurescript #4446

Open ianffcs opened 1 week ago

ianffcs commented 1 week ago

Should be easier to integrate with Clojure since the main target engine is Java. Is there any possibilities for it or a documentation on how to contribute in adding this feature?

rkoshak commented 1 week ago

This would be an Automation add-on. You can look to https://github.com/openhab/openhab-addons/tree/main/bundles at the frist few add-ons (the ones in the org.openhab.automation namespace) for concrete examples. Note that's the repo where you'll submit any PR to add a Clojure add-on.

The overall development guide is at https://www.openhab.org/docs/developer/ with the automation add-ons guide at https://www.openhab.org/docs/developer/module-types/.

For testing it often helps to post the add-on to the Marketplace first to make it easier for users to install and test as you progress.