Go Back   Android Forums > Android Discussion > Android Applications > Tasker

test: Reply
 
LinkBack Thread Tools
Old November 8th, 2012, 09:29 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Limit mobile data usage?

I wonder if it's possible to use Tasker to shut off mobile data if I use some predetermined amount of data in a day?

I have a 2GB per month plan, which is about 66 MB per day. I'd like to tell Tasker to turn off Mobile data for the day once my usage gets to 66 MB. At midnight it can turn mobile data back on.

Is this possible?

Advertisements
banderberg is offline  
Reply With Quote
sponsored links
Old November 9th, 2012, 07:49 AM   #2 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,324 Times in 3,995 Posts
Default

You would first need an application to monitor data usage. I would expect you need the application to create a file or something like that to trigger an event in tasker. Not sure, could be tricky.
SUroot is offline  
Reply With Quote
Old November 10th, 2012, 06:45 PM   #3 (permalink)
Senior Member
 
Join Date: Jan 2012
Posts: 938
 
Device(s): rooted AT&T GS4 w/ Android 4.3
Carrier: Not Provided

Thanks: 283
Thanked 202 Times in 158 Posts
Default

I have some features built into Tasker to help manage my Mobile data usage.

I turn on Mobile data using a widget.
The widget changes from grey (glossy silver ipack) to red (orange ipack) to remind me it's on.
Every 15 minutes when data is on, I get a reminder.
** When my display goes off and stays off for 30 seconds, data gets turned off. This is simple feature to avoid leaving it on.

Once per day (11AM), Tasker sends an sms message to AT&T asking how much data I have. Tasker takes the response and uses it to update my Data widget label (so it always shows my data usage as of the last 11AM).

I also have 3G Watchdog widget which keeps track of usage in between but is not 100% accurate. Every once in awhile if my Tasker data widget shows more than 3G watchdog, I manually update the counters to make them match. 3G watchdog also puts an icon into the notification area when Data is active... that's another handy reminder. Could also be done with Tasker but 3G Watchdog does fine.
electricpete is offline  
Reply With Quote
Old November 10th, 2012, 07:38 PM   #4 (permalink)
Senior Member
 
bberryhill0's Avatar
 
Join Date: Jan 2010
Location: Rhinelander, WI> Wayzata, MN>Sisters, OR
Posts: 2,456
 
Device(s): Q9c, Eris xtrROM 4.6.5, Droid Concepts 11, Incredible 2 EclipticSense
Carrier: Not Provided

Thanks: 855
Thanked 362 Times in 322 Posts
Default

How do you change the widget label and color?

* Got it. It's a Tasker action. How do you get the sms into Tasker?
__________________
My Eris apps
bberryhill0 is online now  
Last edited by bberryhill0; November 10th, 2012 at 07:51 PM.
Reply With Quote
Old November 15th, 2012, 07:33 PM   #5 (permalink)
Senior Member
 
Join Date: Jan 2012
Posts: 938
 
Device(s): rooted AT&T GS4 w/ Android 4.3
Carrier: Not Provided

Thanks: 283
Thanked 202 Times in 158 Posts
Default

Quote:
Originally Posted by bberryhill0 View Post
How do you get the sms into Tasker?
I have a profile that goes active when received text matches a certain string:
*Data (MB)*

The profile calls a task which examines the contents of the Text message which is stored in %SMSRB

Since the message always has the same format, I can use split command to extract the MB number from the message.
electricpete is offline  
Reply With Quote
The Following 2 Users Say Thank You to electricpete For This Useful Post:
bberryhill0 (November 15th, 2012), Dieben (November 25th, 2012)
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:28 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.