Unfortunately, this statement gives no information as to what exactly does not work…hence makes it not possible to help you.
maye a few more pointers for your to read: How to ask a good question / Help Us Help You
Yes you can add logInfo
statements; the docs are your friend: Actions | openHAB
Using logInfo
statements can be used to log the values of all variables and Item.state and also, if well done, tell you exactly at which line your rule is failing. Use them generously.
Sorry, I don;t understand even the question…what is “la x”…but here a guess: the argument x for the timer is represented in seconds.