Flow with a periodic wifi on and off

Post your questions and help other users.

Moderator: Martin

Post Reply
patrese
Posts: 2
Joined: 03 Apr 2014 14:10

Flow with a periodic wifi on and off

Post by patrese » 03 Apr 2014 14:13

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

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Flow with a periodic wifi on and off

Post by MURTUMA » 03 Apr 2014 20:20

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.

patrese
Posts: 2
Joined: 03 Apr 2014 14:10

Re: Flow with a periodic wifi on and off

Post by patrese » 04 Apr 2014 07:45

Sorry for the post in wrong area.

Thanks for your help Murtuma.

Post Reply