Page 1 of 1

Add TIme delay in Speed fuction

Posted: 14 Mar 2016 07:44
by bpetri
Hello,

I am using the speed function to turn on/off 2G/3G while driving.
I wanted to set a timedelay in this flow in order to avoid switich which is caused by morning traffic jams.
So once I am in the car and speed rises over about 20km/h flows should be activated and when speed is 0 km/h for 2-3 minutes another flow should be executed.

What do you think about my suggestion?

Thanks
Bernhard

Re: Add TIme delay in Speed fuction

Posted: 14 Mar 2016 19:09
by Martin
Hi,

You could add a sleep-action to wait 2 or 3 minutes when the speed is 0 km/h before turning 2G/3G on/off. Use an action Stop Flows when the speed raises over 20 km/h again to interrupt the waiting flow so that it does not execute the 2G/3G action.

Regards,
Martin

Re: Add TIme delay in Speed fuction

Posted: 15 Mar 2016 10:46
by bpetri
Hi Martin,

thanks a lot for your quick reply!!!
Need to check how to implement it.

Greetings
Bernhard