EnOcean : Eltako FT4BL config with OH 5?

Hello

I have an old enocean switch (Eltako FT4BL) which provides 4 momentary switches.

In the old days (OH2) it was configured using the following items:

Switch e1_FT4BL_Chambre1_AO (Switches) {enocean=“{id=FE:FC:5D:B9, eep=F6:02:01, channel=A, parameter=O}”}
Switch e1_FT4BL_Chambre1_AI (Switches) {enocean=“{id=FE:FC:5D:B9, eep=F6:02:01, channel=A, parameter=I}”}
Switch e1_FT4BL_Chambre1_BO (Switches) {enocean=“{id=FE:FC:5D:B9, eep=F6:02:01, channel=B, parameter=O}”}
Switch e1_FT4BL_Chambre1_BI (Switches) {enocean=“{id=FE:FC:5D:B9, eep=F6:02:01, channel=B, parameter=I}”}

I would like to use it again with OH5 but I cannot figure out how to configure it…. ie not sure which profile I should use, and how to configure it…..

Any advice and/or example would be very useful,

N.B: if I try to configure it as pushButton, the parameter F6_02_01 is not allowed…

Many thanks!

@taratata2
Have you tried using rockerSwitch in Thing definition?

Thing rockerSwitch ft4bl “Eltako FT4BL” [
enoceanId=“FEFC5DB9”,
receivingEEPId=“F6_02_01”
]
you’ll get two trigger channels. They can trigger a rule:

rule “FT4BL A”
when
Channel “enocean:rockerSwitch:gw:ft4bl:rockerswitchA” triggered DIR1_PRESSED
then
// do something
end

Hello,

Thanks that helped!

Alex