Hi all,
about two month ago I started creating rules with the JSR223-Engine and Jython.
I was instantly amazed by how simple I could do stuff and by the endless possibilities it offers.
No more need for lambdas, just straight function calls.
These Z-Wave remotes with multiple buttons - just create a base class with all the logic and just override the function for the button press.
Functions I want to use in multiple files - no problem!
And don’t get me started on performance. I was looking into an ODROID C2 for faster response times.
JSR223 runs at least 10 times faster than the stock rule ( at least for me - search for another thread from me there I do the comparison).
I am now still keeping my Raspberry PI2 because it is fast enough and noticeably running smoother.
For me my conclusion is easy:
With Jython Openhab finally became what I always wanted it to be!
Easy, well documented (just search for python code samples) and fast.
If I would had it in the beginning I would have way less problems learning Openhab.
For all the users who are thinking about giving it a try - I highly encourage you to do so!
I just wanted to say thanks for implementing all this!