solved- cell near switches profile on and off - Tasker Tips & Tricks

Hi. I have made a location based profile that uses my location to to switch on do not disturb on my OnePlus 3t but want to switch it to cell near as it is supposedly uses less battery. The profile works but it seems like the cell tower it uses isn't strong enough. Is there a way of adding a second cell if the scanning shows one or do I need to scan for longer moving about so more is picked up?

From the Tasker User guide - location without tears:
Create a*state context, select*Phone*then*Cell Near. Click Update and walk around a bit to scan for cell towers nearby.
About
Uses information about the cell towers the phone uses for telephony to record and match a location.
When the display is off, frequency of checks is controlled by*Prefs / Monitor / Display Off All Checks.
If your profile keeps deactivating, go back to the Cell Near state and click the magnifying glass icon to check for cells you may have missed in your scan.
Click to expand...
Click to collapse

That is what I have done but the profile switches off all the time. It seems like the tower my phone detect isn't the right one. Tried two different scans with the same result. (The scans identifies different signals but neither seems to be able to run the profile)

Eggstones said:
That is what I have done but the profile switches off all the time. It seems like the tower my phone detect isn't the right one. Tried two different scans with the same result. (The scans identifies different signals but neither seems to be able to run the profile)
Click to expand...
Click to collapse
Did you do the second part, involving the magnifying glass? If you're bouncing off different towers while moving throughout your home, all of the towers will need to be selected.

ktmom said:
Did you do the second part, involving the magnifying glass? If you're bouncing off different towers while moving throughout your home, all of the towers will need to be selected.
Click to expand...
Click to collapse
Sorry I missed that. I'll try that and see what happens.
The profile also seems to deactivate when the screen goes off but not 100% about that

It seems to have sorted it!

Every time it stops working in have to add a new cell tower but that's fine as it works!!!
Have about ten now for this work based profile.

Related

HTC Home weather plugin

