Simulate, debug, test rules

No there’s no such guide.
You should 1) enable debugging for rules to see if there’s syntax errors (reported in openhab.log if so),
2) insert logDebug() lines in your rules to see if processing reaches them
3) you can use smarthome:send item state from Karaf console to artificially create events to trigger your rules you want to test. You can also add more astro things or trigger channels through Karaf, see Rule not firing - sun setting - #15 by mstormi (thanks @Dim for the pointer).

1 Like