Node-red-contrib-enocean

Hallo Johannes,

I need your help.
I would like to move a slider as a funtion of the time I press a rocker button.
Every 500 ms +10 to the input of a slider. (0-100)
this means 5 sec = 100%. (should drive a dimmer).
One rocker button up an the rocker other button down.
How to program a delay in js?

regards Johannes