Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
GlassButrFly
Old
#1  
Member - OP
Thanks Meter 0
Posts: 34
Join Date: Nov 2010
Default Tasker help?

Yesterday I set up a "work" profile in Tasker with the following settings:
Context: Cell Near (only 1 cell tower came up)
Task: Vibrate on Notify (on)
Vibrate on Ringer (on)
Wifi (on)
Exit Task: Send a text to my husband

It did put my phone into vibrate and turn the wifi on, but then halfway through the day it sent the text to my husband, resulting in a lot of confusion. The wifi also turned off at the same time. I'm assuming that I lost reception for some reason? I have 4 bars here, so I don't know why I would have lost it. I was in the same place the whole time. I can't use the GPS settings because I can't get my GPS to work at all. Working on the settings with that, but no go yet.

Any ideas on how I should set this task up and have it work correctly? The only other way (without GPS) that I can think of is something to do with the WiFi network at work... but I can't figure out how to set that up. I usually work 8-6 Monday-Thursday, so I would need it to scan for my work network between 7:50 and 8:10, and if it finds it, then turn on the work settings (vibrate and wifi on). Then when I am out of the wifi range it would need to turn vibrate and wifi off and send the text message. What I'm not sure how to do is get it to search on and off for the wifi signal, and then keep it on and change the settings when it finds the wifi signal. Can this be done in one profile, or do I need to set up multiple profiles?
 
Dungeon47
Old
#2  
Dungeon47's Avatar
Senior Member
Thanks Meter 252
Posts: 1,214
Join Date: Oct 2010
Location: The Internet Device: Nexus 4

 
DONATE TO ME
If you work a regular schedule, you could just do it by time. That's what I do. All you need is a near approximation.
Asylum CM10.1 | FauxKernel | How to Battery
Support your devs. Search, read OP before asking. Press thanks.
Nexus4 | GT-N7000 | SGH-I777 | SGH-I897 | iPhone3GS | iPhone3G

Android Wishlist
 
GlassButrFly
Old
(Last edited by GlassButrFly; 14th December 2010 at 06:00 PM.)
#3  
Member - OP
Thanks Meter 0
Posts: 34
Join Date: Nov 2010
Quote:
Originally Posted by Dungeon47 View Post
If you work a regular schedule, you could just do it by time. That's what I do. All you need is a near approximation.
Yeah, that was my last resort. I was trying to avoid doing it that way because while I do work a regular schedule, there are occasional times when that schedule might change and I wanted it to automatically keep my work settings should I end up staying an hour late or something. Plus, a profile based on time would not allow for an accurate text message to go out. It is very common for me to stay 20 minutes late, and I wouldn't want it to send a text to my husband if I wasn't actually leaving at 6pm.

Great profile pic btw.
 
GlassButrFly
Old
(Last edited by GlassButrFly; 14th December 2010 at 07:49 PM.)
#4  
Member - OP
Thanks Meter 0
Posts: 34
Join Date: Nov 2010
Ok, messing around with it some more and set up the following:

Work_pre profile -
Context: Mon, Tue, Wed, Thu
From 7:50 to 8:10
Task: Wifi (toggle)

Work profile -
Context: Wifi Near
Task: Vibrate on Notify
Vibrate on Ringer
Wifi On
Exit Task: send text message to my husband


Any reason why this wouldn't work? I'm not sure about the first profile (work_pre) toggling the wifi... will that conflict with the work profile?




EDIT: Well, I don't know why, but it just sent a message telling my husband I was leaving work. lol Obviously that setup doesn't work either... any idea why?
 
GlassButrFly
Old
#5  
Member - OP
Thanks Meter 0
Posts: 34
Join Date: Nov 2010
Still trying to figure this out...

I set up a profile called "work test" with the following settings:
Context1: Wifi Near (toggle) my work network
Context2: Mon, Tue, Wed, Thu
Context3: Time (5:30pm-5:40pm...running for 10 min, set for a couple minutes ahead of when I was testing it)
Task: Wifi On

I checked it, and sure enough it turned wifi on by itself. It stayed on until the time was up at 5:40. What I was trying to do was get it to Try to connect during that 10 minute time frame, but then stay connected once it found the network until I left the area. Guess it doesn't work like that, and I don't know what to do to make it do that. Also, everytime I let the screen lock, it turned wifi off, which I'm guessing is the reason some of my previous profile tests had sent the "leaving work" text in the middle of the day.

I've figured out I probably don't want to have wifi stay on while I'm at work, it drains the battery too fast. Is there any way to have the phone scan for my work network at intervals between 7:50-8:10am, put the phone on vibrate if it detects the work network (not connect to it, just detect it), and then scan for the work network again between 6:00-6:30pm and turn the ringer back on and send a text if it does not detect it?
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...