What is the deal with the weather plugin?
each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
bradwcamp said:
What is the deal with the weather plugin?
each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
Click to expand...
Click to collapse
Sorry to hijack this thread but......
Where did you find the download weather data automatically setting? I went thru the whole machine and still couldn't find it! And obviously, it doesn't auto update........
Many thanks.
mlai said:
Sorry to hijack this thread but......
Where did you find the download weather data automatically setting? I went thru the whole machine and still couldn't find it! And obviously, it doesn't auto update........
Many thanks.
Click to expand...
Click to collapse
When you click on the city name to select another city, there will be an settings option under the rigth softkey when you have the list of cities in front of you
Moaske said:
When you click on the city name to select another city, there will be an settings option under the rigth softkey when you have the list of cities in front of you
Click to expand...
Click to collapse
Thanks! Actually found it right after I posted....
Yep...
bradwcamp said:
What is the deal with the weather plugin? each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
Click to expand...
Click to collapse
That's what the "download weather data automatically" setting will do...it will attempt to get an internet connection and update the weather when (and IF) you click on the Weather Plugin. The thing is, it will want to do this every hour from the previous weather update.
TEC
And what about disconnect? Is it possible to auto-disconnect after the weather foreground is downloaded?
It's very annoying if you don't have a data plan or if you want to save battery to have to do a manual disconnect.
I want that too...
Yea...I've been looking for a way to AUTO DISCONNECT as well.
Anyone have any ideas??
AH…
I guess I was looking for more finite control over this. Ideally I don’t want to see “attempting to download data” when I click the plug-in. I would rather it just download automatically in the background instead of the plug-in having to check the web at the moment I hit the icon.
Maybe I need to hack the reg to leave GPRS always on?
Hi
By design the data connection remains connected for most Windows Mobile 6 devices, it doesn't mean data is being passed or power consumption is increased.
An article here explains about data connections remaining "On".
http://blogs.msdn.com/windowsmobile/archive/2006/07/14/666203.aspx
Regards
Phil
PhilipL said:
Hi
By design the data connection remains connected for most Windows Mobile 6 devices, it doesn't mean data is being passed or power consumption is increased.
An article here explains about data connections remaining "On".
http://blogs.msdn.com/windowsmobile/archive/2006/07/14/666203.aspx
Regards
Phil
Click to expand...
Click to collapse
Interesting
Also, Mobile Operators requested it. It was more expensive for them to be constantly creating and tearing down connections than to just do it once. Finally, staying connected enabled us to develop a fast "push email" client that relied on the device holding an IP address.
Click to expand...
Click to collapse
What about my battery life?
Just having a data connection shouldn't affect your battery life. Most of the time, the device isn't doing anything with that connection. It just sits there idle. If you're sending a lot of data over the connection, though, that will definitely impact your battery life. Unfortunately, the arrows don't really tell you whether you're sending data or not (though I've seen devices that animate the arrows while data is being transferred).
Click to expand...
Click to collapse
And a interesting quote from a user
In GSM, when you are constantly attached to GPRS, your battery does not spend more energy because there is absolutely no communication between the network and device if there is no data transfer (however there is still periodical normal GSM communication). Only difference is if you are in motion and changing cells in time. Network keeps track of your GPRS connection via "routing area" which consists of one or group of cells. When you switch to cell that belongs to adjacent routing area, there is a, very short, "routing area update" exchange of information between phone and network, regarding GPRS only. But that is very small power consumption.
The same thing is with UMTS. The whole goal of any network is to bring communication traffic to minimum. But, with UMTS, channel coding and transmitting technique is much more complex than with GSM. You are attached to multiple cells at the same time and there is very, very, very strict phone transmit power control. That means that phone must do a lot more signal measurements from group of cells (much more frequent than GSM). It could possibly happen, if you reserved more channels for packet data transfer, that a lot of signalling happens. However, there is a inactivity timeout here which puts you in standby mode as in GSM and then you do not spend battery for packet data at all. But this is all complicated, it depend of many factors: signal strength, network settings, number of users in your location area, etc. .. If the network signal is weak, than any phone in any type of network will eat up your battery.
Click to expand...
Click to collapse
I'm going to try this theory out for a couple of days
if you were to read the manual that came with the phone it states that this is exactly how the weather tab works. If auto update is enabled it will automatically update the forecast every time you touch the weather tab.
Honestly it seems a little silly to me. I have auto update turned off and just tape the last updated time at the top to manually update it.
bradwcamp said:
AH…
I guess I was looking for more finite control over this. Ideally I don’t want to see “attempting to download data” when I click the plug-in. I would rather it just download automatically in the background instead of the plug-in having to check the web at the moment I hit the icon.
Maybe I need to hack the reg to leave GPRS always on?
Click to expand...
Click to collapse
Back to your point. I am looking for the same thing you are. my data connection is always on because i am using push email but i still see the attempting to download after a certain period of time.
flexte said:
Back to your point. I am looking for the same thing you are. my data connection is always on because i am using push email but i still see the attempting to download after a certain period of time.
Click to expand...
Click to collapse
We are on the same page flexte, but it would appear that as of yet no one has figured out just exactly how to tweak the plugin to do what we want. As Jason Lee mentioned it is working like the Manual says it should. Hopefully this will eventually get tweaked!
has anyone figured how to get rid of the "attempting to downlad data" message yet?

Battery life?

