Timer and delay

i want the sensor should sense the object and the actuator should get started but only for some seconds and then automatically it should stop even if the sensor is sensing the object and after a loop again this should begin , so @rahul.singh1 sir can we do this in bolt and html or javascript ? please give some idea @rahul.singh1 sir.

1 Like

I can suggest using python you can use time not sleep to make the sensor not sense for certain amount of time

1 Like

@hemsharan2050 i am looking for coding directly from bolt cloud.

You can use sleep in js usig different syntax

1 Like

@govindbagdiya22

The code editor of Bolt Cloud is not ideal to writing this logic. We would highly recommend a python code to get the desired result.

1 Like