You can do it in Socket (type G) settings:
Ajax app
Devices
Select the device
Settings
In the Mode field, select Pulse
In the Pulse duration field, specify the wanted pulse duration.