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"
when
Item KNX_Test received commmand
then
GF_LR_LIGHT_W_1.sendCommand(receivedCommand)
end
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]