How do i turn Data On every hour for 5 minutes with Tasker?
Hello!
I already enable mobile data on every hour for 5 minutes with the Tasker app. I call this profile as "Mobile Data On". Now I want to turn the data connection on ("Mobile Data On" profile) only, if the Data and WiFi connections are off.
If the data and WiFi connections are already on, then the "Mobile Data On" profile should skip. I try to use Tasker app's variable option for this task, but I can't create a variable correctly. (lack of my knowledge)
Also I need to disable this mobile data on profile at 23.00 to 4.00AM.
How do i do it with the tasker?
Thank!
Quote:
Updated!
For others to use, this is the way that i have done it.
Created a new profile and give a name.
Then in the first context select "Time". Tick "Repeat" option and type 55 minutes. Also I adjust From 23.00 and To 4.00 and save it.
Then Task selection tap "New task"
Tap "Plus button" to add action.
added "Mobile data" and set "ON" (Net>Mobile data).
After that tap "Task" and added "wait" option.
Then in the Wait action I added 5 minutes.
After that again go to "Net>Mobile data" and set it "Off".
Than save the profile.
Also I added these optional contexts. (Disable this task enabling if data already on myself)
Tap and hold the "New profile time context".
Then next popup menu tap "add".
Added "State>Net Mobile network".
Tap "2G, 3G,3G-HSPA" (I don't have 4G, so i skip it).
Tap "Invert" option and tap save button.
Save the profile.
Last edited by Andima; December 13th, 2012 at 10:12 AM.
Device(s): Unlocked Galaxy Nexus, Droid Bionic, OG Droid CM7.2
Carrier: Not Provided
Thanks: 38
Thanked 316 Times in 259 Posts
To restrict when the profile activates, add a time context (I.e. 04:00-23:00). To prevent the profile from activating when you already have a mobile data connection, use a Mobile Network context with all options checked, including Invert.
To restrict when the profile activates, add a time context (I.e. 04:00-23:00). To prevent the profile from activating when you already have a mobile data connection, use a Mobile Network context with all options checked, including Invert.
Thanks you friend I added "Mobile Network context state" to my existing "Mobile Data On" profile. Now that profile work only if Data and WiFi connections are not on. (That's what i want). However I have one issue.
I already have a "Mobile Data Off" profile for disable Data and WiFi connection after the 5 minutes, but now if i already manually enable data and WiFi connections, my second profile (Mobile Data Off) disable them. Are there any way to prevent it? I mean "Mobile Data Off" profile activate if, Data connection enable by the "Mobile Data On" profile?
Device(s): Unlocked Galaxy Nexus, Droid Bionic, OG Droid CM7.2
Carrier: Not Provided
Thanks: 38
Thanked 316 Times in 259 Posts
You can do all this with a single profile. I would eliminate the Mobile Data Off profile, and use the following in the Enter Task for Mobile Data On:
Mobile Data On
Wait 5 Minutes
Mobile Data Off
Make sure that Restore Settings is unchecked in the properties for the Mobile Data On profile. This way, although the profile will immediately exit (because your enter task causes one of the contexts to no longer be satisfied), it won't turn data back off when it exits, and will instead turn it off after 5 minutes.
You can do all this with a single profile. I would eliminate the Mobile Data Off profile, and use the following in the Enter Task for Mobile Data On:
Mobile Data On
Wait 5 Minutes
Mobile Data Off
Make sure that Restore Settings is unchecked in the properties for the Mobile Data On profile. This way, although the profile will immediately exit (because your enter task causes one of the contexts to no longer be satisfied), it won't turn data back off when it exits, and will instead turn it off after 5 minutes.
Friend I have no clear idea how to make,
Mobile Data On
Wait 5 Minutes
Mobile Data Off
in a one profile. Can you please tell me its steps?
Device(s): Nexus4, iPad 2, Chromebook (Cr-48), and Win 7 netbook
Carrier: T-Mobile
Thanks: 1,127
Thanked 1,744 Times in 1,135 Posts
Glad you got the answer you were looking for. Also, I have moved the thread to the Tasker section so that other looking for the same solution might more easily find your thread.
Glad you got the answer you were looking for. Also, I have moved the thread to the Tasker section so that other looking for the same solution might more easily find your thread.
Yes me too. I didn't think this is an important question, so I'm not mention how do i have make that profile. I just updated the thread an mention how do i have done it step by step (for the noob like me ).
Last edited by Andima; December 13th, 2012 at 10:13 AM.
I have a similar setup but I added a display on and off profiles so I can restore my data immediately upon screen on. Display off triggers my data on and off profile