Insteon fastonoff

Hello all, I’m running openhab 2.2 on a pi 3+ and am just getting started but am far enough along that I’ve got a specific question that I can’t find an answer to. I’m running the insteon PLM binding with a USB PLM. Everything is working quite well.

My question is - how do I set up action triggers based on the fastonoff switches? I’m seeing the following lines in my log every time I double-tap my switches:

2018-05-23 21:05:33.303 [INFO ] [onplm.internal.device.MessageHandler] - LightOffSwitchHandler: device 46.B4.48 was switched off FAST.
2018-05-23 21:05:33.316 [INFO ] [onplm.internal.device.MessageHandler] - LightOffDimmerHandler: device 46.B4.48 was turned off FAST.
2018-05-23 21:05:33.335 [vent.ItemStateChangedEvent] - Fastcloset changed from NULL to OFF


2018-05-23 21:06:18.271 [INFO ] [onplm.internal.device.MessageHandler] - LightOffSwitchHandler: device 46.B4.48 was switched off FAST.
2018-05-23 21:06:18.276 [INFO ] [onplm.internal.device.MessageHandler] - LightOffDimmerHandler: device 46.B4.48 was turned off FAST.

2018-05-23 21:07:56.533 [INFO ] [onplm.internal.device.MessageHandler] - LightOnSwitchHandler: device 46.B4.48 was switched on FAST.
2018-05-23 21:07:56.539 [INFO ] [onplm.internal.device.MessageHandler] - LightOnDimmerHandler: device 46.B4.48 was turned on FAST. Sending poll request to get actual level
2018-05-23 21:07:56.550 [vent.ItemStateChangedEvent] - Fastcloset changed from OFF to ON

So clearly the binding is set correctly. How do I turn the “switched on/off FAST” or “turned on/off FAST” to be the trigger on my “when” rule?

Thanks in advance!

I have a rule like this:

rule "Master Bed Closet Fast Off"
    when
        Item sMasterBedClosetFast received update OFF
    then

Yes that is helpful - I just had “changed to OFF” - now I’m trying these rules:

rule "Closet ON"
when
    Item Fastcloset changed to ON or
    Item Fastcloset received update ON
then

rule "Closet OFF"
when
    Item Fastcloset changed to OFF or
    Item Fastcloset received update OFF
then

Which now seems to be catching most of the double taps. I was just curious if it is possible to take that “switched on/off FAST” and put it into a single condition “when”

I think you only need the received update condition.