Tasker help? - Captivate Q&A, Help & Troubleshooting

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?

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.

Dungeon47 said:
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.
Click to expand...
Click to collapse
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.

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?

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?

Related

WLAN turning on by itself....

Hello everyone!
Just moved from a P3600 to the P4550 and noticed something strange twice in the last 4 days. When I looked at the display in the morning (phone and WLAN were off overnight.....hardly ever turn on WLAN, as I only use it when travelling) I found that WLAN had switched itself on sometime during the night. What gives?
Any ideas would be greatly appreciated!
Thanks!
This happens to me also if:
(1) ActiveSync is set to "as items arrive" (i.e. push)
(2) There is no phone signal.
Apparently AS looks for the Exchange server, and not being able to find a phone signal, turns on Wifi to see if it can connect like that.
I suppose this will also happen if you have AS set to poll mail at intervals. When the interval time arrives, I guess AS will want to go online and - not being able to use the phone signal - will turn on Wifi.
Very annoying as it drains the battery. It does NOT turn Wifi off after a while.
Oh well.
This happens to me also if:
(1) ActiveSync is set to "as items arrive" (i.e. push)
(2) There is no phone signal.
Apparently AS looks for the Exchange server, and not being able to find a phone signal, turns on Wifi to see if it can connect like that.
I suppose this will also happen if you have AS set to poll mail at intervals. When the interval time arrives, I guess AS will want to go online and - not being able to use the phone signal - will turn on Wifi.
Very annoying as it drains the battery. It does NOT turn Wifi off after a while.
Oh - an afterthought: in CONNECTIONS I have set both programs accessing the net and programs accessing a private network configured to use MY WORK NETWORK. Don't know if fiddling around with that may stop AS turning on WifI.
Should you find a solution, please post coz I would like to fix this bug/feature too.
Hmmm.....if this theory is correct then going to flight-mode instead of just turning the phone off - should effectively not allow any kind of connections.....will check tomorrow....

Set Google Voice number based on Wifi connection?

Is there any way to use Tasker or some other setting/app to have my Google Voice ring a different number depending on if I'm connected to Wifi or not?
Here's why:
I have a pretty low minutes limit on my plan, but I also have an unlimited Skype account, so I can have GV forward into my Skype number if I have a wifi connection, so I don't get charged cell minutes. But if I'm not somewhere where I have a wifi connection, I want it to ring my actual cell number.
I've seen the Google Voice plugin for Locale/Tasker, but it chooses based on location, as does the Google Voice Locations app. I'd prefer to use any location, but change the number when I'm connected to Wifi.
Thanks!
Maybe I don't understand how Tasker plugins work, but if there is a Google Voice plugin for Tasker, that should be all you need. You are not forced to trigger it based on location, make a Tasker profile based on wifi connectivity instead.
Good call. I tried it, and it works when using wifi connected as the state that Tasker checks.
Unfortunately, I realized that will be kinda useless if I don't have cell data as well, because when the wifi disconnects, there's no way for the phone to connect to Google Voice settings to change the phone number.
For me the whole point is to get my phone to work in some places I frequently go that don't have cell reception... I did manage to get it to work using Tasker custom widgets, so I can set it manually, but I don't see any way to get it to work automatically unless I have 3G data, which I don't in the locations I mentioned.
So I have single touch access to changing the settings, but not automatic based on location.
Yeah, if you don't have a connection you can't really change the setting. Sounds like you need a Tasker state that can predict the future. "Will lose wifi in 5 minutes"
But seriously, I can't think of a way to get around that problem easily. If you always had a computer online at home or something, you could have Tasker send it a signal every 5 minutes. If your home computer notices the signal is late it can run a script to switch you to your cell number, because it will know you have lost your data connection and couldn't send the regular notice.
When you get connection again, either your computer can switch it back (when it receives the 5 minute signal again), or have Tasker do it because it can talk to Voice again.
Yeah, that might be an option, actually... Hmm.
Time to brush up on some scripting skills. Any recommendations?
Thanks for the input, in any case!
Well, personally, I would set up a web server and script it with PHP, because I know that well.
No clue how to go about hooking it into Google Voice to change the settings, you'd have to look it up, but I do know Tasker can send a call to a web page.
I would make it in two parts, or two scripts.
So set up a PHP page where you would send a signal to and it would then set a 'latest signal' variable, possible in a DB but you would probably want something simpler. You would want to pass in some POST or GET variable unique to your phone, so other people don't access the page and pretend to be the phone, unlikely, but possible if you tell your friends about it
Then I'd have a separate CRON task that runs every 5 minutes, checks the DB or file to see if the phone has sent in a new update, if it doesn't see a new update it then does whatever it needs to do to change your Voice setting.
Then to switch back to Skype, you can have Tasker do it when it detects a data connection again, or just depend on your home script to switch you back when the next signal goes out.
Doesn't gv forward calls to your numbers in the order you want them to ring? If everyone called gv you can make gv forward to skype first and if you don't pick up there it rings your cell right?
I'm not home in the states so I can't test it :/
Actually they all ring at once. So you can switch to skype and pick up there.
If it does, I haven't figured it out yet.
I'm new to GV, but so far I've found that I can set which numbers ring simultaneously, or set them based on either time of day, or contact groups.
If I could have it ring Skype for 2 rings first, then my cell, that would be perfect, but I haven't found that setting yet.
Bringing this thread back to life for a followup question. Before I shell out the money for Tasker, will it enable me to alter GV settings based on WHICH wifi network I am connected to? I.E. set GV to ring home and cell when connected to my home network, office and cell when connected to my office network, and cell only for all other times?
Given it's been a couple of years since this post, is there a better way/software to do this without the expense of Tasker?
Thanks!
Ben

