5iver
(Scott Rushworth)
July 21, 2020, 6:01am
3
The easiest way to setup Jython and the helper libraries is to clear out everything you have done so far use the beta add-on…
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…
Keep in mind that there is a bug in OH when run on Windws that causes rules to not start automatically. The fix will be in OH 3.0, but I made a jar for 2.5.x…
@niebochod , with the help of your debugging, I was able to fix the issue on Windows where scripts were not starting when OH starts. Here is the PR…
https://github.com/openhab/openhab-core/pull/1367
This PR will end up in OH 3.0, but I’ve made a test jar that is built to work with OH 2.5.x. If you’d like to try it (or anyone using scripted automation with Windows!), use your console to uninstall this bundle…
bundle:uninstall org.openhab.core.automation.module.script.rulesupport
Then shutdown …