There is a little bit of documentation for JavaScript rules created through MainUI/REST API and I’m doing my best to come up with more. We can’t wait for things to settle before writing the docs that need to come out when OH 3 is released so I’m unable to rely on the Helper Libraries or anything that doesn’t come with OH out of the box for these docs.
It’s all a bit scattered at the moment though. I don’t have nearly as much time as I need to work more on them and I’m still learning a lot as I go.
- [wiki] Getting Started with OH3: rewriting the tutorial - 9. Make everything work together: rules (advanced)
- openHAB 3.0 my getting started notes: Rules
- OH 3 Examples: Writing and using JavaScript Libraries in MainUI created Rules
- These are very old and there are some things that are not quite right but there is still some good stuff in Experimental Next-Gen Rules Engine Documentation 1 of : Introduction, though I think I’ve moved most of the relevant stuff to my getting started notes.