Tasker On The Prime - Asus Eee Pad Transformer Prime

Not sure how many of you are aware of or are using the app tasker, available in the market...IMO Have to say this is the best app of all time albeit very difficult to use to its full extent...Let me reiterate, the learning curve on this app is like climbing a mountain...just learned about it, so I'm a total noob. Have read the manual and some tutorials, but stuck on the below profile:
Using this profile http://tasker.wikidot.com/yanawa as a base for my transformer prime which has no cell service, just wifi. Imported Wifi connected and Wifi near A profiles, erasing any reference to cell towers and other APs. I'm left with two profiles:
I) Wifi Connected
A. wifi connected
Task
1. Variable set; Name: %WIFIC to 1
2Wait, 15 sec
3. Stop; If %WIFIC !~1
4. Flash; Text "Connected to Wifi"
5. Profile Status; Name, Wifi near A Set off
Exit Task
1. Variable Set; Name: %WIFIC to 0
2. Flash; Text "Wifi disconnected"
3. Wait, 30 sec
4. Stop; If %WIFIC ~1
5. Flash; Text "Disabling Wifi"
6. Wifi; Set off
7. Wait, 3 sec
8. Profile Status; Wifi near A Set on
II) Wifi near A
A. Wifi near home SSID (Toggle checked) -
Task
1. WiFi; Set on
2. Flash; Text "wifi in range"
- Exit Task
1. WiFi; Set off; If %WIFIC !~1
2. Flash; Text "Wifi out of rangeā€; If %WIFIC !~1
The problem is when a Wifi signal is not available, Wifi near keeps searching and toggling wifi, which makes the entire thing useless to me. If anybody could offer nay guidance it would be much appreciated.

I don't quite understand what you're trying to do?
From what I see, is your trying to find out, if you're at home, so that the Wifi gets switched on, and the other way round to save battery? Correct?
Remember, wifi is the method you use to locate your position. So if you switch it off, it can't see where the tf201 is... What you could do is implement another timer, so that Wifi gets switched on every 15 minutes to have a look around. In case it finds your home wifi it stays active. Otherwise it gets shut off again for another 15 min....
Regards,
Chris.

if someone can tell me how to make it notify me (sound) when the micro sd card ejects, I will hit the Thank You Button three times!! lol...i can not figure this out at all. if someone can give me the step by step setup please

It's an absolutely amazing app. You can get lots of preconfigured profiles from their wiki and customise them to your desire. I've been using this app for a while now, first on HTC Desire, then Galaxy Note and now on the Prime. Especially on the Prime that has only Wifi I find that one of the most useful profiles is the one that turns wifi off when my mobile Mifi is not available, and then to switch from Mifi to home wifi and similarly at work.
---------- Post added at 10:29 PM ---------- Previous post was at 10:21 PM ----------
MRCANNADY said:
if someone can tell me how to make it notify me (sound) when the micro sd card ejects, I will hit the Thank You Button three times!! lol...i can not figure this out at all. if someone can give me the step by step setup please
Click to expand...
Click to collapse
That would be a cool warning indeed to warn us that the card has ejected. All I can think of at the moment is to search for an app on Play that you can use to eject manually the card, put that under Tasks > 3rd Party in Tasker and tie your eject event to that. Will continue searching for this profile as I think its a really neat idea...

chrihuc said:
I don't quite understand what you're trying to do?
From what I see, is your trying to find out, if you're at home, so that the Wifi gets switched on, and the other way round to save battery? Correct?
Remember, wifi is the method you use to locate your position. So if you switch it off, it can't see where the tf201 is... What you could do is implement another timer, so that Wifi gets switched on every 15 minutes to have a look around. In case it finds your home wifi it stays active. Otherwise it gets shut off again for another 15 min....
Regards,
Chris.
Click to expand...
Click to collapse
Basically trying to have wifi scan for a specified signal and when available connect and stop scanning...which is what the first part of the above does. However, when a signal is not available wifi continues to scan. Which is what it currently does. What I've done is set the scan's a little further apart, so as to save batt. But my main concern is automation over batt saving.

