I’m finding the groovy script option in OH really useful.
However, there are a couple of things I could do with help on from the people that added groovy support to openhab. What’s the best way to raise this?
In groovy script normally, you’d add;
at start so you can use the standard tools for processing JSON. This is almost indispensable as so much data in and around OH is json.
However, when you do this you get;
Script220.groovy: 2: unable to resolve class groovy.json.JsonSlurper @ line 2, column 1. import groovy.json.JsonSlurper ^ 1 error
This is very unhandy for groovy as it’s a core inbuilt class.
So, how do we raise this with the hope of getting this to work?
This is along the same lines. I could really do with being able to import other external jars into the script. I would really like to import the Jackson YAML packages so I can use YAML for the config files I need to use. Since YAML seem much more friendly for a user to maintain.
Thanks in advace!
Hope can get these fixed as I have found the Groovy support a HUGE door opener for me to get things done. With these couple of tweaks it would be amazing!