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?

Hey Guys...I know somewhere in this thread there was something about having the brightness turn down when the phone is docked then back to normal when undocked...but for the life of my I can't find the post where i read it. I checked the Tasker Wiki but I didn't see it there.

Could someone post the steps for this? I know it's simple compared to what many of you are doing with Tasker...

Thanks
 
Having an issue with a Task I have set up for when I dock it and remove...

I want to have it set up so that the screen always stays on (avoiding the dock screen) but dims all the way at night and stays bright when I'm at work (I use the dock at both places)

Right now, I have the work one set up as the following:

Enter:
Stay on with AC or USB Power
Auto Brightness Off
Display Brightness 236

Exit:
Auto Brightness On
Go Home

Bedside:

Enter:
Stay on with AC or USB Power
Auto Brightness Off
Display Brightness 20

Exit:
Auto Brightness On
Go Home

However, it doesn't look like either Task is picking up on both turning Auto Brightness off and the Display Brightness. Any suggestions?

What are your conditions and what is "Go Home"


Hope this helps, if you need more help just ask.
 
Having an issue with a Task I have set up for when I dock it and remove...

I want to have it set up so that the screen always stays on (avoiding the dock screen) but dims all the way at night and stays bright when I'm at work (I use the dock at both places)

Right now, I have the work one set up as the following:

Enter:
Stay on with AC or USB Power
Auto Brightness Off
Display Brightness 236

Exit:
Auto Brightness On
Go Home

Bedside:

Enter:
Stay on with AC or USB Power
Auto Brightness Off
Display Brightness 20

Exit:
Auto Brightness On
Go Home

However, it doesn't look like either Task is picking up on both turning Auto Brightness off and the Display Brightness. Any suggestions?

What are your conditions and what is "Go Home"


Hope this helps, if you need more help just ask.


Thanks Neb...but it doesn't include the steps...as what to menu option to click (State, event, etc...what task, etc...) Thanks again
 
What I did is... I also have a "Home" profile that is entered when I connect my wifi network. When this happens I set a variable (HOME=1). Then in my Near Home exit, I don't turn off wifi if HOME=1. In other words, if I am connected to my WiFi, I am at home. If I am at home, there is no way I can't also be near home so don't turn off WiFi. Seems to work great now.

This is what I wrote and what we are using
Low Battery Usage Wifi Enableing Profile Using Wifi Near - Tasker Wiki

OK. Implemented this. But...

I drove away from home, and came back and everything seemed to work.

However, the next time I went out it had a problem. About .5 miles from my house, the "Home" was on (which I would expect because of Cell Near). What I didn't expect is that "WiFi On for Home" came on, which turned WiFi on. I didn't expect this .5 miles away. It really detected my router that far away?

But the real issue was, since the "WiFi Off" profile status was off, and it couldn't actually connect to my router that far away, there was nothing to turn WiFi off again.

So what I did was change the WiFi Near to require a higher signal strength. While this will fix most cases, if I happen to drive down a nearby street, but never connect, it will be in the same state.

Ideas? I double checked that I entered everything, and if I missed something I am not seeing it.
 
Last edited:
What I did is... I also have a "Home" profile that is entered when I connect my wifi network. When this happens I set a variable (HOME=1). Then in my Near Home exit, I don't turn off wifi if HOME=1. In other words, if I am connected to my WiFi, I am at home. If I am at home, there is no way I can't also be near home so don't turn off WiFi. Seems to work great now.

This is what I wrote and what we are using
Low Battery Usage Wifi Enableing Profile Using Wifi Near - Tasker Wiki

OK. Implemented this. But...

I drove away from home, and came back and everything seemed to work.

However, the next time I went out it had a problem. About .5 miles from my house, the "Home" was on (which I would expect because of Cell Near). What I didn't expect is that "WiFi On for Home" came on, which turned WiFi on. I didn't expect this .5 miles away. It really detected my router that far away?

But the real issue was, since the "WiFi Off" profile status was off, and it couldn't actually connect to my router that far away, there was nothing to turn WiFi off again.

So what I did was change the WiFi Near to require a higher signal strength. While this will fix most cases, if I happen to drive down a nearby street, but never connect, it will be in the same state.

Ideas? I double checked that I entered everything, and if I missed something I am not seeing it.


I have an idea, I am going to use the WIFIC variable in an exit task for the wifi near profile and see if that helps clear things up. I don't understand yet why it stays on, the wifi off command should be killing it and according to the Tasker website the toggle option of the wifi near context should only enable wifi on for a scan. I have also posted this issue at the official tasker google group so hopefully I hear something out of there.
 
I have an idea, I am going to use the WIFIC variable in an exit task for the wifi near profile and see if that helps clear things up. I don't understand yet why it stays on, the wifi off command should be killing it and according to the Tasker website the toggle option of the wifi near context should only enable wifi on for a scan. I have also posted this issue at the official tasker google group so hopefully I hear something out of there.

