Bug or fail in rule?

Using rulemachine 5 on C7, I created a kitchen lights rule that basicly turnes the lights on on motion to a lvl set in a timeframe.

this results in java errors:

The rule:

Am i doing something wrong, or is this a bug?

It's probably due to getting multiple triggers. I believe that is the error you get.

Every time your kitchen motion goes active it triggers the rule. The delays you have are not cancellable so you could build up multiple delays during an active time in your kitchen.

Probably just add a cancel delayed actions at the beginning and make all delays cancellable. Or use wait for event elapsed time. Those are automatically cancelled on a rule trigger.


Like this?

1 Like