Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a profile with Tasker to accomplish a simple function, activate WiFi every 10 minutes and if the phone connects to a network leave WiFi on, otherwise turn it off and scan again in 10 minutes. This is my setup:

Profile Task
Profile Big / Task Big

WiFi Scan profile never activates (it doesn't get green and the Tasker notification says "no Active Profile"). When I activate Tasker it turns off my WiFi but never turns it on again. It is very strange; is it a Tasker bug? I am running Android 4.1.2 on a Galaxy S2.

share|improve this question
Did you check the 4th tab (variables) what the %WIFI is set to? – Izzy Nov 26 '12 at 19:59
I don't understand. The 4th tab where ? AFAIK %WIFI is a Tasker variable and it is equal to CONNECTION when a WiFi connection is established – Andres Nov 26 '12 at 20:01
up vote 2 down vote accepted

While trying to explain where to find that "4th tab", I just see where your problem is:

You use the %WIFI variable to check for a) On/Off and b) the connection mode. Either it is On/Off, or it holds connection info. The first is %WIFI, the other %WIFII:

WiFi Info
When connected to an Access Point (AP), shows human-readable data about the AP. When not connected, show details of the most recent Wifi scan results for nearby APs.

WiFi Status (dynamic)
Whether WiFi is on or off. Note: if WiFi is enabling or disabled, in fact anything but enabled, it's classed as off.

Source: Tasker UserGuide

Now back to the original explanation about that "4th tab":

You see some tabs in both pictures. In the first, "Profiles" is selected, in the second "Tasks". In both pictures you see another tab "Scenes". Right to that is one more, "Variables":

Tasker Variables Tab

But regardless of that: For debugging, you can always to add another item to your task, "Notify", and have it either popup the %WIFI (or whatever variables) content or add it to your notification bar. This is good for debugging.

share|improve this answer
Thank you that solved the issue !!! And apparently the profile turns green (on) only once every 5 minutes. – Andres Nov 26 '12 at 22:11
Glad it solved! The profile turns green when its condition is met -- so 5min is strange, as the only condition is "every 10min". But I never checked how long it stays lit: a) as long as the condition is met, or b) as long as the assigned task is running... You can still play with the timings. Most important thing is: it works ;) – Izzy Nov 26 '12 at 22:42
Sorry I meant 10 minutes :) Thank you very much for your help ;) PD: With %WIFII I can retrieve SSID of the wireless network ? – Andres Nov 26 '12 at 23:52
Try my debug-hint to find out (use "Notify" to output %WIFII). Spoiler: I'd say so you can -- that and more (connection speed, signal quality, and more; I've used it for a task to automatically switch WiFi off when its signal level gets too low). – Izzy Nov 27 '12 at 7:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.