MRCANNADY said:
if someone can tell me how to make it notify me (sound) when the micro sd card ejects, I will hit the Thank You Button three times!! lol...i can not figure this out at all. if someone can give me the step by step setup please
Click to expand...
Click to collapse
+ 1...Tried it using tasker states re: sd card, but it didn't work.
Moe5508 said:
That would be a cool warning indeed to warn us that the card has ejected. All I can think of at the moment is to search for an app on Play that you can use to eject manually the card, put that under Tasks > 3rd Party in Tasker and tie your eject event to that. Will continue searching for this profile as I think its a really neat idea...
Click to expand...
Click to collapse
Tried a locale plugin (https://play.google.com/store/apps/details?id=com.suttco.locale.externalstorage.status&hl=en) and was able to get a text warning that sd card was mounted, but doesn't seem to work for unmounted or removed.
Also found this info: http://www.itwizard.ro/tag/broadcast-receiver

Related

[Q] Need help creating tasker profile to disable background data when signal is weak

The battery life on my 3D is far worse than my 4G, which had the extended battery (obviously). But until an extended battery is available for the 3D, I will have to deal. In order to make the battery last longer, I'd like to automatically disable background data (or auto sync) when the signal is less than 2 bars for a few minutes. Can any of you help me with this?
I've created a profile that will disable auto sync when signal is "2" or less. But I'd like to enhance it by saying it has to remain less than "2" for 3-5 minutes, so it isn't constantly enabling/disabling auto sync when I go through tunnels, etc.
Thanks in advance!
Dave
Power saver feature that is built in does that.
Oops, reading comp fail. I thought you said battery. Sorry.
-----
3vo. That is all that needs be said.
user7618 said:
Power saver feature that is built in does that.
Oops, reading comp fail. I thought you said battery. Sorry.
-----
3vo. That is all that needs be said.
Click to expand...
Click to collapse
Yeah, it does it when the battery reaches 15%. I want it to do this at any battery level, but only when the signal is weak.
Dave
I've made some progress with this. It's not perfect, but I think it will work.
First, create a task called "weak signal"
Check state, signal level is 0-1
Set variable %WEAKSIGNAL to 1
Wait 3 minutes
If %WEAKSIGNAL = 1
Disable auto sync (I wish this could be background data, but I don't see an option)
Then create a second task called "normal signal"
Check state, signal level is 3-8 (left a gap to prevent flapping)
Set variable %WEAKSIGNAL to 0
wait 15 seconds
If %WEAKSIGNAL = 0
Enable auto sync
I'll test this for a few days and see if it improves things. Coincidentally, I've been in areas with weak signals each day since I got the 3D. As a result, I'm lucky if the battery lasts 8 hours. I know disabling always-on data will fix this, but I don't like that the weather and everything stops syncing. Hopefully this will be a happy medium.
Dave
The tasker script seems to be working perfectly! It has definitely improved my battery life in weak signal areas, and I haven't noticed any ill effects.
Dave
dodgeboy said:
I've made some progress with this. It's not perfect, but I think it will work.
First, create a task called "weak signal"
Check state, signal level is 0-1
Set variable %WEAKSIGNAL to 1
Wait 3 minutes
If %WEAKSIGNAL = 1
Disable auto sync (I wish this could be background data, but I don't see an option)
Then create a second task called "normal signal"
Check state, signal level is 3-8 (left a gap to prevent flapping)
Set variable %WEAKSIGNAL to 0
wait 15 seconds
If %WEAKSIGNAL = 0
Enable auto sync
I'll test this for a few days and see if it improves things. Coincidentally, I've been in areas with weak signals each day since I got the 3D. As a result, I'm lucky if the battery lasts 8 hours. I know disabling always-on data will fix this, but I don't like that the weather and everything stops syncing. Hopefully this will be a happy medium.
Dave
Click to expand...
Click to collapse
Only problme I see with this is that it will kick in if you have a weak signal but still are connected to a wifi hotspot.
Could someone explain how to do this ? how to add this task? So i could save the battery when signal is low . Thanks
I am also having pretty horrific battery life, only 6 hours where my 4G use to last 36... So I thought I'd take this idea and make my own little modifications to it.
First I thought I would explain to those not familiar with Tasker. It is an app that allows you to setup your phone to automatically do "tasks" based on contexts. These contexts can be things like whether your connected to wifi, what time of the day it is, how good your signal strength is, anything your phone can "sense." And tasks are basically anything your phone can do, like turn on and off settings or launch applications.
Market Link: https://market.android.com/details?id=net.dinglisch.android.taskerm
Dev Website: http://tasker.dinglisch.net/
Now for my take on dodgeboy's 'profile'.
Code:
Context 1: Signal Strength, from 0 to 2
Context 2: Wifi Connected, Invert (Not connected to wifi)
Enter Task 1: Wait 1 min
Enter Task 2: Auto-Sync Off
Enter Task 3: Notify,[Title] Low Signal, [Text] Auto Sync Off, Permanent (I wanted a notification that auto sync was off)
Exit Task 1: Wait 15 sec
Exit Task 2: Auto-Sync On
Exit Task 3: Notify Cancel (Clears that Permanent notification)
Here is a link to my exported profile. Just put it on your phone's sd card. Once tasker is open, hit menu, profile data, import one profile.
http://db.tt/gb9w8O4
Let me know what you think. Haven't tested it beyond testing it at my desk by "death gripping" the phone.
ok, so there is some issue with my profile. Occasionally it will not perform the exit tasks, so the notification stays up and the auto-sync remains off. Not sure why it sometimes works and sometimes doesn't..? Maybe I'll try a 2 profile setup like the OP using a variable. Will post back if I get around to making a new profile(s), or if I figure out what is wrong with my current profile.
Thmstec said:
ok, so there is some issue with my profile. Occasionally it will not perform the exit tasks, so the notification stays up and the auto-sync remains off. Not sure why it sometimes works and sometimes doesn't..? Maybe I'll try a 2 profile setup like the OP using a variable. Will post back if I get around to making a new profile(s), or if I figure out what is wrong with my current profile.
Click to expand...
Click to collapse
Are you waiting for it to go through the wait period? The way I wrote it, it needs to stay in one state for a period of time before it changes whether or not the auto sync is enabled. If you want it to happen immediately, just write it without the variable and wait sections.
The reason I want it to wait is because when you enable auto sync, it seems to perform at least a partial sync immediately. I don't want this script to make the battery worse, because it is constantly syncing as it comes in an out of signal range.
Thanks for all the comments, very helpful !!! It is noticeable the battery saving

[HOW-TO][CM7-ALPHA] *EASY* Re-Connect to WiFi w/out Rebooting or Waiting forever

Figured a thread would be helpful until issue is fixed in next release.
I had read people were having issues where wifi would be intermittent and very difficult to reconnect to. I've found this method which works for me every single time, no need to reboot, plug in to charge, or wait for long periods of time.
when wifi cuts out:
1. first thing you should do is pull the notifications menu down disconnect WiFi(must be disconnect from notification wifi toggle). **If you removed it within cyanogenmod settings, please put it back, this is what makes this process work for me*
2. Go into Settings>Wireless&Networks>WifiSettings: Now turn on WiFi (things will get a little slow and choppy, just be patient for a couple seconds. (if it asks you to Force Close or Wait, i'd select Wait cuz it won't take long. If you FC, no biggie, you'll just start over)
3. Tap 'n' Hold on the remembered network(s) and forget them.***IF THE SCREEN IS NOT REGISTERING YOUR TOUCH RIGHT AWAY, KEEP DOING IT, IT WILL EVENTUALLY GET IT****
4. USING THE NOTIFICATIONS BAR TOGGLE**, Turn off WiFi. You can back out of wifi settings and go back in after this IF you want, I did not find it necessary tho.
5. Now, turn on Wifi from WITHIN WiFiSettings, wait for networks to be scanned, select your network, enter password... and ... BOOMSHAKALAKA! You should be back on!
***THE TRICK HERE IS UTILIZING THE WIFI TOGGLE IN THE NOTIFICATIONS BAR TO POWER OFF WIFI. IT SEEMS WHEN TURNING OFF WIFI ANY OTHER WAY, THE TOGGLE REMAINS IN THE -ON- POSITION AND CAUSES SOME SERIOUS CONFUSION***
Also, i recommend making sure your wifi sleep policy to be set to never. Achieve this from settings>wifisettings>hitMENU>Advanced>sleepPolicy - NEVER
Please let me know if this works for you... it should, unless i mistyped something in the instructions.
it works for me by just turning it off from the notification widget and then turning it back on again
Varemenos said:
it works for me by just turning it off from the notification widget and then turning it back on again
Click to expand...
Click to collapse
Good to hear... i wish it were that easy for me tho seems that the problem for me is the inability to reconnect easily to a remembered network.
Thanks for the help but its also been posted couple hundred times include the common issues and fixes thread in the general section
Sent from my CM7 HP Touchpad
itsallsubliminal said:
Good to hear... i wish it were that easy for me tho seems that the problem for me is the inability to reconnect easily to a remembered network.
Click to expand...
Click to collapse
yea. thats my problem too. i do all the steps above but i dont use the toggle button, its always worked fine for me doing it that way.
and when all else fails then what next??
random question.. that wifi fix that was for the mobile cellular devices would that work for the troubled wifi??? im gonna look for it to see
this thread is priceless! Thanks a million! i was pulling my hair out.
Fantastic... I can live with this workaround!!! Still a thousand times better than a struggling WebOS.
THANK YOU!
HOW CAN I FIND THE "wifi sleep policy" ON THE HP TOUCHPAD?
Go into Wi-Fi settings then press the menu button and the Advanced options menu pops up.

Anyone else using Tasker? If so, what profiles you setting up?

I love Tasker. I use it a lot on my phone for all kinds of automated tasks. For the Prime, I have set up the following so far:
1. at 11pm it shuts off WiFi and starts back up at 6:30am (save battery if I forget to put it on charger)
2. at 10pm it shuts off BT and never starts back up in morning (save battery if I forget to put it on charger or forget to turn BT off)
3. at 10pm it shuts off GPS and never starts back up in morning (save battery if I forget to put it on charger or forget to turn GPS off) - UPDATE: I see now this one will not work in the HC OS as the system requires user interaction to set GPS
4. at 11pm it shuts off Sync and starts back up at 6:30am (save battery if I forget to put it on charger and I dont want to hear gMail alerts all nigh)
5. When on power cable, it (a) turns off the need to unlock it (b) leaves the screen on
6. give me an alert tone at 20% battery
7. if it is in my car and attached via BT it turns up the brightness (since I am outside) and leaves on display (as I normally also have it plugged in) so I can use things like Torque and the Navi/GPS and see the screen
thats all for now... anyone else?
Lock-N-Load said:
I love Tasker. I use it a lot on my phone for all kinds of automated tasks. For the Prime, I have set up the following so far:
1. at 11pm it shuts off WiFi and starts back up at 6:30am (save battery if I forget to put it on charger)
2. at 10pm it shuts off BT and never starts back up in morning (save battery if I forget to put it on charger or forget to turn BT off)
3. at 10pm it shuts off GPS and never starts back up in morning (save battery if I forget to put it on charger or forget to turn GPS off)
4. at 11pm it shuts off Sync and starts back up at 6:30am (save battery if I forget to put it on charger and I dont want to hear gMail alerts all nigh)
5. When on power cable, it (a) turns off the need to unlock it (b) leaves the screen on
6. give me an alert tone at 20% battery
7. if it is in my car and attached via BT it turns up the brightness (since I am outside) and leaves on display (as I normally also have it plugged in) so I can use things like Torque and the Navi/GPS and see the screen
thats all for now... anyone else?
Click to expand...
Click to collapse
Never heard of that but it sounds like an awesome app
Sent from my Transformer Prime TF201 using xda premium
Lock-N-Load said:
I love Tasker. I use it a lot on my phone for all kinds of automated tasks. For the Prime, I have set up the following so far:
1. at 11pm it shuts off WiFi and starts back up at 6:30am (save battery if I forget to put it on charger)
2. at 10pm it shuts off BT and never starts back up in morning (save battery if I forget to put it on charger or forget to turn BT off)
3. at 10pm it shuts off GPS and never starts back up in morning (save battery if I forget to put it on charger or forget to turn GPS off)
4. at 11pm it shuts off Sync and starts back up at 6:30am (save battery if I forget to put it on charger and I dont want to hear gMail alerts all nigh)
5. When on power cable, it (a) turns off the need to unlock it (b) leaves the screen on
6. give me an alert tone at 20% battery
7. if it is in my car and attached via BT it turns up the brightness (since I am outside) and leaves on display (as I normally also have it plugged in) so I can use things like Torque and the Navi/GPS and see the screen
thats all for now... anyone else?
Click to expand...
Click to collapse
Haven't gotten my Prime yet, but that Tasker app sounds pretty cool. It sound kind of like JuiceDefender, except there's a lot more options.
With those settings, what kind of Battery life do you get?
If you don't know what Tasker is, you have no idea how powerful it is. It is amazing, you can control virtually every function, setting, alert, automation, etc. What I have done here is the tip if the iceberg. I have some for my phone that sense I am in my car, thanks to BT, and does a series of 3 to 4 steps like turn up brightness, play a tone to tell me it is connected to my car, start up a certain app, etc..
Lock-N-Load said:
If you don't know what Tasker is, you have no idea how powerful it is. It is amazing, you can control virtually every function, setting, alert, automation, etc. What I have done here is the tip if the iceberg. I have some for my phone that sense I am in my car, thanks to BT, and does a series of 3 to 4 steps like turn up brightness, play a tone to tell me it is connected to my car, start up a certain app, etc..
Click to expand...
Click to collapse
That's epic.
Sent from my Transformer Prime TF201 using xda premium
Tasker is pretty awesome!
A bit of a learning curve, but once you figure it out, the sky is the limit.
I have a profile that if I receive a text while driving, it autoresponds telling the person texting and driving is dangerous and I am currently driving at xx MPH and will get with them later.
I get a lot of people inquiring about that one.
The most useful one I have is it looks at my calendar and if it is during the time of my meeting, it automatically puts my phone on vibrate. That way I don't have to worry about it. When meeting is over, it reverts back to normal.
Yes, tasker is INCREDIBLE. Once you figure it out, it can almost double your battery life (at least it did on my phone).
You can try reddit.com/r/tasker, where most people post awesome tasker profiles and ask for help accomplishing certain settings. There are also a ton on the internet if you google search for tasker set-ups:
http://tasker.wikidot.com/profile-index (this is a great one)
I have been using Tasker for a while. It is incredible. My current challenge is switching to switftkey when I have my TFP keyboard undocked, and to the asus keyboard when the keyboard is docked. Tasker can detect the keyboard being plugged in, but not being unplugged. If anyone solves this, I would love to hear about it.
Tasker is one of the defining differences between ios and Android. Really shows off how powerful android can really be if you're willing to take the time
OP wanna post your profiles? And maybe a quick writeup (or link) how to apply them for those who dont know...
I used to use tasker for BLN to enable notifications from various apps that normally didnt work with BLN, as well as making my phone vibrate every minute or so if theres a missed notification (text, etc) for aprox 5 minutes just so that way if i was with a customer at work (retail) i could deal with the customer but wouldnt forget about the messages i got
Awesome app indeed.
poniard said:
I have been using Tasker for a while. It is incredible. My current challenge is switching to switftkey when I have my TFP keyboard undocked, and to the asus keyboard when the keyboard is docked. Tasker can detect the keyboard being plugged in, but not being unplugged. If anyone solves this, I would love to hear about it.
Click to expand...
Click to collapse
Put a small SD card in the dock. Have Tasker check when it mounts/unmounts.
Might not work since there's no notification on unmounting /Removable/SD. Maybe have it check for access to /Removable/SD every X minutes?
poniard said:
I have been using Tasker for a while. It is incredible. My current challenge is switching to switftkey when I have my TFP keyboard undocked, and to the asus keyboard when the keyboard is docked. Tasker can detect the keyboard being plugged in, but not being unplugged. If anyone solves this, I would love to hear about it.
Click to expand...
Click to collapse
if you are rooted, keyboard manager is a free app in the market that does this. when im not docked, i gvet thumb keyboard 4. when i am docked, asus stock. hasnt failed me yet
Got mine setup with a profile to set off an alarm when the microsd gets unmounted.
Almost lost my mircrosd once before with it popping out and not realising to later - hopefully this should help
I have 4 profiles that I copied from my phone to do the same tasks:
Home: When near my Home wi-fi AP, turn on wi-fi. When no longer near the AP, turn off wi-fi.
Sleep Mode: Put device on silent, turn on airplane mode (11PM-5AM).
Work Location: When near my office wi-fi, turn on wi-fi, turn on silent mode. When no longer near the AP (i.e. not at work), turn off wi-fi, turn off silent mode off.
Work Timer: During work days/hours (M-F 6-3), turn silent mode on. After work hours, turn silent mode off. Exception: if there's an event with a description of "Vacation" on the calendar. If that exists, device does not go into silent mode.
There are others that I use on my phone.
korax85 said:
Got mine setup with a profile to set off an alarm when the microsd gets unmounted.
Almost lost my mircrosd once before with it popping out and not realising to later - hopefully this should help
Click to expand...
Click to collapse
BRILLIANT! I have actually seen no use for tasker for myself til now. I've always REALLY liked he concept, but there isn't ANYTHING that I want happening automatically. Until now. Thanks!!!
korax85 said:
Got mine setup with a profile to set off an alarm when the microsd gets unmounted.
Almost lost my mircrosd once before with it popping out and not realising to later - hopefully this should help
Click to expand...
Click to collapse
GREAT idea. Just set one up so "card Unmounted" plays an Alarm that will go on and on and on until I address it.
stretchwookie said:
but there isn't ANYTHING that I want happening automatically. Until now. Thanks!!!
Click to expand...
Click to collapse
Really, you don't want to shut BT or WiFi or GPS or Sync while you sleep to conserver battery overnight?? That alone is a useful set of tasks.
Lock-N-Load said:
GREAT idea. Just set one up so "card Unmounted" plays an Alarm that will go on and on and on until I address it.
Really, you don't want to shut BT or WiFi or GPS or Sync while you sleep to conserver battery overnight?? That alone is a useful set of tasks.
Click to expand...
Click to collapse
i understand how powerful this tool can and is. but i shut my prime off at night... there is no battery to conserve... lol sorry. im glad it works for you guys though! it REALLY may be worth investing the money into though JUST for microsd unmount alerts.
Something tells me you don't fully grasp the true depth & scope of Taskers abilities. Thus far the tasks listed are child splay that barely scrape the surface.
Lock-N-Load said:
Something tells me you don't fully grasp the true depth & scope of Taskers abilities. Thus far the tasks listed are child splay that barely scrape the surface.
Click to expand...
Click to collapse
i believe you are correct. but i am not very imaginative. so its very possible that i cant just find a use for it, doesnt meant that it isnt there. i plan on doing some research into some of the already made profiles to see if someone interests me. so far, the unmount microsd seems to be the only plausible for me
Not sure how I missed this thread before; I'm a huge fan of Tasker. All of what follows was written for my Samsung Epic 4G: I don't even have Tasker installed on my TFP because so much of what I do is smartphone-focused. Sooner or later I'll get around to putting together some tablet-specific scripts.
Surreptitiously snaps a photo from the front-facing camera every time the screen is unlocked, with no visual or audio indication. This is set up so as to always keep the last 2 photos stored, and will overwrite older photos. Images can be retrieved remotely via a secret text message.
Set up secret text messages that trigger the phone to gather information such as GPS location (reverse geocoded to an address), speed, heading, altitude, local cell tower ID and signal strength, nearby and connected WiFi SSIDs, WAN IP, currently open app, whether the screen is turned on, battery strength, and covert photographs taken from the front and rear cameras (including the one that was captured from the front camera when the screen was last unlocked) and text/email me back without notifying whomever has the phone. Another message will make my phone freak out, announce it's been stolen, announce that all of the above information has been sent to the owner of the phone, flash the LED in an SOS, and force all outbound calls to go to me.
If I send a secret message to my phone, it calls me back, and enables speakerphone, so I can speak with whomever has my phone. It also reroutes any outbound calls to my number. I can also ask it to send me photos from the front and rear cameras on the phone.
Ensured that when the phone is connected to my home's local cell tower, it always rings when I call it. I never have to worry about it being on vibrate while under a couch cushion or in a snowbank next to the driveway.
When I plug in a headset or it connects to my car's bluetooth, it pops up a list of media applications for me to use, and if I don't select one or back out of the selection, it automatically starts my Pandora, and kills the app when I unplug / disconnect. Basically, I get in my car, my music plays. I get out, it stops. Same with headphones.
When it detects the cell tower near my work, it enables vibrate.
If it detects a cell tower that is not the one near my home or work, it turns on the ringer and disables WiFi (unless I re-enable it).
If someone calls me that I don't even want a voicemail from, I add their number to a list in Tasker, and when they call me, it picks up the line and immediately hangs it up. Working on one that will play back a fake "Your call could not be completed as dialed" message.
Checks accuweather.com in the morning on work days to see if it's raining, snowing, sleeting, or hailing. If any of the above, it rings an alarm 30 minutes early. I also built in snooze functions and a voice notification in the morning about the outside temperature and conditions. This script recently broke (accuweather probably did something to affect the output of my HTTPGet) so I've been using the voice notification in Alarm Clock Plus, though it doesn't wake me up early. With current weather conditions I'm going to have to get my script fixed for the head start. My how-to on this script is on Tasker's wiki, here: http://tasker.wikidot.com/weather-clock
If I start Google Navigation with GPS disabled, it closes the app, enables GPS, and starts the app back up again. No more fiddling with GPS settings while on the go. Sometimes this script is not 100% reliable... I've got to look at it again some time to figure out why.
I made a blog post a while back about how to take the pictures remotely with the camera, and you can read about it here:
http://sean-the-electrofreak.blogspot.com/2011/10/more-fun-with-tasker-covert-mugshots.html
The email-attachment part can also be used to send audio recordings, which I've not actually implemented yet but wouldn't be difficult.
I've been putting off for the last 6 months or so my write-up on all the rest... I just have to find time for it!

Tasker (Need a little help please)

Hi,
Whilst help with the profiles would be great, i'd much prefer help with understanding the "why" so i can learn it for future use.
Scenario:
I want to send a text to my wife when i arrive at work.
The most accurate way is when my phone connects to the work wifi. Now, i'm in and of the office all day so only want it to happen once.
So i did:
State > Net > Wifi Connected > SSID work > if %SMSKEV = 0
+ wait 1 second
+ variable set %SMSKEV = 1
So it will only fire 1 text off, then change the variable so it cant happen again. And then:
A separate profile that at midnight (using start and end time 0:00)
Variable set > %SMSKEV = 0
in order to reset it for the next day.
in my head this all sounds right. the tasks run fine (my wife gets the text) BUT the first task is still running now, not sending texts or anything, but the task is green in tasker so is ACTIVE. i only want it to run once when appropriate and then stop, but because i'm saying "when connected" to the work wifi, hours later i am still meeting the criteria of being connected to the work wifi so the profile is still active all the time later.
does this make ANY sense to anyone? what am i doing wrong?
many thanks for your help
Further:
"Events are a little different to other contexts because they are instantaneous whereas other contexts usually have a duration." from the user guide.
I think this is my problem, I need an event that says when i connect to the wifi, not a state. But there is no event for connecting to wifi...
kevmeister46 said:
Hi,
Whilst help with the profiles would be great, i'd much prefer help with understanding the "why" so i can learn it for future use.
Scenario:
I want to send a text to my wife when i arrive at work.
The most accurate way is when my phone connects to the work wifi. Now, i'm in and of the office all day so only want it to happen once.
So i did:
State > Net > Wifi Connected > SSID work > if %SMSKEV = 0
+ wait 1 second
+ variable set %SMSKEV = 1
So it will only fire 1 text off, then change the variable so it cant happen again. And then:
A separate profile that at midnight (using start and end time 0:00)
Variable set > %SMSKEV = 0
in order to reset it for the next day.
in my head this all sounds right. the tasks run fine (my wife gets the text) BUT the first task is still running now, not sending texts or anything, but the task is green in tasker so is ACTIVE. i only want it to run once when appropriate and then stop, but because i'm saying "when connected" to the work wifi, hours later i am still meeting the criteria of being connected to the work wifi so the profile is still active all the time later.
does this make ANY sense to anyone? what am i doing wrong?
many thanks for your help
Further:
"Events are a little different to other contexts because they are instantaneous whereas other contexts usually have a duration." from the user guide.
I think this is my problem, I need an event that says when i connect to the wifi, not a state. But there is no event for connecting to wifi...
Click to expand...
Click to collapse
I understand your problem. =)
I dont realy know how to solve it the way you tried to, but i think there is another way...
If you arrive at work every day at the same time you may find a way to connect a several time (for instance 10:15 am ) to your wifes text message.
Hope i could help yoou or even keep you mind walking on =)
I wanted to do exactly the same thing, perform a task once per day when connected to home wifi, only initiate a sync using FolderSycn, as opposed to send anSMS. I thought abut setting the variable, then resetting it at midnight just like you did.
But what I tried was to just set a simple profile:
when state = wifi connected to home wifi ssid, perform sync.
As you said, it still shows the profile as active as long as the wifi is connected, but it doesn't affect anything. As soon as you leave the wifi network and connect again, it will perform it again.
I guess in your case this might not be enough, just in case you lose wifi or leave your work for ome reason then return.
thank you both for replying. i think ive worked out a slightly better way of doing it.
As jiffer1991 said i used a time context but as a second context.
so i set it all up as i previously described with the Wifi Connected being the first context, then added a second time context from 7:40 to 8:10.
I always arrive within this period and have allowed a little extra. But it also means the task isn't active through out the day.
I know it probably "could" stay active and be completely harmless, i'm just thinking that maybe active tasks contribute to battery drain ??
Anyway thats how i've solved it for now.
thanks again for your replies and help.
:O)
You could also add as first context if %SMSKEV = 0
This way it won't be active the rest of the day and the sms will be send if you arrive a bit late
Cheers

Can anyone help a Tasker noob?

I finally decided that I was missing out by not having Tasker automate my life for me, so bought it as well as the full version of Secure Settings.
I've managed a couple of simple Profiles, but I'm having trouble with other stuff I want to do - most likely because I just don't understand.
A. Aim: When Maps is launched, turn on "WiFi" and "Location Mode High Accuracy"
Profile: Near Work
State: Cell Near (work)
Tasks: (1) WiFi On (2) Secure Settings, Location Mode/High Accuracy
This almost works - opening Maps carries out the expected tasks, and when I exit maps WiFi turns off (desired behaviour). However, Location does not switch off again, it stays on switched on, and I don't understand why.
I'd like Location to switch off again when I exit Maps.
B. Aim: Switch on WiFi and Location Mode/Battery Saving and Location Reporting and Location History once an hour, for one minute, and allow (force?) Google to poll my location for a short period so that if I ever lose my phone and it is switched off, there will be a trail of sorts (without having to leave all these services switched on all the time,which canes my battery).
Profile: Manage Location Services
State: Time - I don't know how I can make the profile active for one minute, every hour
Tasks: (1) WiFi On
Then I get lost - I can't see how to enable Location Reporting which is in Location Services in my phone settings. Also I don't know if doing that would immediately prompt the phone to contact Google and report its location (I assume it would).
C: Aim: Between 10pm-9am, if at home, then silence phone and switch off notification light
State: Cell near (home)
This is as far as I've got. I don't understand how to use time as a defining factor. Nor do I know how to switch off the notification light.
If anyone could help then I'd be very grateful!
Also, after reading a lot of Tasker walkthroughs/userguides (and not understanding a lot of them) I am none the wiser as to how to set up an 'exit task'?
There are a lot of issues regarding Secure Settings, I don't recommend it. The only way to turn on/off gps (and the way I'd do it personally) is use root shell to navigate through the settings or better yet set Status Bar-Open and using a Shell-"input tap x y" Use Root: Yes to tap on the GPS quick setting widget.
To add an exit task simply long press on the action part of your profile (on the main screen) and the options will appear. You can also add additional State, Time or Action matchings to your one profile, by long-pressing on the left part!
<<< Please say thanks if I was of help.
Sent from my SCH-I605 using xda app-developers app

Categories

Resources