Translate

Monday, June 11, 2018

How to make your own Do Not Disturb rules using Tasker

Control when your phone annoys you.

Your phone's Do Not Disturb features are handy — when we actually remember to turn them on. Sure, Vibrate and Silent can keep our phone from making noise, but they don't make exceptions. Do Not Disturb will keep your apps quiet, but if your kids call you in the middle of the night because of an emergency, Do Not Disturb will let that call ring and wake you up.

If you own a phone like a Google Pixel 2, you can schedule multiple rules that can turn Do Not Disturb on during your class periods, or during your Sunday morning mass, but on other phones like the Samsung Galaxy S9, you're limited to one automatic rule for turning Do Not Disturb on and off.

That's where Tasker comes in.

Tasker is a paid automation app that allows you to program and automate a wide array of actions and procedures on your phone using Tasks and Profiles. We can use Tasker to automate when Do Not Disturb turns on and off, allowing us to make more specific profiles and turn other things on and off when we're doing it. The profile we're making today is one of the most basic Tasker profiles out there, which makes it a great way to ease into the app and what it can do.

Today's project can be broken down into 2 phases: making the Do Not Disturb On task, and assembling Do Not Disturb profiles that can activate the Do Not Disturb task automatically.

Download Tasker ($2.99)

Making a Do Not Disturb task

  1. Open Tasker.
  2. Tap Tasks in the top tab menu.
  3. Tap New Task (the floating action + button in the bottom right corner).
  4. Title your task. I suggest Do Not Disturb On, so you know what it does.
  5. Tap the checkmark next to the new task's name.

  6. Tap New Action (the floating action + button in the bottom right corner).
  7. In the Select Action menu, tap Filter.
  8. Type in do. The only action that should be left in the menu is Do Not Disturb.
  9. Tap Do Not Disturb.

  10. Tap Mode.
  11. Tap the Do Not Disturb mode you want. None will not allow anything to disturb you, while Priority will allow Priority calls or texts to get through.
  12. Tap Play in the bottom left corner to execute the task and see if it works. A green dot should appear next to the Do Not Disturb action, signalling the action was executed. If a Do Not Disturb icon appears in the notification bar (it may be to the left or right side of the bar depending on your device), your task works.
  13. If your task works, tap the Back arrow in the top left corner.

If you want, you can also add other actions to our Do Not Disturb task, such as:

  • Adjusting your screen timeout so that your screen stays on for less time with the "Display Timeout" action.
  • Turning on or off Bluetooth or Wi-Fi with the "Bluetooth" or "WiFI" actions.
  • Adjusting your ringtone volume with the "Ringer Volume" action.

Each of these actions, like the Do Not Disturb action, will revert back to their previous setting once the profile is over. If you add actions besides these, you'll need to test them to see whether they require an exit task at the end of the profile to set them back to their previous state. If they do need an exit task, follow steps 3-13, setting Do Not Disturb to All and setting your other actions back to the desired state.

Making a Do Not Disturb profile

Now that we have our tasks, it's time to make a profile that will trigger them. Profiles trigger tasks based on Contexts, such as time and date.

  1. Open Tasker.
  2. Tap Profiles in the top tab menu.
  3. Tap New Profile (the floating action + button in the bottom right corner).
  4. In the First Context menu, tap Time.

  5. Scroll the From time to the time of day you want the profile to start.
  6. Scroll the To time to the time of day you want the profile to end.
  7. Tap the Back arrow in the top left corner.
  8. Select your Do Not Disturb On task.
  9. Tap the back button one more time to exit Tasker and save the profile. Profile changes won't be acted on by Tasker until you leave the app.

From here, we have a few options we can exercise. If you want your profile to only trigger on certain days of the week, you can add an additional context for Day:

  1. Long-press the time context on the left side of your Do Not Disturb profile.
  2. Tap Add to add another context.
  3. Tap Day.

  4. If you want to trigger your profile based on day of the week instead of day of the month, tap Month Day to open a drop-down menu.
  5. Tap Week Day.
  6. Tap the days you with to activate the profile on.
  7. Tap the Back arrow in the top left corner.
  8. Tap the back button one more time to exit Tasker and save the profile. Profile changes won't be acted on by Tasker until you leave the app.

Note: If you have setting an overnight profile, like 11PM to 6AM, adding a Day context means that the profile with fire during the hours on those days. If a 11PM to 6AM profile has a Monday to Friday Day context, Do Not Disturb will be active 11PM to 11:59PM on Friday night, but will deactivate at 12AM Saturday morning.

Here are some ideas for using DND with Tasker:

  • Saturday or Sunday mornings during a religious service
  • Tuesday afternoon when you're in your yoga class
  • Wednesday and Friday nights so that you keep DND on while you're at D&D
  • Monday, Wednesday and Friday mornings while you're in your English lecture

After trying your hand at some custom Tasker Do Not Disturb profiles, play with the app some more! It can do a million things, especially once you start getting into the many, many third-party plugins available to Tasker that can help you do the impossible, like using Google Play Music as your alarm clock.

Download Tasker ($2.99)



from Android Central - Android Forums, News, Reviews, Help and Android Wallpapers https://ift.tt/2t017UL
via IFTTT

No comments:

Post a Comment