Howto identify if roller shutter is active after sendCommand

Hi,

Is there any change to identify, if a roller shutter is still on its way “up”/“down”, so the shutters motor is active and the actor sends power to the respective channel?

Background: I want to use the same button (type switch) to send a roller shutter down and if the button is pressed again I want to send the command “stop”.

Right now my rule does not cover this:

rule pushButtonChannel1Short
when Item pushButtonChannel1Short received update
then
	rollerShutter1.sendCommand(DOWN)
	logInfo("rollerShutter", rollerShutter1.name +"DOWN") 
end

thx
andré