Five Awesome Things You Can Do With Tasker Right Now

Search This thread

GroovyAPKs

New member
Oct 5, 2015
1
18
Just getting started with Tasker? If you're looking for some great tasks to get going on your phone, you should try these ones out first. I picked out five simple and useful profiles that you can take a gander at.

1. Keep screen on when using reading apps
Nothing is more frustrating than when you're in the middle of reading the hottest scene in Fifty Shades Of Grey and you screen times out. I'm reading here! To prevent this from happening, you can program Tasker to tell all reading apps to stay awake as long as they're open. Here is how:
rsz_tasker-keep-screen-on.jpg

Steps:
  • Create new task (name it “Keep screen on” or something like that).
  • Tap on the “+” button, select “Display” and then “Display Timeout“.
  • Increase the limit to your desired level and save the task.
  • Go to “Profile” then tap the plus icon and select “Applications“.
  • Choose the applications for which you want to keep the screen on.

2. Put your phone in silent mode by turning your phone upside down
Do you ever get jealous of those rich people that are able to afford phones that come with this silent feature? They just set their phone face down as they briefly make eye contact with you to make sure that you know you're inferior. Well screw those guys. You make make your own phone do this with this simple Tasker profile!
rsz_tasker-turn-phone.jpg

Steps:
  • Go to Profile , then select “State“, “Sensor” and “Orientation” in that order. Choose “Face down” from the drop down menu.
  • Create new task. Tap on the “+” icon , select audio then silent mode. Choose “On” or “Vibrate“.

3. Turn android lockscreen off in trusted locations
If you're like me, the Android lockscreen drives you up the wall! When I need access to my phone, I need it now. I don't want to have to put a pin in each time but if I don't then my kids will break in and find out I'm putting them up for adoption. When I'm at work this isn't an issue though because my kids are at home locked up in the basement. That's why this Tasker profile will come in handy by disabling my lockscreen in trusted locations. So now when I head in to work my phone will disable the lockscreen. Pretty dang useful.
rsz_tasker-wifi-unlock-screen.jpg

Steps:
Entry Task

create an entry task (name it “Lockscreen OFF“) and tap the “+” button.
Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock OFF“.
Exit Task

create an entry task (name it “Lockscreen ON“) and tap the “+” button.
Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock ON“.
Profile

Create new. Select “State“, “Net” and “Wi-Fi connected” in that order.
Enter the SSID of your home Wi-Fi network.
Link to the “Lockscreen OFF” Task.
Long press the profile and add an exit task. Select “Lockscreen ON“.

4. Night mode or Quiet time
This one easy as crap. Your phone doesn't need to be making all this noise and using all that data at night time does it? Shut that nonsense off! This profile will save battery and give you a better sleep, which could end up giving you 4 extra years of life.
rsz_tasker-quiet-time.jpg

Steps:
  • Create a new profile and select time. Choose the desired time range (for example, from 00:00 – 06:30).
  • Create a new task and tap the “+” icon.
  • Go to “Audio” then set Silent mode ON or vibrate.
  • Go to “Net” and turn auto sync OFF and Wi-Fi OFF.

5. Lock phone by shaking
The sensor tasks are my personal favorites. You can trigger all kinds of actions by use the data from your sensors. For this profile you can set your screen to lock when you shake your phone. Everyone likes stuff like this and it takes literally 30 seconds to do.
rsz_tasker-lock-by-shaking.jpg

Steps:
  • Create a new profile. Go to “Events” and then “Sensor“. Select “Shake” and enter your preferences for axis, sensitivity and duration.
  • Create a new task and tap the “+” icon. Click “Display” then “System lock“.

So there you have five easy profiles to get you started with Tasker. <3
 

NesBitton

New member
Jan 8, 2016
1
0
Great post champ!

I have a N6P and I have a profile that is requiring a code in order to access apps like my gallery and Facebook.
Now my question is if there is a way I kan change the annoying number pad lock with the much easier fingerprint sensor?
Or a way to tell the profile to disable the code request if the phone was unlocked by the print sensor?
Thanks a head!
 

XDARoni