Tasker Profiles Help

I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
#1- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
#2- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
#3- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
#4- Enable 3G every 30 minutes and then turn off
#5- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
For #2 - Create a task that will be triggered by a Time context. Turning Airplane mode On or Off at specific times and days
For #3 - Create a task that will automatically turn off WiFi if not successfully connected to a WiFi network after say 1 minute
For #4 - From Lollipop onward, android has blocked third party apps to control 3G.
For #5 - Create a task that will be triggered by an event (i.e. starting of an app). Enable GPS upon starting a Navigation app like Google Maps. Add an exit task to turn off GPS when Navigation app was stopped.
During the state that the phone is on airplane mode, you cannot turn On the 3g.
You can see some profile and task examples in tasker settings/browse examples.
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
You will need root access to toggle Airplane mode, GPS and Mobile data. It can be done without root though with help of a plugin to Tasker named AutoInput. But if you are new to Tasker this plugin can be a little bit tricky.. Before I rooted my phone I used it myself to toggle GPS to high accuracy when opening Maps and back to Power saving when Maps was closed, also Mobile data ON/OFF when disconnected/connected to Wifi. AutoInput works good but is a ``workaround´´ to access settings that are not allowed by third party applications to use, it opens the menus and do clicks like it would be done by yourself. Not so easy to explain, I would recommend you to visit THIS page to learn more.
If you are are rooted its more easy, you need another Tasker plugin named Secure Settings but its far more easy to use since you only select ``Airplane mode ON´´ or ``GPS high accuracy ON´´ etc. No workarounds needed like with AutoInput.

How to Schedule Auto Sync when device is sleeping and Wifi Off ?

I have been looking for internet all these days, everywhere to autosync my device when device is sleeping and wifi is off but couldnt find any working solution as yet.
Tasker should turn on wifi, auto sync then turn auto sync off and wifi. I tried all that I could, but not working.
Anyone can help me with this over here ?
I do have a working autosync profile but for me in order to get it to work, I needed synker and secure settings, because Taskers WiFi action does not always work. If you would like me to share it with you, let me know.
It also takes other things into account as well.
I do have secure settings already. Do share how you do it given your device is sleeping and even WiFi is turned off
OK you can download my profile here, since it would be better, rather than explaining it.
https://drive.google.com/file/d/0B8M8tLEXhDNZQU9XMkV2Qm1RREk/view?usp=drivesdk
I need synker with this ?
Thats correct. But you can try taskers sync option.
Hi, I tried this profile, unfortunately its turning on my data when I am home and Wifi is available. Though I am not sure if its turning on my Wifi while its turned off, I would want to ensure my data stays off. What are the changes I need to make ?
If you wish to remove the mobile data aspect of it altogether you will need to delete, all actions from 9 to 15, then add stop and add end if at then end of the task.
Also it does check to see if wifi is off first and if it is, it will switch it on.
My WiFi is on, but I ensure when screen is off, Wifi stays disabled. And for some reason its not turning back the WiFi when screen is Off. Dont know why
Unfortunately I am in the same boat at the moment, and I have not found anything to resolve this.
I also started my own thread some time ago about it, but I haven't had anyone give me an answer to solve it nor suggest what could cause it.
@ProudRed
UPDATE: I think I might know what the problem is, I have added wake device command at the beginning of my task,via plugin called secure settings > actions > wake device. I will find out tomorrow if this actually works.
I can confirm that adding the plugin > secure settings > actions > Wake device, solves the problem for me. Apparently you shouldn't need this if you adhere to this page http://tasker.dinglisch.net/userguide/en/androidpowermanagement.html
But for some reason it still does not work for me even if I whitelist tasker and it's plugins from 3rd party battery saving apps like amplify or powernap.
The issue I am having is with connecting the wifi, its getting connected but gets disconnected after 5-10 seconds. I have even tried ensuring that screen keeps on for 2 minutes, even after that Wifi is getting disconnected. Can I have an working profile from you without the mobile data part ? May be I am doing something wrong.

