Simple Rule KNX-Dimmer to DMX-Dimmer - no viable alternative at input 'and'

Hi there,

I’m trying to get my first rule on Openhab 2.2 to work, but seem to fail.

I’ve got a KNX-Dimmer Item (Button) “KNX_Test” and a DMX-Dimmer Item “GF_LR_LIGHT_W_1” (Fixture)
What I want is, that the DMX-Dimmer reacts on the events of the KNX-Dimmer so I tried followin rule:

rule "Test_KNX_1"
  Item KNX_Test received commmand

All I get is an error in the log

[WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'knx_dmx.rules' has errors, therefore ignoring it: [3,5]: no viable alternative at input 'and'
[3,19]: mismatched character 'm' expecting 'a'

Reading other posts here suggest that I might be able to ignore the log entry, but it still doesn’t work

Any suggestion what I’m doing wrong?

[edit: Code-Fences corrected]

the error is self explanatory … line 3, character 19 should be an a (you used 3 m’s for command)

Damn, I’m blind. Thank you!

1 Like