Skip to content

Evaluate possibility to ship this app as an openHAB Extension #10

@pfink

Description

@pfink

Kai suggested once to maybe get this shipped as an openHAB Extension using Jython. First, I was not convinced because I have doubts that the bluetooth part works under Jython. Anyhow, it's may possible to reimplement some parts so that one of the Bluetooth bindings can be used instead, so maybe it's worth a try.

I see two possible approaches. Either

  • compile this project with Jython and implement a seperate ESH/OSGi extension project that just uses relevant parts of the Jython-compiled Java Byte Code. The extension layer could also take care that the BT binding is used instead of the Python part (if necessary). OR
  • Try out the plain code as JSR223. Disadvantage: Other than the first solution, it requires Jython within the openHAB classpath. I wouldn't prefer this approach, but it's maybe a good option to start with and make first expieriences.

@kaikreuzer: Did you already had the time to try out this app? Regarding the first approach, I'm quite unsure where / how to start or what would be a proper architecture. Probably it's not (only?) a binding because it has to access the UI / Sitemap layer for configuration. If you have ideas / hints what would be the "right" or at least a good way for integration, that would be awesome!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions