Aeotec Wallmote dimming in node red

Hi
I have several Aeotec wallmote controllers, and several dimmers/lamps of various type - Philips Hue, Fibaro Dimmer 2 and Qubino flush dimmer.
The wallmote swipe function isn’t available in node red (and I didn’t like it), so I need to make my own dimming function.
What I’d like to do is this:
When I hold a button on the wallmote (scene_data: 2) it should step up the light with a certain value, e.g. 50, until it reaches max. Then it should go to 0 and start all over again. There should be a delay, of course, between steps.
Being a beginner in node red, I’m unable to create this on my own.
Any help would be appreciated!
Thanks,
Helge