Yes absolutely.
In jruby:
rules[“id”] gives you the rule object for the given id, which supports the trigger method (aliased as run).
rules["scene_id"].run
in jsscripting: rules - openHAB JS
rules.runRule("scene_id")
Yes absolutely.
In jruby:
rules[“id”] gives you the rule object for the given id, which supports the trigger method (aliased as run).
rules["scene_id"].run
in jsscripting: rules - openHAB JS
rules.runRule("scene_id")