New rule language in OH3 ? What to prefer?

Please check out JRuby OpenHAB Rules System
It is: simple, elegant, easy to read, very powerful, just plain awesome

I started out using Rules DSL, then Jython, then when I found JRuby, I’m in love. Prior to finding it, I knew nothing about Ruby programming. It’s easy to learn if you have any programming background.

In JRuby that code would look like this:

after(30.seconds) do
  Speedtest_Summary.update("unknown") if !Speedtest_Summary.state? || Speedtest_Summary.empty?
end
1 Like