Well the "WiFi On For Home" would turn WiFi On if "Home=1" and it detects my router. Normally this would be fine if I am approaching home as it would subsequently connect. In this case I was driving away.

Actually, the exact sequence of events would have been I drove away, it disconnected and WiFi Off kicked in to shut it down. Then at .5 miles I noticed the "WiFi On For Home" kicked in. But of course, "Connected?" could never activate (and therefor turn on "WiFi Off").

What I ended up doing was what you suggested... In the "WiFi for Home" I put a WiFi Off if WIFIC = 0. That way when either I am no longer near the WiFi or Cell, it will still shut down.

This is pretty much what I was doing for my previous method using Location. Basically, I could be near home, but not close enough to connect (i.e., Driving through the area).

EDIT: I am sure my neighbors (and family) would have thought me crazy had they been watching. I am outside in 35 degree weather, walking around with my phone trying to determine how far away from my house it could detect my WiFi reliably. lol
 
I have an idea, I am going to use the WIFIC variable in an exit task for the wifi near profile and see if that helps clear things up. I don't understand yet why it stays on, the wifi off command should be killing it and according to the Tasker website the toggle option of the wifi near context should only enable wifi on for a scan. I have also posted this issue at the official tasker google group so hopefully I hear something out of there.

Well the "WiFi On For Home" would turn WiFi On if "Home=1" and it detects my router. Normally this would be fine if I am approaching home as it would subsequently connect. In this case I was driving away.

Actually, the exact sequence of events would have been I drove away, it disconnected and WiFi Off kicked in to shut it down. Then at .5 miles I noticed the "WiFi On For Home" kicked in. But of course, "Connected?" could never activate (and therefor turn on "WiFi Off").

What I ended up doing was what you suggested... In the "WiFi for Home" I put a WiFi Off if WIFIC = 0. That way when either I am no longer near the WiFi or Cell, it will still shut down.

This is pretty much what I was doing for my previous method using Location. Basically, I could be near home, but not close enough to connect (i.e., Driving through the area).

EDIT: I am sure my neighbors (and family) would have thought me crazy had they been watching. I am outside in 35 degree weather, walking around with my phone trying to determine how far away from my house it could detect my WiFi reliably. lol

What's weird though is that when I just drive away it is staying on for me and I didn't see that before because I had a wifi off command in my dock profile.

Also if it doesn't connect I was under the impression that it would still scan when the scan interval came up to ensure that it was still within range of the router. And apparently that is not happening.
 
Also if it doesn't connect I was under the impression that it would still scan when the scan interval came up to ensure that it was still within range of the router. And apparently that is not happening.

Well it does... But "WiFi Off" has it's Profile Status set to "Off" until "Connected?" is entered. No connection... the "WiFi Off" profile stays off, and that was the only thing to turn off WiFi on the phone.

For some reason, my phone is detecting my router much further away than I would have suspected. Bumping up that Signal Strength setting on the WiFi near will likely also eliminate the problem?
 
Also if it doesn't connect I was under the impression that it would still scan when the scan interval came up to ensure that it was still within range of the router. And apparently that is not happening.

Well it does... But "WiFi Off" has it's Profile Status set to "Off" until "Connected?" is entered. No connection... the "WiFi Off" profile stays off, and that was the only thing to turn off WiFi on the phone.

For some reason, my phone is detecting my router much further away than I would have suspected. Bumping up that Signal Strength setting on the WiFi near will likely also eliminate the problem?

Worth a shot but my phone doesn't see my router some of the time in my bedroom let alone down the street.
 
Worth a shot but my phone doesn't see my router some of the time in my bedroom let alone down the street.

I have an boosted antenna because my bedroom is in a signal dead zone. All kinds of signal get lost in my bedroom. Cell... WiFi... cordless phone, you name it. I was able to walk 200 yards from my house and WiFi Near was still kicking in (but it couldn't connect). Apparently, people in space are seeing my SSID. ;-)
 
Nice to know I'm not the only one with this "wifi on" problem. Can someone post the full updated walkthrough or edit the Tasker wiki?

As soon as I found this profile I set it up for 3 "home" locations and now I'm so lost as to what works and what doesn't, so it'd be nice to start fresh.

Thanks.
 
Nice to know I'm not the only one with this "wifi on" problem. Can someone post the full updated walkthrough or edit the Tasker wiki?

As soon as I found this profile I set it up for 3 "home" locations and now I'm so lost as to what works and what doesn't, so it'd be nice to start fresh.

Thanks.

Right now I am still testing the solution. This morning I did see the issue again.

The wiki is update minus the changes I am testing.

Edit: I forgot to test the %WIFIC variable addition that I mentioned above and will test it again tomorrow morning when I leave the house.
 
Last edited:
Back
Top