Rules stop executing after a while

I’ve had a similar issue when all of my cron rules stopped working:

I still do not know exactly what was the root cause, but since i have moved my variables so that they are declared inside of the rule this error is gone now.

So you could also test and move the following variable declarations to be inside of a rule:

var String redpwmstring
var String greenpwmstring
var String bluepwmstring
var HSBType hsbvalue
var Timer startedtimer = null