What Tasker Actually Does
Tasker is a context-automation app for Android that reacts to real-world conditions — your location, the Wi-Fi network you're connected to, the time of day, your battery level — and runs actions in response. Unlike simple "automatic DND" toggles built into Android, Tasker lets you chain conditions together (e.g. "connected to office Wi-Fi AND it's a weekday AND it's between 9 AM and 6 PM") and combine multiple actions in a single automated routine (silence ringer, set brightness, disable mobile data, launch an app). It costs a few dollars on the Play Store but pays for itself the first week you stop manually silencing your phone at your desk.
This guide covers the specific use case of auto-silencing your phone when you arrive at the office, using Wi-Fi SSID as the trigger, and restoring normal volume when you leave.
Prerequisites
- Tasker installed from the Play Store.
- Android's location and Wi-Fi permissions granted to Tasker (Android requires location permission to read the connected SSID, even though you're not using GPS for this).
- Battery optimization disabled for Tasker (Settings > Apps > Tasker > Battery > Unrestricted), otherwise Android will kill Tasker's background service and your triggers stop firing.
Step 1: Create a Profile Based on Wi-Fi Connection
- Open Tasker and go to the Profiles tab.
- Tap the + button to create a new profile.
- Select State > Net > Wifi Connected.
- Tap the SSID field and either select your office network from the scanned list or type it manually.
- Tap the back arrow to confirm.
Tasker will now prompt you to attach a Task (an action or sequence of actions) to this new profile — this fires when the state becomes true, i.e. the moment you join that Wi-Fi network.
Step 2: Build the "Silence Phone" Task
- When prompted, choose New Task, name it something like
Office Silent, and tap the checkmark. - Tap the + to add an action.
- Choose Audio > Sound Mode (or Audio > Ringer Volume on some Tasker versions).
- Set Sound Mode to Silent or Vibrate, depending on your preference.
- Tap the back arrow to save the action, and back again to save the task.
You can stack additional actions in the same task before saving. Common additions for an office profile:
- Display > Display Brightness — lock brightness to a comfortable indoor level.
- Net > Mobile Data — turn mobile data off since you're on office Wi-Fi anyway, saving battery.
- App > Load App — auto-launch your time-tracking or ticketing app.
Step 3: Create the Exit Task to Restore Normal Volume
A profile in Tasker has both an Enter task (fires when the condition becomes true) and an Exit task (fires when it becomes false again). Without an exit task, your phone stays silent forever after you leave the building.
- In the Profiles tab, long-press your new "Wifi Connected" profile.
- Tap Add Exit Task.
- Choose New Task, name it
Office Silent Exit. - Add the action Audio > Sound Mode and set it back to Normal.
- If you disabled mobile data in the enter task, add Net > Mobile Data set to On here too.
Step 4: Restrict the Profile to Weekday Working Hours
You probably don't want your phone silenced just because you're near the office Wi-Fi on a Saturday, or because you're still connected at 8 PM. Layer a time context on top of the Wi-Fi condition:
- Long-press the profile and choose Add (or tap the context row and select Add to add a second context).
- Select Time, set From to
09:00and To to18:00. - Tap the back arrow, then long-press the profile again and select Add once more.
- Select State > Day and check Mon through Fri.
Tasker profiles use AND logic between multiple contexts by default, so the phone will only silence when all three conditions (Wi-Fi + time window + weekday) are true simultaneously.
Testing the Profile
- From the Profiles tab, tap the profile name once to view its status — a green checkmark or highlighted state means it's currently active.
- Toggle Wi-Fi off and back on while connected to the office network to force Tasker to re-evaluate the state.
- Watch for the ringer mode to change; you can also check Tasker > Task edit > Run manually to fire the task without waiting for the trigger, which is the fastest way to confirm the actions themselves work before debugging the trigger.
Going Further
Once the basic profile works, Tasker's real power shows up when you combine multiple triggers into a single automation identity: use Scenes for a home-screen widget that shows your current status, add Variables to remember your ringer volume before entering the office so the exit task restores the exact prior volume instead of a hardcoded value, or import community-built profiles from Tasker's project-sharing forums to skip building common automations from scratch.
Discussion & Insights