Homematic Switch multiple different actions

Hi,

I have some homematic switches installed. Instead of using up and down for switching I would like to

  1. use down as toggle
  2. use up for other functions using openhab rules

The first one is easy using the homematic ui. However for the second I do not have a clue. Has anyone an idea for the required configuration in the homematic and openhab ui?

Daniel

Give us an example and post you items file, please

Hi,

thanks for the quick reply!

items:

Dimmer EG_AZ_Light "Arbeitszimmer Licht [%d %%]" <light> (EG_Arbeitszimmer, gLight) { channel="homematic:HM-LC-Dim1TPBU-FM:xxx:yyy:1#LEVEL" }

In Homematic the switch is configured as toggle switch as follows:

Now, I would like to have a rule like this:

rule "other button pressed"
when
Item EG_AZ_Light other button pressed
then
logInfo("myrules", "other button has been pressed, now action")
//new action

end

Daniel