XDA Community Manager
  • Aug 3, 2015
    1,118
    1,298
    Redmi K20 / Xiaomi Mi 9T
    Vivo V20
    I have a N6P and I have a profile that is requiring a code in order to access apps like my gallery and Facebook.
    Now my question is if there is a way I kan change the annoying number pad lock with the much easier fingerprint sensor?
    Or a way to tell the profile to disable the code request if the phone was unlocked by the print sensor?
    Thanks a head!

    That's a good question and I think you might be the first person to run into that. I cannot find any information on how that would be possible.
     
    • Like
    Reactions: NesBitton

    pmgreen

    Senior Member
    Apr 17, 2012
    408
    10
    Hope someone can help/direct on if this is possible. Would like to create a profile based on location and weather. If I arrive home, and it's raining and/or dark (sunset) execute a task to turn on an outside light.
     

    PhilipTD

    Senior Member
    Hope someone can help/direct on if this is possible. Would like to create a profile based on location and weather. If I arrive home, and it's raining and/or dark (sunset) execute a task to turn on an outside light.
    With respect to the location part, you could try Cell Near. For the weather, a couple of months ago I was looking for something similar and found this, which may help. (reading it gave me a massive headache, so I gave up.)
     

    alray

    Recognized Contributor
    May 22, 2012
    8,934
    3,584
    Hope someone can help/direct on if this is possible. Would like to create a profile based on location and weather. If I arrive home, and it's raining and/or dark (sunset) execute a task to turn on an outside light.

    What system are you using to control your light? I know how to do it using Z-wave and Vera + HomeBuddy + Tasker, its pretty easy to use tasker to trigger Automated Scene in Vera

    You can use the method posted above to set your local weather in a variable then use this variable and either the "State --> Phone ---> Cell Near" or "Location(GPS)" condition to trigger a task that will send and intent to Homebuddy to start a Vera scene (homebuddy is an app to control your Vera scenes). So if your are connected to your local tower (or your GPS position is home) + your local weather is bad = send an intent to homebuddy that will turn on the lights.

    Edit:

    Here is how you do it using a Vera z-wave hub (Vera lite/2/3):

    -Log in your Vera account, go to the Automation menu and create a new scene that will simply turn on the desired lights. Take note of your scene number.

    -Make an account (free) at weatherunderground.com to get a user key: www.wunderground.com/weather/api/ once registered take note of your key
    -Download HomeBuddy on your phone (yes I know the app is old and did not get any updated for a while but its working good to make Tasker talk to your Vera hub)

    -Launch homebuddy and setup your Vera serial number, Username and Password

    -Then go in Tasker and create a new task (I have named mine "Get Weather") and add the following actions in your task:

    Action #1
    HTTP Get
    • Server:port: api.wunderground.com
    • Path: /api/your_key/conditions/q/your_location.xml
    *replace "your_key" by your weatherunderground.com key and "your_location" by your gps location. You can use Google Maps to find your GPS location. e.g: New York is 40.690917,-74.047185. By default there is a space between your latitude and longitude values when you copy it from google maps, you need to remove it. Lets say you are at New York and your key is abcdef123456789 then the Path will be: /api/abcdef123456789/conditions/q/40.690917,-74.047185.xml

    This will set your %HTTPD variable to this value:
    Code:
    <response>
    <version>0.1</version>
    <termsofService>
    http://www.wunderground.com/weather/api/d/terms.html
    </termsofService>
    <features>
    <feature>conditions</feature>
    </features>
    [B][COLOR="Red"]<current_observation>[/COLOR][/B]
    <image>
    <url>http://icons.wxug.com/graphics/wu2/logo_130x80.png</url>
    <title>Weather Underground</title>
    <link>http://www.wunderground.com</link>
    </image>
    <display_location>
    <full>Jersey City, NJ</full>
    <city>Jersey City</city>
    <state>NJ</state>
    <state_name>New Jersey</state_name>
    <country>US</country>
    <country_iso3166>US</country_iso3166>
    <zip>07303</zip>
    <magic>1</magic>
    <wmo>99999</wmo>
    <latitude>40.690917</latitude>
    <longitude>-74.047185</longitude>
    <elevation>3.00000000</elevation>
    </display_location>
    <observation_location>
    <full>NJWxNet, Jersey City, New Jersey</full>
    <city>NJWxNet, Jersey City</city>
    <state>New Jersey</state>
    <country>US</country>
    <country_iso3166>US</country_iso3166>
    <latitude>40.708744</latitude>
    <longitude>-74.053070</longitude>
    <elevation>6 ft</elevation>
    </observation_location>
    <estimated></estimated>
    <station_id>MNJ12</station_id>
    <observation_time>Last Updated on January 16, 2:25 AM EST</observation_time>
    <observation_time_rfc822>Sat, 16 Jan 2016 02:25:00 -0500</observation_time_rfc822>
    <observation_epoch>1452929100</observation_epoch>
    <local_time_rfc822>Sat, 16 Jan 2016 03:01:09 -0500</local_time_rfc822>
    <local_epoch>1452931269</local_epoch>
    <local_tz_short>EST</local_tz_short>
    <local_tz_long>America/New_York</local_tz_long>
    <local_tz_offset>-0500</local_tz_offset>
    [B][COLOR="DarkOrange"]<weather>[/COLOR][/B][B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
    <temperature_string>44 F (6.7 C)</temperature_string>
    <temp_f>44</temp_f>
    <temp_c>6.7</temp_c>
    <relative_humidity>96%</relative_humidity>
    <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
    <wind_dir>NNE</wind_dir>
    <wind_degrees>32</wind_degrees>
    <wind_mph>5</wind_mph>
    <wind_gust_mph>11.0</wind_gust_mph>
    <wind_kph>8.0</wind_kph>
    <wind_gust_kph>17.7</wind_gust_kph>
    <pressure_mb>996</pressure_mb>
    <pressure_in>29.41</pressure_in>
    <pressure_trend>+</pressure_trend>
    <dewpoint_string>43 F (6 C)</dewpoint_string>
    <dewpoint_f>43</dewpoint_f>
    <dewpoint_c>6</dewpoint_c>
    <heat_index_string>NA</heat_index_string>
    <heat_index_f>NA</heat_index_f>
    <heat_index_c>NA</heat_index_c>
    <windchill_string>41 F (5 C)</windchill_string>
    <windchill_f>41</windchill_f>
    <windchill_c>5</windchill_c>
    <feelslike_string>41 F (5 C)</feelslike_string>
    <feelslike_f>41</feelslike_f>
    <feelslike_c>5</feelslike_c>
    <visibility_mi>10.0</visibility_mi>
    <visibility_km>16.1</visibility_km>
    <solarradiation/>
    <UV>0</UV>
    <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
    <precip_1hr_in>0.00</precip_1hr_in>
    <precip_1hr_metric>0</precip_1hr_metric>
    <precip_today_string>in ( mm)</precip_today_string>
    <precip_today_in/>
    <precip_today_metric/>
    <icon>cloudy</icon>
    <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
    <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
    <history_url>
    http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
    </history_url>
    <ob_url>
    http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
    </ob_url>
    [B][COLOR="red"]</current_observation>[/COLOR][/B]
    </response>

    The information we need (the actual weather condition) is inside the <weather> and </weather> tags which are inside the <current_observation> and </current_observation> tags. We'll need to split everything so we end up having a variable that is simply the current weather But first we need to create another variable to replace %HTTPD because it can be overwritten by any other task using this variable.

    Action #2
    Variable Set
    • Name: %weather
    • To: %HTTPD
    So now we can work with our own %weather variable instead of %HTTPD

    Action #3
    Variable Split
    • Name: %weather
    • Splitter: <current_observation>

    This will create a new Variable named %weather2 which will be equal to the information present after the <current_observation>

    Code:
    <image>
    <url>http://icons.wxug.com/graphics/wu2/logo_130x80.png</url>
    <title>Weather Underground</title>
    <link>http://www.wunderground.com</link>
    </image>
    <display_location>
    <full>Jersey City, NJ</full>
    <city>Jersey City</city>
    <state>NJ</state>
    <state_name>New Jersey</state_name>
    <country>US</country>
    <country_iso3166>US</country_iso3166>
    <zip>07303</zip>
    <magic>1</magic>
    <wmo>99999</wmo>
    <latitude>40.690917</latitude>
    <longitude>-74.047185</longitude>
    <elevation>3.00000000</elevation>
    </display_location>
    <observation_location>
    <full>NJWxNet, Jersey City, New Jersey</full>
    <city>NJWxNet, Jersey City</city>
    <state>New Jersey</state>
    <country>US</country>
    <country_iso3166>US</country_iso3166>
    <latitude>40.708744</latitude>
    <longitude>-74.053070</longitude>
    <elevation>6 ft</elevation>
    </observation_location>
    <estimated></estimated>
    <station_id>MNJ12</station_id>
    <observation_time>Last Updated on January 16, 2:25 AM EST</observation_time>
    <observation_time_rfc822>Sat, 16 Jan 2016 02:25:00 -0500</observation_time_rfc822>
    <observation_epoch>1452929100</observation_epoch>
    <local_time_rfc822>Sat, 16 Jan 2016 03:01:09 -0500</local_time_rfc822>
    <local_epoch>1452931269</local_epoch>
    <local_tz_short>EST</local_tz_short>
    <local_tz_long>America/New_York</local_tz_long>
    <local_tz_offset>-0500</local_tz_offset>
    [B][COLOR="DarkOrange"]<weather>[/COLOR][/B][B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
    <temperature_string>44 F (6.7 C)</temperature_string>
    <temp_f>44</temp_f>
    <temp_c>6.7</temp_c>
    <relative_humidity>96%</relative_humidity>
    <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
    <wind_dir>NNE</wind_dir>
    <wind_degrees>32</wind_degrees>
    <wind_mph>5</wind_mph>
    <wind_gust_mph>11.0</wind_gust_mph>
    <wind_kph>8.0</wind_kph>
    <wind_gust_kph>17.7</wind_gust_kph>
    <pressure_mb>996</pressure_mb>
    <pressure_in>29.41</pressure_in>
    <pressure_trend>+</pressure_trend>
    <dewpoint_string>43 F (6 C)</dewpoint_string>
    <dewpoint_f>43</dewpoint_f>
    <dewpoint_c>6</dewpoint_c>
    <heat_index_string>NA</heat_index_string>
    <heat_index_f>NA</heat_index_f>
    <heat_index_c>NA</heat_index_c>
    <windchill_string>41 F (5 C)</windchill_string>
    <windchill_f>41</windchill_f>
    <windchill_c>5</windchill_c>
    <feelslike_string>41 F (5 C)</feelslike_string>
    <feelslike_f>41</feelslike_f>
    <feelslike_c>5</feelslike_c>
    <visibility_mi>10.0</visibility_mi>
    <visibility_km>16.1</visibility_km>
    <solarradiation/>
    <UV>0</UV>
    <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
    <precip_1hr_in>0.00</precip_1hr_in>
    <precip_1hr_metric>0</precip_1hr_metric>
    <precip_today_string>in ( mm)</precip_today_string>
    <precip_today_in/>
    <precip_today_metric/>
    <icon>cloudy</icon>
    <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
    <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
    <history_url>
    http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
    </history_url>
    <ob_url>
    http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
    </ob_url>
    [B][COLOR="red"]</current_observation>[/COLOR][/B]

    Now we need to split it again

    Action #4
    Variable Split
    • Name: %weather2
    • Splitter: <weather>

    Now you'll have the %weather22 variable which will be equal to the information present after the <weather> tag:

    Code:
    [B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
    <temperature_string>44 F (6.7 C)</temperature_string>
    <temp_f>44</temp_f>
    <temp_c>6.7</temp_c>
    <relative_humidity>96%</relative_humidity>
    <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
    <wind_dir>NNE</wind_dir>
    <wind_degrees>32</wind_degrees>
    <wind_mph>5</wind_mph>
    <wind_gust_mph>11.0</wind_gust_mph>
    <wind_kph>8.0</wind_kph>
    <wind_gust_kph>17.7</wind_gust_kph>
    <pressure_mb>996</pressure_mb>
    <pressure_in>29.41</pressure_in>
    <pressure_trend>+</pressure_trend>
    <dewpoint_string>43 F (6 C)</dewpoint_string>
    <dewpoint_f>43</dewpoint_f>
    <dewpoint_c>6</dewpoint_c>
    <heat_index_string>NA</heat_index_string>
    <heat_index_f>NA</heat_index_f>
    <heat_index_c>NA</heat_index_c>
    <windchill_string>41 F (5 C)</windchill_string>
    <windchill_f>41</windchill_f>
    <windchill_c>5</windchill_c>
    <feelslike_string>41 F (5 C)</feelslike_string>
    <feelslike_f>41</feelslike_f>
    <feelslike_c>5</feelslike_c>
    <visibility_mi>10.0</visibility_mi>
    <visibility_km>16.1</visibility_km>
    <solarradiation/>
    <UV>0</UV>
    <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
    <precip_1hr_in>0.00</precip_1hr_in>
    <precip_1hr_metric>0</precip_1hr_metric>
    <precip_today_string>in ( mm)</precip_today_string>
    <precip_today_in/>
    <precip_today_metric/>
    <icon>cloudy</icon>
    <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
    <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
    <history_url>
    http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
    </history_url>
    <ob_url>
    http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
    </ob_url>
    [B][COLOR="red"]</current_observation>[/COLOR][/B]

    Now we need to split one last time to wipe evertyhing after the </weather> tag to keep only the "Overcast" value:

    Action #5
    Variable Split
    • Name: %weather22
    • Splitter: </weather>

    Now you'll have the %weather221 variable which will be equal to the information present before the </weather> tag:

    Code:
    [COLOR="SeaGreen"][B]Overcast[/B][/COLOR]

    Now we can save this value in another variable so its safe:

    Action #6
    Variable Set
    • Name: %CURRENTWEATHER
    • To: %weather221

    so in this example %CURRENTWEATHER = Overcast

    Action #7
    If
    • Condition: %CURRENTWEATHER doesn't match Clear

    (If weather isn't clear ---> bad weather)

    Action #8
    Send Intent
    • Action: android.intent.action.VIEW
    • Data: homebuddy://activate?vera=<your_vera_serial_number>&<your_scene_number>
    • Target: Activity

    replace your_vera_serial_number and your_scene_number by the correct value (don't forget to remove the <> symbols)

    Action #9
    End If

    Now you're done. If the weather isn't clear, tasker will send an intent to homebuddy which will then send the command to your Vera to trigger the scene you have made to turn on your lights.

    Now you only need to create a Profile that triggers this task based on your location either with the Cell Near function or Location function. You could also trigger the Task when our phone is connected to your home wifi (specific SSID) so the Task only runs when you are near your door (if you get wifi at the door).

    Finally you might think I forgot about that "turn on the lights" at sunset thing... No need to use Tasker for that (even if that could be done). There is a simple Vera app to detect sunset and sunrise which you can use to trigger the same scene. Its called "Day or Night"

    That's it, hope it will help some of you. :good:


    For reference, the weather conditions that can be present between the <weather> and </weather> tags are
    Code:
    [Light/Heavy] Drizzle
    [Light/Heavy] Rain
    [Light/Heavy] Snow
    [Light/Heavy] Snow Grains
    [Light/Heavy] Ice Crystals
    [Light/Heavy] Ice Pellets
    [Light/Heavy] Hail
    [Light/Heavy] Mist
    [Light/Heavy] Fog
    [Light/Heavy] Fog Patches
    [Light/Heavy] Smoke
    [Light/Heavy] Volcanic Ash
    [Light/Heavy] Widespread Dust
    [Light/Heavy] Sand
    [Light/Heavy] Haze
    [Light/Heavy] Spray
    [Light/Heavy] Dust Whirls
    [Light/Heavy] Sandstorm
    [Light/Heavy] Low Drifting Snow
    [Light/Heavy] Low Drifting Widespread Dust
    [Light/Heavy] Low Drifting Sand
    [Light/Heavy] Blowing Snow
    [Light/Heavy] Blowing Widespread Dust
    [Light/Heavy] Blowing Sand
    [Light/Heavy] Rain Mist
    [Light/Heavy] Rain Showers
    [Light/Heavy] Snow Showers
    [Light/Heavy] Snow Blowing Snow Mist
    [Light/Heavy] Ice Pellet Showers
    [Light/Heavy] Hail Showers
    [Light/Heavy] Small Hail Showers
    [Light/Heavy] Thunderstorm
    [Light/Heavy] Thunderstorms and Rain
    [Light/Heavy] Thunderstorms and Snow
    [Light/Heavy] Thunderstorms and Ice Pellets
    [Light/Heavy] Thunderstorms with Hail
    [Light/Heavy] Thunderstorms with Small Hail
    [Light/Heavy] Freezing Drizzle
    [Light/Heavy] Freezing Rain
    [Light/Heavy] Freezing Fog
    Patches of Fog
    Shallow Fog
    Partial Fog
    Overcast
    Clear
    Partly Cloudy
    Mostly Cloudy
    Scattered Clouds
    Small Hail
    Squalls
    Funnel Cloud
    Unknown Precipitation
    Unknown

    So you might want to add some more values than only "Clear" at action #7 cause there are other weather values where its still sunny enough outside and you don't need to turn on the lights...



    You could also use AutoVera instead of homebuddy to make the bridge between your Vera and Tasker (its a tasker plugin). The advantage of using hommebuddy is that its free, not AutoVera
     
    Last edited:

    mike_79

    Senior Member
    Jul 22, 2009
    107
    8
    If you're like me, the Android lockscreen drives you up the wall! When I need access to my phone, I need it now. I don't want to have to put a pin in each time but if I don't then my kids will break in and find out I'm putting them up for adoption. When I'm at work this isn't an issue though because my kids are at home locked up in the basement. That's why this Tasker profile will come in handy by disabling my lockscreen in trusted locations. So now when I head in to work my phone will disable the lockscreen. Pretty dang useful.

    Entry Task

    create an entry task (name it “Lockscreen OFF“) and tap the “+” button.
    Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock OFF“.
    Exit Task

    create an entry task (name it “Lockscreen ON“) and tap the “+” button.
    Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock ON“.
    Profile

    Create new. Select “State“, “Net” and “Wi-Fi connected” in that order.
    Enter the SSID of your home Wi-Fi network.
    Link to the “Lockscreen OFF” Task.
    Long press the profile and add an exit task. Select “Lockscreen ON“.
    I created a profile using your instruction but I was getting error "an error occurred while executing Pattern Lock". Root access is granted to Secure Settings
     
    • Like
    Reactions: _BobsoN_

    jlang11

    Senior Member
    Nov 14, 2010
    116
    34
    St. Petersburg, FL
    Thank you for helping us newbies with this program.... It is a little daunting at first, but help like this helps, me at least, grasp the concepts easier.

    How could I go about doing your #4. Night mode or Quiet time (tho i would probably just toggle Airplane Mode)... but only for specific days? I usually stay up later on Friday and Saturday... so I wouldnt want to miss a call or text at say 11pm... but during the week (Sun-Thurs) I am in bed by 10 due to getting up pretty early. Would I really need to create the task for each day?

    As an example, I would want quiet from 10pm to 5am Sun-Thurs... and 1am to 9am on Fri-Sat. I could go without Fri and Sat if necessary. I just dont see how to do a day and time profile. THANKS!
     
    • Like
    Reactions: hallrob1

    immaterialman

    Member
    Nov 25, 2007
    12
    3
    Nuneaton, UK
    Another good - and free source of weather data is:
    www.worldweatheronline.com - you can get a feed in either xml or in json... I prefer the xml one.
    You need to sign up for the key, but the thing I like is you can give it a lat/long and it will tell you the nearest weather station and country - saves me looking up the google api to convert lat/long to address.

    I use a loop to read splitter text from a txt file and extracting the data I want from the XML file in to a "clean" txt file. If anyone is interested I'd be happy to post the code here - it's not brilliant, very Heath Robinson.
     
    • Like
    Reactions: ewa12321

    Zheen

    Senior Member
    Apr 27, 2014
    165
    34
    As Sulaymaniyah
    I have a N6P and I have a profile that is requiring a code in order to access apps like my gallery and Facebook.
    Now my question is if there is a way I kan change the annoying number pad lock with the much easier fingerprint sensor?
    Or a way to tell the profile to disable the code request if the phone was unlocked by the print sensor?
    Thanks a head!
    http://forum.xda-developers.com/showthread.php?t=2679305
     

    lengz

    Senior Member
    Jan 23, 2008
    70
    2
    Regarding the keep screen on when using apps, my display time out stays at whatever time I set it at in Tasker. Is there a way to have it revert back to my original settings after the app is closed?

    Edit: Oh nvm, new to Tasker and didn't know I had to add the Exit part!
     
    Last edited:

    Portgas D. Ace

    Recognized Contributor
    Jun 12, 2014
    4,338
    3,125
    Bergisches Land
    Thank you for helping us newbies with this program.... It is a little daunting at first, but help like this helps, me at least, grasp the concepts easier.

    How could I go about doing your #4. Night mode or Quiet time (tho i would probably just toggle Airplane Mode)... but only for specific days? I usually stay up later on Friday and Saturday... so I wouldnt want to miss a call or text at say 11pm... but during the week (Sun-Thurs) I am in bed by 10 due to getting up pretty early. Would I really need to create the task for each day?

    As an example, I would want quiet from 10pm to 5am Sun-Thurs... and 1am to 9am on Fri-Sat. I could go without Fri and Sat if necessary. I just dont see how to do a day and time profile. THANKS!

    You can add a trigger condition (for example day of the week) by long-pressing the initial trigger condition in the profile screen (see screenshots).

    In the given example, long-press the Display Off trigger(see screenshot #1) and you will be prompted with the popup menu as seen in screenshot #2.

    You can now add "Day" as trigger condition and "Time" for specific time intervals.

    This way you can set up two Quiet Hours profiles, one for the weekend and one for working days, for example Quiet Hours Working and Quiet Hours Weekend.

    photo_2016-03-11_08-46-10.jpg photo_2016-03-11_08-46-16.jpg
     
    • Like
    Reactions: jlang11

    jlang11

    Senior Member
    Nov 14, 2010
    116
    34
    St. Petersburg, FL
    You can add a trigger condition (for example day of the week) by long-pressing the initial trigger condition in the profile screen (see screenshots).

    In the given example, long-press the Display Off trigger(see screenshot #1) and you will be prompted with the popup menu as seen in screenshot #2.

    You can now add "Day" as trigger condition and "Time" for specific time intervals.

    This way you can set up two Quiet Hours profiles, one for the weekend and one for working days, for example Quiet Hours Working and Quiet Hours Weekend.

    View attachment 3678947 View attachment 3678948

    Awesome!! Ill give it a try tonight after work. Thank you!
     

    obsidianwings

    Senior Member
    Apr 15, 2012
    128
    5
    I did number 3 and it worked brilliantly for about a day, then it just turned my lockscreen off even when I'm not connected to my wifi. I realised that at some point I had lost root so I restored that and hoped that would fix it, but I still cant get it to go again. I've looked over the settings over and over again and can't see anything wrong. Any ideas? Its like it doesn't run the end task of turning the lockscreen back on. Even my settings say lockscreen is set on swipe.
     

    MrMosoani

    Senior Member
    Oct 22, 2011
    247
    50
    Makati
    I followed the tutorial on youtube, turning on wifi when triggered by location. But when I tap the gps icon at the top of the tasker screen the map doesnt move. It is stuck not doing anything. Location icon on the settings is ON. I NOTICE that the cursor is on the box that says latitude then longtitude on the opposite side. Looks like it does the contrary. Instead of locating me it looks like tasker want me to specify the latitude and longtitude of my location.

    Using moto e 2nd gen marshmallow. I dont see that it requires root access.
     

    LeftyGR

    Senior Member
    Oct 18, 2011
    2,120
    1,712
    Bloomington, IL
    I followed the tutorial on youtube, turning on wifi when triggered by location. But when I tap the gps icon at the top of the tasker screen the map doesnt move. It is stuck not doing anything. Location icon on the settings is ON. I NOTICE that the cursor is on the box that says latitude then longtitude on the opposite side. Looks like it does the contrary. Instead of locating me it looks like tasker want me to specify the latitude and longtitude of my location.

    Using moto e 2nd gen marshmallow. I dont see that it requires root access.
    Using location to trigger events can be power intensive. Android, by default, scans for wifi even when it is off. I have profiles similar to what you're trying to do. But i have mine set up to trigger when the wifi specified is detected. It's "wifi near"
    eb7726fa2790566b6c364f67b1a9c4ac.jpg
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 18
      Just getting started with Tasker? If you're looking for some great tasks to get going on your phone, you should try these ones out first. I picked out five simple and useful profiles that you can take a gander at.

      1. Keep screen on when using reading apps
      Nothing is more frustrating than when you're in the middle of reading the hottest scene in Fifty Shades Of Grey and you screen times out. I'm reading here! To prevent this from happening, you can program Tasker to tell all reading apps to stay awake as long as they're open. Here is how:
      rsz_tasker-keep-screen-on.jpg

      Steps:
      • Create new task (name it “Keep screen on” or something like that).
      • Tap on the “+” button, select “Display” and then “Display Timeout“.
      • Increase the limit to your desired level and save the task.
      • Go to “Profile” then tap the plus icon and select “Applications“.
      • Choose the applications for which you want to keep the screen on.

      2. Put your phone in silent mode by turning your phone upside down
      Do you ever get jealous of those rich people that are able to afford phones that come with this silent feature? They just set their phone face down as they briefly make eye contact with you to make sure that you know you're inferior. Well screw those guys. You make make your own phone do this with this simple Tasker profile!
      rsz_tasker-turn-phone.jpg

      Steps:
      • Go to Profile , then select “State“, “Sensor” and “Orientation” in that order. Choose “Face down” from the drop down menu.
      • Create new task. Tap on the “+” icon , select audio then silent mode. Choose “On” or “Vibrate“.

      3. Turn android lockscreen off in trusted locations
      If you're like me, the Android lockscreen drives you up the wall! When I need access to my phone, I need it now. I don't want to have to put a pin in each time but if I don't then my kids will break in and find out I'm putting them up for adoption. When I'm at work this isn't an issue though because my kids are at home locked up in the basement. That's why this Tasker profile will come in handy by disabling my lockscreen in trusted locations. So now when I head in to work my phone will disable the lockscreen. Pretty dang useful.
      rsz_tasker-wifi-unlock-screen.jpg

      Steps:
      Entry Task

      create an entry task (name it “Lockscreen OFF“) and tap the “+” button.
      Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock OFF“.
      Exit Task

      create an entry task (name it “Lockscreen ON“) and tap the “+” button.
      Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock ON“.
      Profile

      Create new. Select “State“, “Net” and “Wi-Fi connected” in that order.
      Enter the SSID of your home Wi-Fi network.
      Link to the “Lockscreen OFF” Task.
      Long press the profile and add an exit task. Select “Lockscreen ON“.

      4. Night mode or Quiet time
      This one easy as crap. Your phone doesn't need to be making all this noise and using all that data at night time does it? Shut that nonsense off! This profile will save battery and give you a better sleep, which could end up giving you 4 extra years of life.
      rsz_tasker-quiet-time.jpg

      Steps:
      • Create a new profile and select time. Choose the desired time range (for example, from 00:00 – 06:30).
      • Create a new task and tap the “+” icon.
      • Go to “Audio” then set Silent mode ON or vibrate.
      • Go to “Net” and turn auto sync OFF and Wi-Fi OFF.

      5. Lock phone by shaking
      The sensor tasks are my personal favorites. You can trigger all kinds of actions by use the data from your sensors. For this profile you can set your screen to lock when you shake your phone. Everyone likes stuff like this and it takes literally 30 seconds to do.
      rsz_tasker-lock-by-shaking.jpg

      Steps:
      • Create a new profile. Go to “Events” and then “Sensor“. Select “Shake” and enter your preferences for axis, sensitivity and duration.
      • Create a new task and tap the “+” icon. Click “Display” then “System lock“.

      So there you have five easy profiles to get you started with Tasker. <3
      3
      Hope someone can help/direct on if this is possible. Would like to create a profile based on location and weather. If I arrive home, and it's raining and/or dark (sunset) execute a task to turn on an outside light.

      What system are you using to control your light? I know how to do it using Z-wave and Vera + HomeBuddy + Tasker, its pretty easy to use tasker to trigger Automated Scene in Vera

      You can use the method posted above to set your local weather in a variable then use this variable and either the "State --> Phone ---> Cell Near" or "Location(GPS)" condition to trigger a task that will send and intent to Homebuddy to start a Vera scene (homebuddy is an app to control your Vera scenes). So if your are connected to your local tower (or your GPS position is home) + your local weather is bad = send an intent to homebuddy that will turn on the lights.

      Edit:

      Here is how you do it using a Vera z-wave hub (Vera lite/2/3):

      -Log in your Vera account, go to the Automation menu and create a new scene that will simply turn on the desired lights. Take note of your scene number.

      -Make an account (free) at weatherunderground.com to get a user key: www.wunderground.com/weather/api/ once registered take note of your key
      -Download HomeBuddy on your phone (yes I know the app is old and did not get any updated for a while but its working good to make Tasker talk to your Vera hub)

      -Launch homebuddy and setup your Vera serial number, Username and Password

      -Then go in Tasker and create a new task (I have named mine "Get Weather") and add the following actions in your task:

      Action #1
      HTTP Get
      • Server:port: api.wunderground.com
      • Path: /api/your_key/conditions/q/your_location.xml
      *replace "your_key" by your weatherunderground.com key and "your_location" by your gps location. You can use Google Maps to find your GPS location. e.g: New York is 40.690917,-74.047185. By default there is a space between your latitude and longitude values when you copy it from google maps, you need to remove it. Lets say you are at New York and your key is abcdef123456789 then the Path will be: /api/abcdef123456789/conditions/q/40.690917,-74.047185.xml

      This will set your %HTTPD variable to this value:
      Code:
      <response>
      <version>0.1</version>
      <termsofService>
      http://www.wunderground.com/weather/api/d/terms.html
      </termsofService>
      <features>
      <feature>conditions</feature>
      </features>
      [B][COLOR="Red"]<current_observation>[/COLOR][/B]
      <image>
      <url>http://icons.wxug.com/graphics/wu2/logo_130x80.png</url>
      <title>Weather Underground</title>
      <link>http://www.wunderground.com</link>
      </image>
      <display_location>
      <full>Jersey City, NJ</full>
      <city>Jersey City</city>
      <state>NJ</state>
      <state_name>New Jersey</state_name>
      <country>US</country>
      <country_iso3166>US</country_iso3166>
      <zip>07303</zip>
      <magic>1</magic>
      <wmo>99999</wmo>
      <latitude>40.690917</latitude>
      <longitude>-74.047185</longitude>
      <elevation>3.00000000</elevation>
      </display_location>
      <observation_location>
      <full>NJWxNet, Jersey City, New Jersey</full>
      <city>NJWxNet, Jersey City</city>
      <state>New Jersey</state>
      <country>US</country>
      <country_iso3166>US</country_iso3166>
      <latitude>40.708744</latitude>
      <longitude>-74.053070</longitude>
      <elevation>6 ft</elevation>
      </observation_location>
      <estimated></estimated>
      <station_id>MNJ12</station_id>
      <observation_time>Last Updated on January 16, 2:25 AM EST</observation_time>
      <observation_time_rfc822>Sat, 16 Jan 2016 02:25:00 -0500</observation_time_rfc822>
      <observation_epoch>1452929100</observation_epoch>
      <local_time_rfc822>Sat, 16 Jan 2016 03:01:09 -0500</local_time_rfc822>
      <local_epoch>1452931269</local_epoch>
      <local_tz_short>EST</local_tz_short>
      <local_tz_long>America/New_York</local_tz_long>
      <local_tz_offset>-0500</local_tz_offset>
      [B][COLOR="DarkOrange"]<weather>[/COLOR][/B][B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
      <temperature_string>44 F (6.7 C)</temperature_string>
      <temp_f>44</temp_f>
      <temp_c>6.7</temp_c>
      <relative_humidity>96%</relative_humidity>
      <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
      <wind_dir>NNE</wind_dir>
      <wind_degrees>32</wind_degrees>
      <wind_mph>5</wind_mph>
      <wind_gust_mph>11.0</wind_gust_mph>
      <wind_kph>8.0</wind_kph>
      <wind_gust_kph>17.7</wind_gust_kph>
      <pressure_mb>996</pressure_mb>
      <pressure_in>29.41</pressure_in>
      <pressure_trend>+</pressure_trend>
      <dewpoint_string>43 F (6 C)</dewpoint_string>
      <dewpoint_f>43</dewpoint_f>
      <dewpoint_c>6</dewpoint_c>
      <heat_index_string>NA</heat_index_string>
      <heat_index_f>NA</heat_index_f>
      <heat_index_c>NA</heat_index_c>
      <windchill_string>41 F (5 C)</windchill_string>
      <windchill_f>41</windchill_f>
      <windchill_c>5</windchill_c>
      <feelslike_string>41 F (5 C)</feelslike_string>
      <feelslike_f>41</feelslike_f>
      <feelslike_c>5</feelslike_c>
      <visibility_mi>10.0</visibility_mi>
      <visibility_km>16.1</visibility_km>
      <solarradiation/>
      <UV>0</UV>
      <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
      <precip_1hr_in>0.00</precip_1hr_in>
      <precip_1hr_metric>0</precip_1hr_metric>
      <precip_today_string>in ( mm)</precip_today_string>
      <precip_today_in/>
      <precip_today_metric/>
      <icon>cloudy</icon>
      <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
      <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
      <history_url>
      http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
      </history_url>
      <ob_url>
      http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
      </ob_url>
      [B][COLOR="red"]</current_observation>[/COLOR][/B]
      </response>

      The information we need (the actual weather condition) is inside the <weather> and </weather> tags which are inside the <current_observation> and </current_observation> tags. We'll need to split everything so we end up having a variable that is simply the current weather But first we need to create another variable to replace %HTTPD because it can be overwritten by any other task using this variable.

      Action #2
      Variable Set
      • Name: %weather
      • To: %HTTPD
      So now we can work with our own %weather variable instead of %HTTPD

      Action #3
      Variable Split
      • Name: %weather
      • Splitter: <current_observation>

      This will create a new Variable named %weather2 which will be equal to the information present after the <current_observation>

      Code:
      <image>
      <url>http://icons.wxug.com/graphics/wu2/logo_130x80.png</url>
      <title>Weather Underground</title>
      <link>http://www.wunderground.com</link>
      </image>
      <display_location>
      <full>Jersey City, NJ</full>
      <city>Jersey City</city>
      <state>NJ</state>
      <state_name>New Jersey</state_name>
      <country>US</country>
      <country_iso3166>US</country_iso3166>
      <zip>07303</zip>
      <magic>1</magic>
      <wmo>99999</wmo>
      <latitude>40.690917</latitude>
      <longitude>-74.047185</longitude>
      <elevation>3.00000000</elevation>
      </display_location>
      <observation_location>
      <full>NJWxNet, Jersey City, New Jersey</full>
      <city>NJWxNet, Jersey City</city>
      <state>New Jersey</state>
      <country>US</country>
      <country_iso3166>US</country_iso3166>
      <latitude>40.708744</latitude>
      <longitude>-74.053070</longitude>
      <elevation>6 ft</elevation>
      </observation_location>
      <estimated></estimated>
      <station_id>MNJ12</station_id>
      <observation_time>Last Updated on January 16, 2:25 AM EST</observation_time>
      <observation_time_rfc822>Sat, 16 Jan 2016 02:25:00 -0500</observation_time_rfc822>
      <observation_epoch>1452929100</observation_epoch>
      <local_time_rfc822>Sat, 16 Jan 2016 03:01:09 -0500</local_time_rfc822>
      <local_epoch>1452931269</local_epoch>
      <local_tz_short>EST</local_tz_short>
      <local_tz_long>America/New_York</local_tz_long>
      <local_tz_offset>-0500</local_tz_offset>
      [B][COLOR="DarkOrange"]<weather>[/COLOR][/B][B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
      <temperature_string>44 F (6.7 C)</temperature_string>
      <temp_f>44</temp_f>
      <temp_c>6.7</temp_c>
      <relative_humidity>96%</relative_humidity>
      <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
      <wind_dir>NNE</wind_dir>
      <wind_degrees>32</wind_degrees>
      <wind_mph>5</wind_mph>
      <wind_gust_mph>11.0</wind_gust_mph>
      <wind_kph>8.0</wind_kph>
      <wind_gust_kph>17.7</wind_gust_kph>
      <pressure_mb>996</pressure_mb>
      <pressure_in>29.41</pressure_in>
      <pressure_trend>+</pressure_trend>
      <dewpoint_string>43 F (6 C)</dewpoint_string>
      <dewpoint_f>43</dewpoint_f>
      <dewpoint_c>6</dewpoint_c>
      <heat_index_string>NA</heat_index_string>
      <heat_index_f>NA</heat_index_f>
      <heat_index_c>NA</heat_index_c>
      <windchill_string>41 F (5 C)</windchill_string>
      <windchill_f>41</windchill_f>
      <windchill_c>5</windchill_c>
      <feelslike_string>41 F (5 C)</feelslike_string>
      <feelslike_f>41</feelslike_f>
      <feelslike_c>5</feelslike_c>
      <visibility_mi>10.0</visibility_mi>
      <visibility_km>16.1</visibility_km>
      <solarradiation/>
      <UV>0</UV>
      <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
      <precip_1hr_in>0.00</precip_1hr_in>
      <precip_1hr_metric>0</precip_1hr_metric>
      <precip_today_string>in ( mm)</precip_today_string>
      <precip_today_in/>
      <precip_today_metric/>
      <icon>cloudy</icon>
      <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
      <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
      <history_url>
      http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
      </history_url>
      <ob_url>
      http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
      </ob_url>
      [B][COLOR="red"]</current_observation>[/COLOR][/B]

      Now we need to split it again

      Action #4
      Variable Split
      • Name: %weather2
      • Splitter: <weather>

      Now you'll have the %weather22 variable which will be equal to the information present after the <weather> tag:

      Code:
      [B][COLOR="SeaGreen"]Overcast[/COLOR][/B][B][COLOR="darkorange"]</weather>[/COLOR][/B]
      <temperature_string>44 F (6.7 C)</temperature_string>
      <temp_f>44</temp_f>
      <temp_c>6.7</temp_c>
      <relative_humidity>96%</relative_humidity>
      <wind_string>From the NNE at 5 MPH Gusting to 11.0 MPH</wind_string>
      <wind_dir>NNE</wind_dir>
      <wind_degrees>32</wind_degrees>
      <wind_mph>5</wind_mph>
      <wind_gust_mph>11.0</wind_gust_mph>
      <wind_kph>8.0</wind_kph>
      <wind_gust_kph>17.7</wind_gust_kph>
      <pressure_mb>996</pressure_mb>
      <pressure_in>29.41</pressure_in>
      <pressure_trend>+</pressure_trend>
      <dewpoint_string>43 F (6 C)</dewpoint_string>
      <dewpoint_f>43</dewpoint_f>
      <dewpoint_c>6</dewpoint_c>
      <heat_index_string>NA</heat_index_string>
      <heat_index_f>NA</heat_index_f>
      <heat_index_c>NA</heat_index_c>
      <windchill_string>41 F (5 C)</windchill_string>
      <windchill_f>41</windchill_f>
      <windchill_c>5</windchill_c>
      <feelslike_string>41 F (5 C)</feelslike_string>
      <feelslike_f>41</feelslike_f>
      <feelslike_c>5</feelslike_c>
      <visibility_mi>10.0</visibility_mi>
      <visibility_km>16.1</visibility_km>
      <solarradiation/>
      <UV>0</UV>
      <precip_1hr_string>0.00 in ( 0 mm)</precip_1hr_string>
      <precip_1hr_in>0.00</precip_1hr_in>
      <precip_1hr_metric>0</precip_1hr_metric>
      <precip_today_string>in ( mm)</precip_today_string>
      <precip_today_in/>
      <precip_today_metric/>
      <icon>cloudy</icon>
      <icon_url>http://icons.wxug.com/i/c/k/nt_cloudy.gif</icon_url>
      <forecast_url>http://www.wunderground.com/US/NJ/Jersey_City.html</forecast_url>
      <history_url>
      http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=MNJ12
      </history_url>
      <ob_url>
      http://www.wunderground.com/cgi-bin/findweather/getForecast?query=40.708744,-74.053070
      </ob_url>
      [B][COLOR="red"]</current_observation>[/COLOR][/B]

      Now we need to split one last time to wipe evertyhing after the </weather> tag to keep only the "Overcast" value:

      Action #5
      Variable Split
      • Name: %weather22
      • Splitter: </weather>

      Now you'll have the %weather221 variable which will be equal to the information present before the </weather> tag:

      Code:
      [COLOR="SeaGreen"][B]Overcast[/B][/COLOR]

      Now we can save this value in another variable so its safe:

      Action #6
      Variable Set
      • Name: %CURRENTWEATHER
      • To: %weather221

      so in this example %CURRENTWEATHER = Overcast

      Action #7
      If
      • Condition: %CURRENTWEATHER doesn't match Clear

      (If weather isn't clear ---> bad weather)

      Action #8
      Send Intent
      • Action: android.intent.action.VIEW
      • Data: homebuddy://activate?vera=<your_vera_serial_number>&<your_scene_number>
      • Target: Activity

      replace your_vera_serial_number and your_scene_number by the correct value (don't forget to remove the <> symbols)

      Action #9
      End If

      Now you're done. If the weather isn't clear, tasker will send an intent to homebuddy which will then send the command to your Vera to trigger the scene you have made to turn on your lights.

      Now you only need to create a Profile that triggers this task based on your location either with the Cell Near function or Location function. You could also trigger the Task when our phone is connected to your home wifi (specific SSID) so the Task only runs when you are near your door (if you get wifi at the door).

      Finally you might think I forgot about that "turn on the lights" at sunset thing... No need to use Tasker for that (even if that could be done). There is a simple Vera app to detect sunset and sunrise which you can use to trigger the same scene. Its called "Day or Night"

      That's it, hope it will help some of you. :good:


      For reference, the weather conditions that can be present between the <weather> and </weather> tags are
      Code:
      [Light/Heavy] Drizzle
      [Light/Heavy] Rain
      [Light/Heavy] Snow
      [Light/Heavy] Snow Grains
      [Light/Heavy] Ice Crystals
      [Light/Heavy] Ice Pellets
      [Light/Heavy] Hail
      [Light/Heavy] Mist
      [Light/Heavy] Fog
      [Light/Heavy] Fog Patches
      [Light/Heavy] Smoke
      [Light/Heavy] Volcanic Ash
      [Light/Heavy] Widespread Dust
      [Light/Heavy] Sand
      [Light/Heavy] Haze
      [Light/Heavy] Spray
      [Light/Heavy] Dust Whirls
      [Light/Heavy] Sandstorm
      [Light/Heavy] Low Drifting Snow
      [Light/Heavy] Low Drifting Widespread Dust
      [Light/Heavy] Low Drifting Sand
      [Light/Heavy] Blowing Snow
      [Light/Heavy] Blowing Widespread Dust
      [Light/Heavy] Blowing Sand
      [Light/Heavy] Rain Mist
      [Light/Heavy] Rain Showers
      [Light/Heavy] Snow Showers
      [Light/Heavy] Snow Blowing Snow Mist
      [Light/Heavy] Ice Pellet Showers
      [Light/Heavy] Hail Showers
      [Light/Heavy] Small Hail Showers
      [Light/Heavy] Thunderstorm
      [Light/Heavy] Thunderstorms and Rain
      [Light/Heavy] Thunderstorms and Snow
      [Light/Heavy] Thunderstorms and Ice Pellets
      [Light/Heavy] Thunderstorms with Hail
      [Light/Heavy] Thunderstorms with Small Hail
      [Light/Heavy] Freezing Drizzle
      [Light/Heavy] Freezing Rain
      [Light/Heavy] Freezing Fog
      Patches of Fog
      Shallow Fog
      Partial Fog
      Overcast
      Clear
      Partly Cloudy
      Mostly Cloudy
      Scattered Clouds
      Small Hail
      Squalls
      Funnel Cloud
      Unknown Precipitation
      Unknown

      So you might want to add some more values than only "Clear" at action #7 cause there are other weather values where its still sunny enough outside and you don't need to turn on the lights...



      You could also use AutoVera instead of homebuddy to make the bridge between your Vera and Tasker (its a tasker plugin). The advantage of using hommebuddy is that its free, not AutoVera
      1
      I have a N6P and I have a profile that is requiring a code in order to access apps like my gallery and Facebook.
      Now my question is if there is a way I kan change the annoying number pad lock with the much easier fingerprint sensor?
      Or a way to tell the profile to disable the code request if the phone was unlocked by the print sensor?
      Thanks a head!

      That's a good question and I think you might be the first person to run into that. I cannot find any information on how that would be possible.
      1
      If you're like me, the Android lockscreen drives you up the wall! When I need access to my phone, I need it now. I don't want to have to put a pin in each time but if I don't then my kids will break in and find out I'm putting them up for adoption. When I'm at work this isn't an issue though because my kids are at home locked up in the basement. That's why this Tasker profile will come in handy by disabling my lockscreen in trusted locations. So now when I head in to work my phone will disable the lockscreen. Pretty dang useful.

      Entry Task

      create an entry task (name it “Lockscreen OFF“) and tap the “+” button.
      Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock OFF“.
      Exit Task

      create an entry task (name it “Lockscreen ON“) and tap the “+” button.
      Select “Plugin“, “Secure Settings” and “Root actions” that order. Set “Pattern lock ON“.
      Profile

      Create new. Select “State“, “Net” and “Wi-Fi connected” in that order.
      Enter the SSID of your home Wi-Fi network.
      Link to the “Lockscreen OFF” Task.
      Long press the profile and add an exit task. Select “Lockscreen ON“.
      I created a profile using your instruction but I was getting error "an error occurred while executing Pattern Lock". Root access is granted to Secure Settings
      1
      Thank you for helping us newbies with this program.... It is a little daunting at first, but help like this helps, me at least, grasp the concepts easier.

      How could I go about doing your #4. Night mode or Quiet time (tho i would probably just toggle Airplane Mode)... but only for specific days? I usually stay up later on Friday and Saturday... so I wouldnt want to miss a call or text at say 11pm... but during the week (Sun-Thurs) I am in bed by 10 due to getting up pretty early. Would I really need to create the task for each day?

      As an example, I would want quiet from 10pm to 5am Sun-Thurs... and 1am to 9am on Fri-Sat. I could go without Fri and Sat if necessary. I just dont see how to do a day and time profile. THANKS!
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone