As I don’t like the current Rules DSL I finally took some time trying to switch to the new rules engine. But digging deeper I’m just lost now, the more I read the fuzzier it becomes. Actually I was hoping that it’s part of the docker image by now, ready to use . I went over endless threads, different OH wikipages and github repos of unclear origin… Unfortunately still not really a clue what is the way to go now… the situation is unclear, what is still valid, what is outdated by now? (And the whole thing seems pretty hacky…)
And finally I’d like to avoid starting off with something that’s going to be a dead end when migrating to OH 3 and having to start all over again.
I’d be grateful for suggestions what to choose and where to start with the below preconditions! Is it easier to get started with scripting with OH3, i.e works out of the box?
I run OH from the docker image. Still 2.5, as I’m somewhat hesitant to switch to 3. Language wise Python and JS seem to be the sane choices, either one would be fine. I would go with whatever is easiest to use in OH and offers the most possibilities, and of course is future proof.
Jython (why not just call it Python?): Nice decorators, but “only” through that community helper lib (if I understand it right).
On the other hand only Python 2.7., complicated installation and the general (political) situation around the Jython addon seems somewhat unclear. And I suppose every update to the helper libs needs to be done manually, as well.
Neither seems absolutely convincing. Leave alone maybe other issues with either one I have not yet come across…
Any guidance appreciated!