What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

What have YOU done with Tasker?

OK, I see what you're trying to do. Question: I'm setting up these profiles because I have very poor battery life so am trying to not use services like BT and WiFi when not needed. If I set up this BT scanning profile, do you think it would actually save any battery juice over just leaving BT on whenever I wasn't connected to wifi? If yes, could you give me walkthru on how to set up the scanning profile?
Thanks.
 
OK, I see what you're trying to do. Question: I'm setting up these profiles because I have very poor battery life so am trying to not use services like BT and WiFi when not needed. If I set up this BT scanning profile, do you think it would actually save any battery juice over just leaving BT on whenever I wasn't connected to wifi? If yes, could you give me walkthru on how to set up the scanning profile?
Thanks.

That depends on how often you are connected to wifi. You could also have it not search for a blue tooth connection when you are home. Or only when you disconnect from the car and home is not set. That would probably be best.

Profile one
Context - %HOME = 0
Context - Disconnected from car's bluetooth specifically.
Set %BTREADY to 1
Exit - Set %BTREADY to 0

Profile 2
Context - From time (when you wake up) till (when you go to bed) repeat every 5 minutes
Context - %BTREADY = 1
Tun Bluetooth On
wait 30 second
Turn Bluetooth off if %BLUEC = 0

Profile 3
Context - Bluetooth Connected
Set %BLUEC to 1
Exit - Set %BLUEC to 0
 
Last edited:
Am going to try this out today and I'm going to be away from my wifi at home for a good part of the day. I work from home, so usually I'm connected to wifi for a good portion of the day. I guess when I'm home alot would be better battery saving then when I'm out, right?

Will let you know how the BT scanning profiles work later today. Thank you so much for your help!
 
Ok Neb, something is up. When I leave my house and my phone disconnects from my network, My Wifi will not turn off unless I do it manually or I leave my "home" area. If i'm connected to cell sites near my house but not close enough to connect to my router I have to shut wifi off manually. After that it seems to work right (turn on screen, wifi scans then turns off when it doesn't connect). What do you think the issue is? I think it might be that the wifi on profile is not going to it's exit task when I'm not near my wifi.
 
Ok Neb, something is up. When I leave my house and my phone disconnects from my network, My Wifi will not turn off unless I do it manually or I leave my "home" area. If i'm connected to cell sites near my house but not close enough to connect to my router I have to shut wifi off manually. After that it seems to work right (turn on screen, wifi scans then turns off when it doesn't connect). What do you think the issue is? I think it might be that the wifi on profile is not going to it's exit task when I'm not near my wifi.

Make sure you have the latest incarnation of the profile thats on the wiki with the exit task on the wifi near profile.

If you do then I don't know but I have an idea on how to fix it that I will test tonight
 
Ok Neb, something is up. When I leave my house and my phone disconnects from my network, My Wifi will not turn off unless I do it manually or I leave my "home" area. If i'm connected to cell sites near my house but not close enough to connect to my router I have to shut wifi off manually. After that it seems to work right (turn on screen, wifi scans then turns off when it doesn't connect). What do you think the issue is? I think it might be that the wifi on profile is not going to it's exit task when I'm not near my wifi.

Make sure you have the latest incarnation of the profile thats on the wiki with the exit task on the wifi near profile.

If you do then I don't know but I have an idea on how to fix it that I will test tonight

Think I got the newest, i'll double check and maybe redo the profiles, thanks and i'll be eagerly awaiting your possible fix.:)
 
That depends on how often you are connected to wifi. You could also have it not search for a blue tooth connection when you are home. Or only when you disconnect from the car and home is not set. That would probably be best.

Profile one
Context - %HOME = 0
Context - Disconnected from car's bluetooth specifically.
Set %BTREADY to 1
Exit - Set %BTREADY to 0

Profile 2
Context - From time (when you wake up) till (when you go to bed) repeat every 5 minutes
Context - %BTREADY = 1
Tun Bluetooth On
wait 30 second
Turn Bluetooth off if %BLUEC = 0

Profile 3
Context - Bluetooth Connected
Set %BLUEC to 1
Exit - Set %BLUEC to 0[/QUOTE]

So I tried this today, but ran into some problems:
The first profile you suggested above I set up as follows:

Profile 1
Context: Not BT Connected (specfically to my car named BT)
Context: Variable Set: %HOME Value 0
Task: Variable Set: %BTREADY set to 1
**You wanted to set up an exit task here, but I'm not given that option. Have I set something up wrong?

These are the way I set up Profiles 2 and 3. Do they look OK to you?

