Complete Noob Question - Multiple DND Schedules Help - Tasker Tips & Tricks

Hi All,
Complete newbie to Tasker, I am trying to setup a couple of profiles that basically that initiates
Do Not Disturb between 0730 and 1600 Mon - Fri
Do Not Disturb between 2300 and 0530 Mon - Fri
Do Not Disturb between 2200 and 1000 Sat - Sun
Could use some help on how to set this up on Tasker, particular the time and day conditions, any help would be appreciated
Cheers
John

Three different profiles, each with a time context from start time (e.g. 0730) to end time (e.g. 1600) and an additional day context (e.g. Mon-Fri).
When setting up the day context, you may have to toggle "month day" to "week day". Month day displays a calendar format if you want to trigger always on a specific day(s) of the month.
I'm curious, why do this through tasker and not through the Do Not Disturb rules?
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

Incorrect world time zones

(OmniROM Lollipop 5.1.1 Nightly)
Stock OmniROM clock app shows a lot of incorrect world time zones. Correct San Francisco time is GMT -7:00 but the clock app says it's GMT -6:00. Same thing happens to London, Miami, Moscow and so on.
It's not a bug related to daylight saving time, because Los Angeles time is correct unlike San Francisco. Maybe it's caused by incorrect 'tzdata', in this case OmniROM contains outdated or incorrect tzdata files which can be found in /system/usr/share/zoneinfo/ or /data/misc/zoneinfo/.
This bug makes clock app unusable. Correct time information is very crucial for clock app. Next OmniROM release must include latest tzdata files.
The problem relates to more than just the clock app.
I have freshly installed OmniROM 4.4.4-20150520-jflte-FINAL on my Samsung Galaxy S4 SGH-M919 and then configured the settings and have not installed other apps.
I can confirm that much of the time zone information present to select in the ROM is incorrect.
What carrier are you using? Do you have Settings > Date & time > Automatic time zone selected?
At least with T-Mobile, I have had problems associated with letting the carrier set my time zone.
I have no reason to believe that the ROM has the wrong time-zone information as it works as expected for both OmniROM 4.4.4 and 5.1.1 on several phones, as long as I take control of the time zone from T-Mobile or am on one of my other SIMs.
Edit: In looking at the OmniROM source, /system/usr/share/zoneinfo/tzdata comes from the (unmodified) AOSP sources from bionic/libc/zoneinfo/tzdata and I only see commits in the last couple years that are updates to new "official" versions of tzdata as they are released. Any problem with the tzdata would then impact most ROMs out there. If there was a problem, it wouldn't be isolated to a couple people, ROMs, or devices.
jeffsf said:
What carrier are you using? Do you have Settings > Date & time > Automatic time zone selected?
Click to expand...
Click to collapse
I am not using a carrier nor a SIM. Neither Automatic time zone nor Automatic date & time are set.
I have figured out the problem. It appears that although date and time information may be set manually, accounting for Daylight Saving Time is automatic based on the date and time, but such is not made obvious to the user. OmniROM automatically presents the GMT offset adjusted for Daylight Saving Time; so, for example, if the usually United States of America and Canada Central time were desired, its GMT offset would customarily be presented as GMT - 6, but would instead be presented as GMT - 5 in OmniROM if the currently set date and time is withing the defined period for Daylight Saving Time.
The OmniROM design for manual setting date and time is, in my opinion, of bad practice; if manual date and time configuration is optional, then whether or on an adjustment should be made for Daylight Saving Time should too be optional if such an adjustment is at all to be implemented.
I particularly prefer manually setting the date and time information in the following order: Time Zone, Date, and then Time.
Ascii3 said:
I am not using a carrier nor a SIM. Neither Automatic time zone nor Automatic date & time are set.
I have figured out the problem. It appears that although date and time information may be set manually, accounting for Daylight Saving Time is automatic based on the date and time, but such is not made obvious to the user. OmniROM automatically presents the GMT offset adjusted for Daylight Saving Time; so, for example, if the usually United States of America and Canada Central time were desired, its GMT offset would customarily be presented as GMT - 6, but would instead be presented as GMT - 5 in OmniROM if the currently set date and time is withing the defined period for Daylight Saving Time.
The OmniROM design for manual setting date and time is, in my opinion, of bad practice; if manual date and time configuration is optional, then whether or on an adjustment should be made for Daylight Saving Time should too be optional if such an adjustment is at all to be implemented.
I particularly prefer manually setting the date and time information in the following order: Time Zone, Date, and then Time.
Click to expand...
Click to collapse
It's not "The OmniROM design" - it's "The AOSP design" - we haven't made any changes to this functionality, and thus it behaves just like a Nexus.