How to turn on/off wifi hotspot on bluetooth connect/disconnect

Hi All,
I'm new to Tasker but reading around various forums, it seems it will do what I need, just not sure HOW and I'm hoping someone here can help?!
I have an Android car radio and a Nexus 6P. I want to be able to setup a task/profile so that when my phone pairs to the headunit via bluetooth at power on, it turns the phone WiFi off and the WiFi hotspot on. Then when the car is turned off and bluetooth disconnects, it will turn off my phone hotspot and turn my phone WiFi back on.
I'm sure it's fairly simple for someone who knows what they are doing, any assistance would be much appreciated!
I have this set up with a profile like so:
State=bluetooth connected, 'CAR KIT'
--->task 'CarTether' (WiFi Tether=Set On)
<---exit task 'CarTetherExit' (WiFi Set On)
I have another profile that turns off bluetooth after 1 minute if it's not connected, thats what triggers the exit task (since it's no longer connected to 'CAR KIT' when I turn off the car). AFAIK when you turn hotspot on your phone will turn off wifi on its own, but you need to turn it back on (hence the exit task), and when wifi turns back on the hotspot should turn off.
Andromeda_Station said:
I have this set up with a profile like so:
State=bluetooth connected, 'CAR KIT'
--->task 'CarTether' (WiFi Tether=Set On)
<---exit task 'CarTetherExit' (WiFi Set On)
I have another profile that turns off bluetooth after 1 minute if it's not connected, thats what triggers the exit task (since it's no longer connected to 'CAR KIT' when I turn off the car). AFAIK when you turn hotspot on your phone will turn off wifi on its own, but you need to turn it back on (hence the exit task), and when wifi turns back on the hotspot should turn off.
Click to expand...
Click to collapse
Thanks for the advice, I've managed to setup a tasker profile that turns on wifi hotspot when Bluetooth connects and turns on wifi when it disconnects. The task works well, except that when the hotspot turns on, the radio won't connect, it gets stuck on obtaining IP address and Los to connecting, obtaining IP address but never connects. If I manually turn hotspot off and on again with the quick menu toggle it connects straight away. Any thoughts?
Sent from my Nexus 6P using Tapatalk
glenb83 said:
The task works well, except that when the hotspot turns on, the radio won't connect, it gets stuck on obtaining IP address and Los to connecting, obtaining IP address but never connects
Click to expand...
Click to collapse
Hrmm...I've not come across that one. If I had to guess, maybe one is trying to do something before the other is totally ready? The only thing I can think to try is experiment with a 1 or 2 second delay in different places, like a 'wait 1 sec' in between the bluetooth connecting and the hotspot turning on
Andromeda_Station said:
Hrmm...I've not come across that one. If I had to guess, maybe one is trying to do something before the other is totally ready? The only thing I can think to try is experiment with a 1 or 2 second delay in different places, like a 'wait 1 sec' in between the bluetooth connecting and the hotspot turning on
Click to expand...
Click to collapse
That sounds like a good plan, I'm not sure how to add in a delay though? If I edit the task of turning on the hotspot I get the option of adding an if variable, but not sure how to put in a delay...
Sent from my Nexus 6P using Tapatalk
glenb83 said:
That sounds like a good plan, I'm not sure how to add in a delay though? If I edit the task of turning on the hotspot I get the option of adding an if variable, but not sure how to put in a delay...
Click to expand...
Click to collapse
Action > Task > Wait
What Vagelis said^
Once the 'wait' is in your task you can 'grab' it by the right edge of the screen and drag it up or down, wherever you need it.
i looks like tasker does something wierd in Android 10, this worked always in Android 8 or 9 but now it doesnt.
when i get connected with my radio tasker turns on Tether but never turns is off when i disconnect bluetooth from my car.
can someone help me out tho think about a sulotion?
Mark ter Grote said:
i looks like tasker does something wierd in Android 10, this worked always in Android 8 or 9 but now it doesnt.
when i get connected with my radio tasker turns on Tether but never turns is off when i disconnect bluetooth from my car.
can someone help me out tho think about a sulotion?
Click to expand...
Click to collapse
Is the exit task actually running? What does the run log show?
This could be a device issue on A10 as well. If tasker is getting killed, it can't run. Take a look at https://dontkillmyapp.com/ for what ever device you have.
It also helps to post the description of your profile when asking for help. There is a sticky post in this forum with instructions.

Categories

Resources