Dear all,
With a small 900mAh battery, What is the real world usage time? I mean making up to 2 hours of calls per day does it last at least 12hours before the need to recharge battery and this is assuming that 3G is on all the time. Thanks.
French network technical support say 60 hours with GPS on !!!!
I think it's joke.
Well, I've been watching the battery life on mine for a couple of days now in a reasonably scientific way and here are the early rather speculative results:
With just GPRS and nothing else on and very light use the battery drops from 100% to 80% very fast - less than an hour of light use.
Leaving it running on these settings will run it down to about 20% by the end of the working day - the drain seems to ease off aftert he first sharp drop
Powering up wifi and music for short time doesn't seem to make much difference.
Turning 3G on also doesn't seem to make the difference you would expect either.
So basically I would feel the need to take a charger with me if I left the house for the day, which will probably mean that I have to send the thing back. I've seen the coolsmartphone video review and mine isn't performing anything like that one - I would say I am loosing charge at about twice the rate.
Now the only issues that could be at work here is that I live in a lousy reception area. But could this really make such a difference?
What I would find really useful is a list of other tweaks you can make to cut power use so I can try them out. But at the end of the day it's looking like too many compromises would be needed to make this thing practical for me.
Reception would make a reasonable difference if normal network messages are being sent/received (general scans of BCCH channels, authentication with the network) - i.e. the radio isnt being used for data/voice, and only to keep registered to the network. But during those times the rest of the phone would also be in low power mode, so i would say an absolute max of 5 to 10%.
It would make a significant difference if you are transmiting data/making calls in a low reception area. I would say easily upto 20%.
It sounds to me like if you plan to use the phone much at all during the day you need a second battery. Then that turns into the hassle of how to charge the second battery every night, and i bet the desktop stand can't charge a second battery
My conclusions exactly. Impractical to say the least.
The puzzle then is why my last phone, a Nokia E51 with a 1050 mAh battery, under the same conditions, managed to last 2-3 days?
Is WM6 really that much of a power grabber compared to S60?
moonlanding said:
My conclusions exactly. Impractical to say the least.
The puzzle then is why my last phone, a Nokia E51 with a 1050 mAh battery, under the same conditions, managed to last 2-3 days?
Is WM6 really that much of a power grabber compared to S60?
Click to expand...
Click to collapse
Short answer - yes.
There's all these power saving features in new app processors like being able to leave the screen on while powering down the main CPU. You can use an interupt from the radio to wake up the processor etc.
Windows doesnt support half of these features, thats why find windows phones save all their power by turning the screen off. Other phones with screens just as big are alot less regimental about turning the screen off at any opertunity.
I was involved in a project once to design a smartphone and it was a really surprising how much difference there was between the windows version they suplied and an ARM version of linux.
I have HTC Touch Crouse and i have problems with battery (GPRS always on and Bluetooth) ... now with Diamond i have VERY BIG Problem. Battery Keeps less than one day ...
The experiment continues.
Disabling "GPRS auto attach" in Advanced Configuration Tool has made a big difference - still 90% after 6 hours now.
Now this is a surprise to me because I thought that you did this when you set the network seek to GSM only and not hunt for 3G. Or maybe I'm getting my GPRSs and GSMs mixed up...
Next step - leave this setting in place and turn push back on. Watch this space.
GSM digitises your voice and slots it into a time divided channel on a frequency, and marks it as voice. On the network side, it converts this back to voice and sends it on the PSTN network (for a landline call).
GPRS takes data you want to send and inserts it directly in the same time divided channel and marks it as data. On the network side the network transfers this onto the internet (or other network) through the GGSN (its essentially a router).
So GSM and GPRS use the same technology. Setting the phone to GSM only, just stops it connecting to 3g networks.
Anyway, when you turn your phone on, the tower tells it its capabilities eg GPRS. This give you a GPRS available icon. When you actually want to send data, you need to 'attach'. This is like logging into the network.
To do that you need to open a data channel and send your login details.
Normal phones will do that i.e. attach, and then go idle. The network will only log them off if they move to a new cell and do not reauthenticate.
Anyway, if you are not attached:
- When you send data, the phone will need to attach first (milliseconds delay) - unoticable.
- You will NOT have an IP address so incoming data can not reach you.
If you use pop3 with regular pull of email, it'll make less difference the more frequently you pull your email - because every time you do, the phone will attach.
If you use PUSH email, it'll make no difference because you have to remain attached (have an ip address) for push to work.
I'm sure most people didn't care to know all that but i'm sure some did!
Wow. Thanks. Impressive.
Let me try to summarise. With auto attach off the phone isn't trying to attach to the 3G network all the time which saves power. But it is also disconnected from GPRS and data networks. However this won't affect push email because it will attach when it needs to, ie when the network tells it that there is mail or I send something out. Is this right?
What about internet? Will the phone automatically attach to the data netowrks when I fire up Opera? Presumably to attach to 3G I will need to reset to automatically seek WCDMA.
moonlanding said:
Wow. Thanks. Impressive.
Let me try to summarise. With auto attach off the phone isn't trying to attach to the 3G network all the time which saves power. But it is also disconnected from GPRS and data networks. However this won't affect push email because it will attach when it needs to, ie when the network tells it that there is mail or I send something out. Is this right?
What about internet? Will the phone automatically attach to the data netowrks when I fire up Opera? Presumably to attach to 3G I will need to reset to automatically seek WCDMA.
Click to expand...
Click to collapse
You're still a bit confused i think. Ok on a phone you have voice or data. Data covers mail, internet, weather updates etc etc, voice covers phone calls.
There are two distinct protocols here, and we need to talk about them diferently...
GSM:
With GSM calls are sent over 1 timeslot and singalled as voice.
To make a call you need to have a signal, that takes a very short few messages which are sent every 20 minutes or so, or if you move around between towers. The Radio in the phone can do this all by itself without waking the phone up.
If you want to send ANY data (emails, internet, anything) you need to use GPRS. GPRS uses the same channels but inserts data into them instead of voice. Before you can send or receive any data you need to 'login' to the network. To login you need to actually open the channel and make a connection. Logging in is called 'ataching'. When you attach you get an IP address and the network can send stuff to you and u can send stuff to the network. Attaching needs to wake up the phone.
Once attached the phone can go into a sleep mode saving power, but any data send or received will wake up the phone.
UMTS/3G
UMTS is different in that everything is sent code divided. There is no 'login' or attach as such. In this mode all your voice gets converted to data and sent across.
---
With auto attach on:
If you use 3G mode, every time you switch between a 3G and GPRS area the phone will atach (GPRS) again, this will drain power.
Every time you move out of GPRS and come back into GPRS the phone will attach, even if you have nothing to send.
With autoattach off:
The phone will only attach if it has something to send AND is on GPRS (no 3G available or 3g turned off)
The upside is that you save power when you move between cells. The downside is that you can't receive any data from the network untill you decide to attach.
For push email for example you would never end up detaching as it would hold the connection open.
Anyway i hope that clear, but i'm quite sleepy so it might not make any sense lol
That makes sense to me. When I get my Touch Diamond, I'm definitely turning 'GPRS auto attach' off, because I don't think I need it on.
someone1234 that`s really useful info.I guess autoattach off is the best option for me too. WHEN the phone arrives.
Thanks again senior1234. I'm getting there. But this is more complex that I thought so I've gone back and checked what really makes a difference to the battery life.
The big difference for me is having the phone band set to GSM only (phone, options). Disabling auto attach makes a difference but not as much as I thought. I had changed both of them at the same time, thinking that they were more or less the same thing. Sorry folks. Very unscientific.
But if you feel like trying these bear in mind that I don't move between cells very much and have awful reception. I'll leave it to others to explain whether this is important.
HTC told me that with the screen on full brightness and phone turned on the GPS would only last about 2 hours befre the battery died, looks like we'll need the extended battery or several normal ones!
moonlanding said:
Thanks again senior1234. I'm getting there. But this is more complex that I thought so I've gone back and checked what really makes a difference to the battery life.
The big difference for me is having the phone band set to GSM only (phone, options). Disabling auto attach makes a difference but not as much as I thought. I had changed both of them at the same time, thinking that they were more or less the same thing. Sorry folks. Very unscientific.
But if you feel like trying these bear in mind that I don't move between cells very much and have awful reception. I'll leave it to others to explain whether this is important.
Click to expand...
Click to collapse
GSM will use alot less power, so that is whats definatly making the difference
Why? Well.. GSM uses time division, which means the phones in an area take turns 'speaks'/'listening' with the tower. This ensures that no two phones are talking at the same time, and the tower can 'hear' what was sent. Because of this the power the phone transmits with can be controlled to be just high enough for the tower to listen, but not too high as to waste battery.
The down side of this scheme is that even if a phone has nothing to 'say', the other phones will wait in case it does. This means you're wasting bandwidth - or time that could be used by another phone to send data. Bottom line, data throughput is slower!
With 3G, all phones can talk at the same time. The data they send is tagged with a code, so that the data doesnt get mixed up. The advantage here is no time is wasted waiting for phones that may have nothing to send. The down side is that you need to be 'talking' loud enough to 'talk' over other people sending. This is why the data rate over 3G drops off really rapidly as you move away from the tower.
The disadvantages are a phone far from the tower using 3G will use more power than one using GSM because its having to 'talk' louder to get over other phones 'talking'.
Also, signals that get lost because they were drowned out by other phones have to be retransmited, which doesnt happen with GSM as much.
Yeah 3G or CDMA based channel access methods are a real power hog!
As for Auto attach you would expect it to only make a real difference if you have programs holding channels open.
With regards to low reception, it will make a significant difference because power disipation is not linear. Like all radiation it follows the inverse square law. For every meter distance the power drops of by a square of the distance.
Don't forget, when comparing uptime with other phones, with the diamond you have 4x the amount of pixels. VGA (640 x 480) devices will always chew up more Battery that QVGA (320 x 240) . This is one of the main reasons that HTC and the others delayed shipping VGA devices until now.
If you want longer battery life, you are going to have to stop using the display so often.
There is no way a vga machine can compete with a qvga machine on battery life... when all other factors are equal.
I think if you discount 3G, the battery is a little too small for the phone. With 3G its wholy inadequate.
The screen does make a huge difference, but these screens are more efficient, and HTC have used every opertunity to turn the screen off - a bit excessivly if you look at how fast it turns off when you make a call.
I don't understand why they don't use the iphone method of turning it off when the light sensor shows its dark (in a call).. i.e. the earpiece is next to your head!
moonlanding said:
The experiment continues.
Disabling "GPRS auto attach" in Advanced Configuration Tool has made a big difference - still 90% after 6 hours now.
Now this is a surprise to me because I thought that you did this when you set the network seek to GSM only and not hunt for 3G. Or maybe I'm getting my GPRSs and GSMs mixed up...
Next step - leave this setting in place and turn push back on. Watch this space.
Click to expand...
Click to collapse
I've disabled gprs auto attach and set my band to GSM. When i connect to net with opera will it still turn on 3G etc?
nokmond said:
I've disabled gprs auto attach and set my band to GSM. When i connect to net with opera will it still turn on 3G etc?
Click to expand...
Click to collapse
good question.
i only use my phone for normal phone stuff ans sometimes for some internet browsing.
should i turn anything on or off?

[Q] Wifi problems with multiple router networks

I seem to be having pretty severe wifi issues on networks that are composed of a large number of routers (i.e. campus/business networks) where going between routers will result in the phone believing it is connected, but not being able to send/receive data. This is evidenced both by the lack of notifications/apps working, as well as the wifi icon in the quick toggle panel being orange (which indicates no data being sent/recieved, I believe) despite having full signal. This means that without any external indication that anything is wrong, my phone essentially does not work anymore until I turn the wifi off and back on. Previous phones (galaxy nexus, droid) as well as computers did not have this issue on the same network.
Has anyone else noticed this problem, and if so, found any way to get around it other than remembering to reset the wifi power every time you move between areas?
It sounds like there are multiple WAPs all using the same SSID, and Android is not requesting a new IP address when it disconnects from one WAP and connects to another. You could probably work around the issue using Tasker, and have it toggle Wifi off and on again any time Wifi is disconnected. I you go that route I would recommend using the trial version available from the developer's site, or one of the many similar apps that are available in the Play Store for free.
There may be something more to this though. Hopefully someone else has another idea.
WiFi issues
ice20978 said:
I seem to be having pretty severe wifi issues on networks that are composed of a large number of routers (i.e. campus/business networks) where going between routers will result in the phone believing it is connected, but not being able to send/receive data. This is evidenced both by the lack of notifications/apps working, as well as the wifi icon in the quick toggle panel being orange (which indicates no data being sent/recieved, I believe) despite having full signal. This means that without any external indication that anything is wrong, my phone essentially does not work anymore until I turn the wifi off and back on. Previous phones (galaxy nexus, droid) as well as computers did not have this issue on the same network.
Has anyone else noticed this problem, and if so, found any way to get around it other than remembering to reset the wifi power every time you move between areas?
Click to expand...
Click to collapse
I'm having the same issues both out in public and at my home. This issue didn't seem to exist prior to 4.4 update. Now I'm constantly having to toggle my WiFi on and off or toggle airplane mode and also hitting the symbol down at the bottom left on my phone and on my router at the same time. If someone has any information to correct this would be great. Like I said I never had this problem prior to 4.4.
UncleMike said:
It sounds like there are multiple WAPs all using the same SSID, and Android is not requesting a new IP address when it disconnects from one WAP and connects to another. You could probably work around the issue using Tasker, and have it toggle Wifi off and on again any time Wifi is disconnected. I you go that route I would recommend using the trial version available from the developer's site, or one of the many similar apps that are available in the Play Store for free.
There may be something more to this though. Hopefully someone else has another idea.
Click to expand...
Click to collapse
Thanks for the suggestion! One question though: does the wifi actually "disconnect" when there is a handover between two routers of the same network? Is a handover while constantly connected something tasker could detect?
ice20978 said:
Thanks for the suggestion! One question though: does the wifi actually "disconnect" when there is a handover between two routers of the same network? Is a handover while constantly connected something tasker could detect?
Click to expand...
Click to collapse
As far as I know, Android doesn't "roam" seamlessly from one AP to another even when the SSIDs are the same. I'm pretty sure Tasker would see this as Wifi being disconnected (albeit briefly). You could then tell Tasker to turn off Wifi for 5 seconds and then turn it back on again.
UncleMike said:
As far as I know, Android doesn't "roam" seamlessly from one AP to another even when the SSIDs are the same. I'm pretty sure Tasker would see this as Wifi being disconnected (albeit briefly). You could then tell Tasker to turn off Wifi for 5 seconds and then turn it back on again.
Click to expand...
Click to collapse
I finally got around to making a tasker script to do this, and tried it out for a few days, but unfortunately it does not seem to detect the changing between the different routers on my institute network as having the wifi disconnected, and thus doesn't solve the issue. It was a good idea to try though!
I've cross-posted the issue at the link below in hope motorola will see this, but if anyone knows a better way to report this, please let me know.
https://forums.motorola.com/posts/68884aa31b

Tasker not detecting cell towers

I just bought tasker and wanted to make a profile that turns the wifi of automatically. I tried using the cell near function but it doesn't seem to detect any cell towers even with the new API turned on. When I click on scan it just stays blank (i also tried walking around). Has anyone got the same problem?

wifi off when there is no wifi around, or wifi is disconnected

im usuing tasker 5.0b5, and am wondering if anyone could help with a profile that will turn off wifi completely when there isnt any wifi around or when wifil has been disconnected. and also hoping a task with this profile to turn wifi back on when wifi is visible again. i seen a few tutorials and youtube vids on how to do this, but they were in reference to older tasker versions. can anyone help? thanks
I use these 3 profiles to basically do what your asking. You will have to change the profile with cell near to what ever cell towers are near you.
Let me know if you have any questions
https://mega.nz/#!M6BhUAqY!3qg9hpZt-_6JukuoKC1cCr1_NhVqPT3EId6yHJWSDfs
https://mega.nz/#!gvJRQK7S!26emPMKRewPlZvviD6a70xw7DzgcABLs0NJsDhvtITc
https://mega.nz/#!QzpBza7Z!S1XZq3T1zq0eW8jyUx0U1naHyyy_vU9G46Kc-nolJ9g
Fe Mike said:
I use these 3 profiles to basically do what your asking. You will have to change the profile with cell near to what ever cell towers are near you.
Let me know if you have any questions
https://mega.nz/#!M6BhUAqY!3qg9hpZt-_6JukuoKC1cCr1_NhVqPT3EId6yHJWSDfs
https://mega.nz/#!gvJRQK7S!26emPMKRewPlZvviD6a70xw7DzgcABLs0NJsDhvtITc
https://mega.nz/#!QzpBza7Z!S1XZq3T1zq0eW8jyUx0U1naHyyy_vU9G46Kc-nolJ9g
Click to expand...
Click to collapse
Do I link these profiles or run them all seperate?
This is what I have set up from the xml you sent me
Or like this?
Do these profiles supposed to turn WiFi off? As in, turning it off in settings too? I tried these and it don't work that way. I did change cell near as you suggested.
Fe Mike said:
I use these 3 profiles to basically do what your asking. You will have to change the profile with cell near to what ever cell towers are near you.
Let me know if you have any questions
https://mega.nz/#!M6BhUAqY!3qg9hpZt-_6JukuoKC1cCr1_NhVqPT3EId6yHJWSDfs
https://mega.nz/#!gvJRQK7S!26emPMKRewPlZvviD6a70xw7DzgcABLs0NJsDhvtITc
https://mega.nz/#!QzpBza7Z!S1XZq3T1zq0eW8jyUx0U1naHyyy_vU9G46Kc-nolJ9g
Click to expand...
Click to collapse
Could you quote my post so I can get the notification for this o.p? Tyvm
Tmobilefan906 said:
im usuing tasker 5.0b5, and am wondering if anyone could help with a profile that will turn off wifi completely when there isnt any wifi around or when wifil has been disconnected. and also hoping a task with this profile to turn wifi back on when wifi is visible again. i seen a few tutorials and youtube vids on how to do this, but they were in reference to older tasker versions. can anyone help? thanks
Click to expand...
Click to collapse
---------- Post added at 12:34 PM ---------- Previous post was at 12:20 PM ----------
Tmobilefan906 said:
im usuing tasker 5.0b5, and am wondering if anyone could help with a profile that will turn off wifi completely when there isnt any wifi around or when wifil has been disconnected. and also hoping a task with this profile to turn wifi back on when wifi is visible again. i seen a few tutorials and youtube vids on how to do this, but they were in reference to older tasker versions. can anyone help? thanks
Click to expand...
Click to collapse
Yes use all 3 at same time, make sure your variables are getting set. The one profile sets wifilocation variable when your near your cell towers, then the second one will see that wifilocation is set and activate causing it to turn on wifi and wait for 20 sec and if its not connected will turn wifi off. you may need a profile that turns wifi off when screen is off or go into wifi settings on phone and set it to not stay on when screen is off. Also you may need to turn on cell workaround and/or use new cell api under taskers preference depending on the model of your phone. You may not need the If WiFi connected profile, I think I used that for another project.
Tmobilefan906 said:
im usuing tasker 5.0b5, and am wondering if anyone could help with a profile that will turn off wifi completely when there isnt any wifi around or when wifil has been disconnected. and also hoping a task with this profile to turn wifi back on when wifi is visible again. i seen a few tutorials and youtube vids on how to do this, but they were in reference to older tasker versions. can anyone help? thanks
Click to expand...
Click to collapse
Fe Mike said:
I use these 3 profiles to basically do what your asking. You will have to change the profile with cell near to what ever cell towers are near you.
Let me know if you have any questions
https://mega.nz/#!M6BhUAqY!3qg9hpZt-_6JukuoKC1cCr1_NhVqPT3EId6yHJWSDfs
https://mega.nz/#!gvJRQK7S!26emPMKRewPlZvviD6a70xw7DzgcABLs0NJsDhvtITc
https://mega.nz/#!QzpBza7Z!S1XZq3T1zq0eW8jyUx0U1naHyyy_vU9G46Kc-nolJ9g
Click to expand...
Click to collapse
Honestly this is a complicated way of doing something very simple.
The most accurate and low battery way to accomplish this is to have 1 profile with a state context of "cell near" and set it to scan while you walk around your house for 5 min and then set it down and let it scan for another 10 min. (This ensues all available cell towers in your area are accounted for) and make tier entry task enable wifi. So when you're close to home, tasker will enable WiFi and Android will handle reconnecting.
In the exit task,Turn wifi off so whenever you leave your area WiFi will be deactivated and you are using nearly 0% battery to achieve it
loogielv said:
Honestly this is a complicated way of doing something very simple.
The most accurate and low battery way to accomplish this is to have 1 profile with a state context of "cell near" and set it to scan while you walk around your house for 5 min and then set it down and let it scan for another 10 min. (This ensues all available cell towers in your area are accounted for) and make tier entry task enable wifi. So when you're close to home, tasker will enable WiFi and Android will handle reconnecting.
In the exit task,Turn wifi off so whenever you leave your area WiFi will be deactivated and you are using nearly 0% battery to achieve it
Click to expand...
Click to collapse
Yeah. I have already used that task before. The cell near profile. I just want a profile that turns WiFi off completely when I'm not connected to any WiFi.
Tmobilefan906 said:
Yeah. I have already used that task before. The cell near profile. I just want a profile that turns WiFi off completely when I'm not connected to any WiFi.
Click to expand...
Click to collapse
How about a wait time, then afterwards switch wifi off if not connected?
HatchetEgg said:
How about a wait time, then afterwards switch wifi off if not connected?
Click to expand...
Click to collapse
Yes
Tmobilefan906 said:
Yes
Click to expand...
Click to collapse
Ok then the best thing to do is create a profile event context of WiFi disconnected and make the entry task merely set a variable %WIFITIMER to %TIMES+120
then create another profile with a time context and set if to activate on %WIFITIMER (which would be set for 120 seconds after the WiFi disconnected and make the entry task WiFi disable
Then create one more profile with an event context of WIFI CONNECTED and set the entry task to clear the Wi-Fi timer. This will ensure that if the Wi-Fi reconnects, the Wi-Fi disable profile won't be able to activate because the time will never be Null
The logic is: if the Wi-Fitimer is set then when the current time matches it, disable the Wi-Fi, but if it reconnects, the timer is disabled.
Edit
The benefits of these profiles is more than merely an elegant approach, but also the least battery impacting method to have Tasker wait until a certain time to do something. Using wait actions inside tasks might be one of the worst things for battery life

Categories

Resources