Can't see rules in karaf console

I’m running OH 2.3 on an RPi3 and would like to see what rules OH has stored. I found this post:

https://community.openhab.org/t/openhab2-rules-problem-paperui-rules-present-in-karaf-scheduler-habmin-rules-do-not-import-or-execute/41678

But when I tried the command in the console, I got an error saying “…automation listRules…” was not valid.

What gives?

Rules configured in /etc/openhab2/rules won’t be listed in Karaf.
OH only stores rules you have created in the file mentioned. If not creating rules via files then take a look at experimental rule engine. If what’s shown, for creating a rule, fits your needs then try it out.

1 Like

Ah, I get it. Thanks.