Hi Rich. Thanks for the tips. My original problem has now been resolved (see below), but as long as I’m at it I’d like to discover why the file based rule isn’t running.
These are the active rules bundles:
openhab> list | grep -i rule
160 x Active x 80 x 3.2.0 x openHAB Core :: Bundles :: Automation Script RuleSupport
197 x Active x 80 x 3.2.0 x openHAB Core :: Bundles :: Model Rules
198 x Active x 80 x 3.2.0 x openHAB Core :: Bundles :: Model Rule IDE
199 x Active x 80 x 3.2.0 x openHAB Core :: Bundles :: Model Rules Runtime
Is it just a file permission issue? I copied the file over from a different machine, but needed to ‘sudo’ to wedge it in there (probably a sign that I wasn’t doing something correctly)
tom-e-toes@openhabian:/etc/openhab/rules$ ls -l $OPENHAB_CONF/rules/
total 8
-rw-rw-r-- 1 openhab openhab 223 Dec 20 00:21 readme.txt
-rwxr--r-- 1 root root 107 Jan 12 17:15 ruleTest.rules
I was unable to Clear the Cache - the service doesn’t stop when I issue the openhab-cli stop command. Do I need to be logged into the machine as ‘openhab’ user? (I’m using ssh via putty as a different user to access the OH machine)