Profile 2
Context:From 0800-2300 repeat every 5 mins
Context: Variable set %BTREADY Value 1
Task: Set Bluetooth On
Task: Wait 30 seconds
Task: Set Bluetooth Off if %BLUEC matches 0

Profile 3
Context: Bluetooth Connected
Task: Variable Set %BLUEC to 1
Exit Task: Variable Set %BLUEC to 0
** I am unsure of what "[/QUOTE]" means in your profile above**
Could you explain??

Obviously, I'm pretty new at this, so your help is *really* appreciated. Thanks.
 
That depends on how often you are connected to wifi. You could also have it not search for a blue tooth connection when you are home. Or only when you disconnect from the car and home is not set. That would probably be best.

Profile one
Context - %HOME = 0
Context - Disconnected from car's bluetooth specifically.
Set %BTREADY to 1
Exit - Set %BTREADY to 0

Profile 2
Context - From time (when you wake up) till (when you go to bed) repeat every 5 minutes
Context - %BTREADY = 1
Tun Bluetooth On
wait 30 second
Turn Bluetooth off if %BLUEC = 0

Profile 3
Context - Bluetooth Connected
Set %BLUEC to 1
Exit - Set %BLUEC to 0

So I tried this today, but ran into some problems:
The first profile you suggested above I set up as follows:

Profile 1
Context: Not BT Connected (specfically to my car named BT)
Context: Variable Set: %HOME Value 0
Task: Variable Set: %BTREADY set to 1
**You wanted to set up an exit task here, but I'm not given that option. Have I set something up wrong?

These are the way I set up Profiles 2 and 3. Do they look OK to you?

Profile 2
Context:From 0800-2300 repeat every 5 mins
Context: Variable set %BTREADY Value 1
Task: Set Bluetooth On
Task: Wait 30 seconds
Task: Set Bluetooth Off if %BLUEC matches 0

Profile 3
Context: Bluetooth Connected
Task: Variable Set %BLUEC to 1
Exit Task: Variable Set %BLUEC to 0
** I am unsure of what "/QUOTE" means in your profile above**
Could you explain??

Obviously, I'm pretty new at this, so your help is *really* appreciated. Thanks.

The [/QUOTE] was a mistake with the formatting of the forums.

For profile one don't use the event variable set, use the state variable value, then you can get an exit task. When events trigger they just run through the commands so there is no reason for an exist task. States can exist over time so they can have exit tasks.

Other than that it looks good.
 
Last edited:
Ok Neb, something is up. When I leave my house and my phone disconnects from my network, My Wifi will not turn off unless I do it manually or I leave my "home" area. If i'm connected to cell sites near my house but not close enough to connect to my router I have to shut wifi off manually. After that it seems to work right (turn on screen, wifi scans then turns off when it doesn't connect). What do you think the issue is? I think it might be that the wifi on profile is not going to it's exit task when I'm not near my wifi.

Make sure you have the latest incarnation of the profile thats on the wiki with the exit task on the wifi near profile.

If you do then I don't know but I have an idea on how to fix it that I will test tonight

Think I got the newest, i'll double check and maybe redo the profiles, thanks and i'll be eagerly awaiting your possible fix.:)

I ran into your issue for the first time today. I didn't have time to test my change so I will try again tonight.
 
Ok I think it's working correctly. When I'm home my connected, home, a wifi on profiles are on. When I'm away from my cell near sites I have no active profiles, and when I'm near my cell sites but not connected to my Wifi I have the home profile on and it looks like it scans but shuts off if it's not in range of my router (haven't really tesed this too much yet). This seems right, correct me If something isn't.

Now it just seems that my Wifi off profile is never active, please let me know if this is how it should be.

It should only activate when you lose your connection to your router for 30 seconds and then should disable itself again.

My Wifi Off always has a red X in the list in tasker. Not sure if that is normal or not. Everything else has a green checkmark
 
Ok I think it's working correctly. When I'm home my connected, home, a wifi on profiles are on. When I'm away from my cell near sites I have no active profiles, and when I'm near my cell sites but not connected to my Wifi I have the home profile on and it looks like it scans but shuts off if it's not in range of my router (haven't really tesed this too much yet). This seems right, correct me If something isn't.

Now it just seems that my Wifi off profile is never active, please let me know if this is how it should be.

It should only activate when you lose your connection to your router for 30 seconds and then should disable itself again.

My Wifi Off always has a red X in the list in tasker. Not sure if that is normal or not. Everything else has a green checkmark

That is normal, unless it is deactivating your wifi.
 
Do you want the sound to stop when you clear the notification?

