I'm having trouble with test.rules when two switches change its values really quickly one after the other. I can do that in a couple of tries via the web UI or the android UI. This is the output that looks odd:
2016-01-05 19:39:54.405 [INFO ] [runtime.busevents ] - relay01 received command ON
2016-01-05 19:39:54.469 [INFO ] [runtime.busevents ] - relay02 received command ON
Function: switchOperation >> 1;1;1;1;2;1
Function: switchOperation >> 1;2;1;1;2;1
2016-01-05 19:39:54.772 [INFO ] [runtime.busevents ] - Arduino received command 1;1;1;0;2;1
2016-01-05 19:39:54.797 [INFO ] [runtime.busevents ] - Arduino received command 1;2;1;0;2;1
2016-01-05 19:39:55.033 [INFO ] [runtime.busevents ] - relay01 received command ON
2016-01-05 19:39:55.338 [INFO ] [runtime.busevents ] - relay02 state updated to ON
2016-01-05 19:39:55.398 [INFO ] [runtime.busevents ] - relay02 state updated to ON
Light Item: relay02 Light: ON
Light Item: relay02 Light: ON
As you can see, it starts fine but at the end it is talking about the same relay twice and I end up with just one relay on. It actually looks like an openhab issue but I'm not sure.
Any help is appreciated.