Sonoff Button with Node-RED

Hey guys,

I’m sorry if this is an obvious question but I just started with Node-RED.

I got some Sonoff SNZB-01 Buttons that I try to integrate with Node-RED but I can’t seem to figure out how to get the single, double and long presses events from them to trigger any node.

I got no trouble setting up my Shelly’s but these one I don’t understand.

Any Help would be appreciated.

Thanks for your help,
Manrax

Is it ZigBee buttons?
Use the events node and filter to the ZigBee integration.
I’m my case I use ZHA integration, thus “zha_event”.
Not sure what the others are called.

Then connect to a debug with complete message