Problem with rule

For the timer variable to be accessible each time the script runs, you will need it to be a global variable. Move it’s instantiation to the very top of the rule file (outside of the rule).

Take a look in the first post here for an example.

[PS, Eclipse Smarthome Designer has been discontinued. Use VS Code with the OH extension instead.]