Five Awesome Things You Can Do With Tasker Right Now

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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!
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.
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.
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.
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
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!
NesBitton said:
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!
Click to expand...
Click to collapse
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.
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.
pmgreen said:
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.
Click to expand...
Click to collapse
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.)
pmgreen said:
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.
Click to expand...
Click to collapse
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
Serverort: 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
Thank you, you can also turn on flashlight when on dark place.
Thank you for sharing profiles.
Thank you for sharing profiles. "The knowledge is good when sharing it".
GroovyAPKs said:
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“.
Click to expand...
Click to collapse
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
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!
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.
its there anyway to toggle the nav bar from the quick settings?
NesBitton said:
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!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2679305
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!
jlang11 said:
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!
Click to expand...
Click to collapse
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.
orville87 said:
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
Click to expand...
Click to collapse
Awesome!! Ill give it a try tonight after work. Thank you!
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.
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.
MrMosoani said:
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.
Click to expand...
Click to collapse
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"
Thanks. But how come he was able to make it work in the tutorial? It was his first basic profile to turn On wifi on the phone when he reached home.

Phone number Search

Hey Ara! Thanks for tackling this series. I know that AC ranges from 101 articles, to device rumor mill articles, to tasker tutorial type articles, and based on comparing the comments of the full spectrum of articles, it looks like the tasker crowd might not be as large as some of the other crowds that read and are interested in ACs other stories, so... props to ya for taking on the giant.
I've been using tasker since I had the OG Droid and have loved its functionality. Lately though, I've been stumped on one thing in some of my tasker profiles that I just can't seem to nail down. It's a function that you may or may not be familiar with unless you've done other types of programming, specifically logic programming like ladder logic (PLC). I'm looking for an ON DELAY TIMER, not just a timer that begins and continues counting when a series of contexts (permissives) is activated, but a timer that will ONLY count while the contexts are true, and will stop counting AND RESET when at least one of the contexts isn't true. This way, if you want something to happen 5 minutes after your screen is on and your screen hasn't shut off into sleep mode, it will execute a task, but if for some reason the screen does shut off before 5 minutes, it will not execute the task and will begin counting from 0 sec the next time the screen turns on. I've tried to make custom ON DELAY TIMERS with variables and other methods, but my profiles just don't work the same as if there were just a simple ON DELAY TIMER task built in (Currently with variables, I can only start a timer based on contexts, and then check in an amount of time to see if the contexts are still true at the end of the timer, but nothing to stop the profile if a context goes false during the timing... so with my screen example, tasker can't tell the difference between the screen turning on for a minute, off for 3 minutes and on for 2 minutes and the screen being on for 6 minutes straight.). Anyway, if you, or anyone reading this stupid long comment, knows where to find this ON DELAY TIMER, or how to create one in tasker, please spread the wealth! Thanks!
Phone number Search
You can accomplish this but it will eat some RAM.
Have contexts trigger delay timer task.
In delay timer :
1 add variable, say %timer and add 1.
2 wait 1 second
3 stop task if criteria are not met.
4 goto step 1 (variable add) if %timer < set number.
5 whatever action you want triggered when counter reaches end
You can add some steps before the #1 listed for a dialog, spinner, etc if you want user to set new time each use.
Hope this helps.
Zac

Help needed to create a profile which shows my CPU temp in a permanent notification

Hi,
I have found that in my S8+ Oreo none of the apps work which would show me the temperature of my CPU. (maybe Google or Samsung disabled this call from third party apps to ask for this value in Oreo).
BUT I have found that the temperature of the CPU is get logged in at this file:/sys/devices/virtual/sec/sec-pa-thermistor/temperature
So my goal is to have this value permenently shown in the status bar refreshed in every seconds.
Is it possible with Tasker?
Thank you in advance
If you are rooted, yes.
Just use a shell action with use root enabled, cat the file and store the result to a variable then update a notification with the value.
The profile would be a time profile, likely during waking hours and run every x minutes.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Multi Schedule DND Mode

Does Android on the Samsung Note 9 has the ability to set more than one schedule for "Do Not Disturb". I want the "Do Not Disturb" hours schedule to be different for weekdays versus weekend.
Now possible with Android Q beta
SmsGN9 said:
Does Android on the Samsung Note 9 has the ability to set more than one schedule for "Do Not Disturb". I want the "Do Not Disturb" hours schedule to be different for weekdays versus weekend.
Click to expand...
Click to collapse
Yes, it is now possible through Android Q beta. Scheduling the same default configuration of DND for different times and days is possible.
However, it is still NOT possible to configure customized DND behaviour for the schedules, like example, I want total silence from midnight to 5 am but calls from starred contacts only during 6 pm to midnight.
Separate settings for DND customized for each schedule is still absent in Note 9, though this feature was earlier there in stock Oreo, and has been made available in stock Android Q.

Categories

Resources