Trigger not working

Hi all,
I have a 4 channel homematic switch, when I close one channel I get the following event:

4_TASTER_1_PressShort changed from OFF to ON

For this event I created a rule that I want to use to open my rollershutter:

rule "rollershutters"
when
    Item 4_TASTER_1_PressShort changed from ON to OFF
then
    sendCommand(SZ_ACT_ROLLO_NORDEN_1_Level, UP)
end

Nothing happens if I use the switch…when I use a time based trigger it works…
Can someone help??

Check your two mentioned events: first one from “off to on”, the one in the rule from “on to off”.

Sorry I dont get what you mean? Can you give me a working example?

This will trigger only of state goes from ON to OFF. Not the opposite! Carefully read your first post. :wink:

In your post you stated that you want to create rule for “this event” (“4_TASTER_1_PressShort changed from OFF to ON”), but in your rule you used an other event…

Thats true. It was a try because in the events.log I can see two lines, one with “OFF to ON” and because of the button release one from “ON to OFF” - so both should be true according to the log entries.
Never the less: Even if I change the trigger to “OFF to ON” it does not work.

rule "rollershutters"

when

    Item 4_TASTER_1_PressShort changed from ON to OFF

then
     logInfo("Test", "it triggers!")
    sendCommand(SZ_ACT_ROLLO_NORDEN_1_Level, UP)

end

please try to add a debug (logInfo) text and watch if it’s in the openhab.log

Changed it to:

rule "rollershutters"
when
        Time cron "0 0/3 * 1/1 * ? *" or
        Item 4BUTTON_2_PressShort changed from OFF to ON
then
        logInfo("Test", "it triggers!")
        sendCommand(SZ_ACT_ROLLO_NORDEN_1_Level, UP)
end

Now all 3 minutes the log get’s a new entry and my shutter moves - what’s wrong with the button?! It gets logged in events.log so OH should be able to use it, right?!

Right. But what’s wrong is hard to say without knowing your complete configuration. Is this a homematic switch?

EDIT You said this in your 1st post. It’s homematic.

Please try:

Item 4BUTTON_2_PressShort received update ON

Did you find a solution in the end?