Yes. I am on call daily for work, and when they call, I need to call them back in 20 minutes. But if my phone is on ring, and I dont hear it, I never know to go look to see if I have a missed call.

Here you go
New - Name it "Missed Call" - Ok - Event - Phone - Missed Call - Done
New Task - ok - "+" - Variable - Variable Set - %MCCLEAR to 0 - Done
"+" - Media - Music Play - Pick your sound - Done
"+" - Tasker - Wait - 2 minutes - Done
"+" - Tasker - Stop - If %MCCLEAR matches 1 - Done
"+" - Tasker - Goto Action - 2 - Done - Done

New - Name it "Missed Call Clear" - Ok - Application - Contacts - Done
New Task - Ok - "+" - Variable - Variable Set - %MCCLEAR to 1 - Done - Done - Apply

Thanks. Will let you know how it works!
 
I created this for myself. When I put the phone on my desk, shelf, etc. the phone won't vibrate. When I put it in my pocket however, it will.

Task: PhoneFlat0
-----------------
Variable|Variable Clear|%PHONEFLAT

Task: PhoneFlat1
-----------------
Variable|Variable Set|%PHONEFLAT To 1|Do Maths

Task: VibrateOn
-----------------
Audio|Vibrate On Ringer|On
Audio|Vibrate On Notify|On

Task: VibrateOff
-----------------
Audio|Vibrate On Ringer|Off
Audio|Vibrate On Notify|Off


Profile: PhoneNotFlat
----------------------
Context: State|Not Orientation Face Up|Invert
Context: State|Not Orientation Face Down|Invert
EnterTask: PhoneFlat0
ExitTask: PhoneFlat1

Profile: Vibrate
----------------------
Context: State|Variable Value|%PHONEFLAT|Maths:Equals|0
EnterTask: VibrateOn
ExitTask: VibrateOff


Important: Assign a higher priority to the profile PhoneNotFlat to make sure this is determined before the Vibration is set.

Of course you may make a few tweaks. For example, I use PhoneNotFlat for other things too, so maybe you don't need the "Do Maths". You also might not need the exit tasks; I just put them in to cover myself.
 
Last edited:
Ok Neb, something is up. When I leave my house and my phone disconnects from my network, My Wifi will not turn off unless I do it manually or I leave my "home" area. If i'm connected to cell sites near my house but not close enough to connect to my router I have to shut wifi off manually. After that it seems to work right (turn on screen, wifi scans then turns off when it doesn't connect). What do you think the issue is? I think it might be that the wifi on profile is not going to it's exit task when I'm not near my wifi.

Make sure you have the latest incarnation of the profile thats on the wiki with the exit task on the wifi near profile.

If you do then I don't know but I have an idea on how to fix it that I will test tonight

Think I got the newest, i'll double check and maybe redo the profiles, thanks and i'll be eagerly awaiting your possible fix.:)

Ok I didn't have an issue this morning with WIFI staying on. This is going to seem a bit ridiculous...

On you Wifi Off profile:
Wait 1 minute until %WIFIC~0
Wifi Off
Profile Status Home to off
Profile Status Wifi Near Home to off (this is the label I use yours might be different)
Variable set %HOME to 0
Wifi Off (yes again)
Wait 10 seconds
Profile Status Home to On
Profile Status Wifi Near Home to On

Profile Statis Wifi Off to Off

The bold is new. If you need help programming this let me know. I want to run it for a few days to ensure it works before I update the wiki.
 
Make sure you have the latest incarnation of the profile thats on the wiki with the exit task on the wifi near profile.

If you do then I don't know but I have an idea on how to fix it that I will test tonight

Think I got the newest, i'll double check and maybe redo the profiles, thanks and i'll be eagerly awaiting your possible fix.:)

Ok I didn't have an issue this morning with WIFI staying on. This is going to seem a bit ridiculous...

On you Wifi Off profile:
Wait 1 minute until %WIFIC~0
Wifi Off
Profile Status Home to off
Profile Status Wifi Near Home to off (this is the label I use yours might be different)
Variable set %HOME to 0
Wifi Off (yes again)
Wait 10 seconds
Profile Status Home to On
Profile Status Wifi Near Home to On

Profile Statis Wifi Off to Off

The bold is new. If you need help programming this let me know. I want to run it for a few days to ensure it works before I update the wiki.

It looks like more then just the bold is new your last wifi off had a wait of 30 seconds.

If you could type out the steps for this like the Wiki, I'd appreciate it. If it's just changing the Wifi off profile I'll delete it and make a new one.

Sorry, this app is just confusing to me.
 
Back
Top