-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
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!