Page 1 of 1

Flow with a periodic wifi on and off

Posted: 03 Apr 2014 14:13
by patrese
Hi,

how to make a rule with a periodic on and off in a range of time.

Like this: want to turn wifi on for only 10 min, periodicaly,in an interval of 1 hour, and this routine starts at 8h00 to 18h00 only in workdays.

So, in every hour i have wifi just for 10min to sync and then off. Better for battery and less intrusive at work.

thanks
Patrese

Re: Flow with a periodic wifi on and off

Posted: 03 Apr 2014 20:20
by MURTUMA
This is flow SHARING area, so please, post your requests for help in the help/bug report section on the forum.

That being said, here's what you need:

Flow1:
TRIGGER: periodic timer or periodic timer inexact
The latter is better for battery but as the name suggests there might be some inaccuracy on the timer. Set the time range settings to your liking.

ACTION: set wifi state; on

ACTION: set auto sync state; on

ACTION: script; {global_wifi_off == triggertime + 1000 * 60 *10}



Flow2:
TRIGGER: global variable date/time; global_wifi_off

ACTION: set wifi state; off

ACTION: set auto sync state; off



I hope this helps.

Re: Flow with a periodic wifi on and off

Posted: 04 Apr 2014 07:45
by patrese
Sorry for the post in wrong area.

Thanks for your help Murtuma.