Closed Coernel82 closed 3 years ago
Did you write that without all of the code that's supposed to go with it?
No, no! I used the complete set of files (things, items, rules etc.!).
After changing the three lines above to
Thread::sleep(2000)
without the loop the demo worked.
I debugged the demo.rules by placing a console-log message at each line to see where the rule stopped.
Closing because this loop no longer exists in the docs.
The demo.rules on https://www.openhab.org/addons/bindings/exec/ results in an endless loop: