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
Flow with a periodic wifi on and off
Moderator: Martin
Re: Flow with a periodic wifi on and off
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.
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
Sorry for the post in wrong area.
Thanks for your help Murtuma.
Thanks for your help Murtuma.