5iver
(Scott Rushworth)
October 12, 2020, 11:31am
5
The old rules DSL is a joke. Scripted automation with Jython and helper libraries provides much more detail when there are errors and is much easier to debug.
I just submitted a PR that adds a core feature for a JythonScriptEngineFactory and it would be great to have some testers! Basically, this will allow for the installation of Jython including the core and community helper libraries through Paper UI, once the PR is merged. If you’d like to test it, you’ll need to…
Have OH 2.5.x (S1778) or newer
Shutdown OH
Backup OH
Download the addon and copy to $OPENHAB_HOME/addons/ (see here for more details). The jar contains the core and community helper li…