double tap back of phone to trigger task
is it possible to trigger a task by double tapping the back of my phone? I have a Samsung and apparently tap tap only works for pixels
is it possible to trigger a task by double tapping the back of my phone? I have a Samsung and apparently tap tap only works for pixels
A suite of notifications showing:
• Maps
• Street View images
• Addresses
• Distance and direction to a point
________________________________________
Screenshots
Google Maps:
https://drive.google.com/drive/folders/1wWPloEJCU06bgm7kFIhrAFhh9-8eNA5h
Wikimedia Maps:
https://drive.google.com/drive/folders/1s9-pm0qVjNJosq7mXjvy_Nh8qEC07fco
________________________________________
There are two options included to choose from:
________________________________________
How does it work?
Using either option, you can show a notification containing a map of your current location and address.
Or you can show a notification with a dynamic radar image. This shows the distance, direction and address of your desired target location relative to your current location. As you refresh the notification, when you get closer than one mile from the target location, the target dot starts to move closer to the centre of the radar. It gets larger as it gets closer. You can see your relative distance decrease.
If you are using the Google Maps option, you also get a button on your radar notification that when tapped, opens a new notification showing the Street View image of your target location. If no Street View image is available, a map image is shown instead.
There is also a dedicated, standalone Street View only notification.
If you are using the Wikimedia option, you can choose either the radar notification or the map image notification.
Tap the notification to open your default map app at your current location.
Set your desired map zoom level for the maps.
Set your distance units for the radar notifications.
To set a radar target location, you must use 'lat,long' (e.g. 51.513222,-0.159015).
________________________________________
Google Maps API key:
If you want to use the Google Maps option, you will need an API key. You will need to provide a payment method but Google gives a free allowance (10,000) of API calls (billable events) each month:
https://developers.google.com/maps/billing-and-pricing/pricing
You can set limits and warnings.
Visit https://cloud.google.com and navigate to the 'Console'. You will need to create an account and then create a Project. Inside that Project, go to 'APIs and services'. You can then add 'Credentials' to the project. You will need to add two services at the same time (using the check boxes) to be able to use them both under the same API key within your project:
You must add both to the same project. When you have the API key, you can enter this in the Tasker project.
There is no API key needed for the Wikimedia option.
________________________________________
NOTE: To provide the fastest and best location fix possible, I have added an Accuracy Threshold. The script will check if the location accuracy is worse than 100 meters. If it is, it ignores the bad cell tower fix and waits a few more seconds for the GPS or Wi-Fi to provide a tighter lock.
Download:
A quick way to get a notification showing a map and street address for your current location, in the background.
Screenshots:
https://drive.google.com/drive/folders/1s9-pm0qVjNJosq7mXjvy_Nh8qEC07fco
Set your desired map zoom level in action 1 of the task.
The map image is drawn from WikiMedia maps. It's not possible to use Google Maps, Openstreetmap, or any other map API I could find. If no map image is returned for your area, or the network glitches, a message replaces the map to say that the map is unavailable.
NOTE: To provide the fastest and best location fix possible, I have added an Accuracy Threshold. The script will check if the location accuracy is worse than 100 meters. If it is, it ignores the bad cell tower fix and waits a few more seconds for the GPS or Wi-Fi to provide a tighter lock.
NOTE 2: The first version of the task didn't always release GPS if you were indoors, due to a BeanShell annoyance (lm.removeUpdates(this)). I have fixed it now to release GPS after the location fix. If you were one of the first 2 people to download this, download it again.
Download:
Hello!
I've used Tasker for 9-10 years now, but still consider myself a new user (I'm currently using a Samsung Galaxy S25).
I have several old profiles set up with Cell Near as a trigger, and have never had an issue with them until Tuesday evening when my leaving Work and Arriving Home routines failed to trigger.
While troubleshooting, I realized that my carrier finally activated 5G Stand Alone (maybe part of the 2G/3G shutdown?). As a result, Tasker is unable to use Cell Near to scan these new cell IDs, the page remains blank even after scanning for 10+ minutes.
Does anyone know how to force Cell Near to read these new 5G SA towers?
Alternatively, is there an app that can feed this data to Tasker?
--
EDIT1: Okay, looking at a map of cell towers in my country, I can see that for LTE towers, the format used for Cell Near is:
LTE:[PLMNcodeforcarrierLTE].[cellID]
I can see the cell IDs for the 5G SA towers (it's 4 digits longer than the LTE cell IDs), but I don't actually know which ones I'm connecting to, so I don't know if something like this would work:
5GNR:[PLMNcodeforcarrier5GNR].[cellID]
I don't even know if '5GNR' is the correct identifier for 5G SA cell IDs, does anyone have any insight?
--
EDIT2: To troubleshoot, I made a profile triggered by Cell Near to write the current cell ID to a .txt file. When forcing LTE connection it works, and when returning to 5G SA, all it records is '%CELLID':
Profile: Test Logs
State: Cell Near [ Cell Tower / Last Signal:{INSERT
ALL
CELL
IDS Ignore Cells:* ]
Enter Task: Log Cell ID
A1: Wait [
MS: 0
Seconds: 1
Minutes: 0
Hours: 0
Days: 0 ]
A2: Write File [
File: Download/cell_logtest.txt
Text: %DATE %TIME - %CELLID
Append: On
Add Newline: On ]
My test profile is triggering even though there is no arrow beside the cell ID it's picking up, and the only thing written in the cell_logtest.txt file is %CELLID
So on the site, I found this task and it's not working right. It sending my location with any message that the contact send me. I'm pretty new to tasker, I've not quite figured out how to make my own tasks yet, just been importing from the site.
Here's the link
This is the description copied from it.
Profile: Reply Location To SMS From Special Contact
Variables: \[ %contact:not set %message\_received:not set %reply:has value \]
Event: Received Text \[ Type:Any Sender:%contact Content:%message\_received SIM Card:\* MMS Body:\* \]
Enter Task: Anon
A1: Flash \[
Text: Getting location to send back to %contact...
Continue Task Immediately: On
Dismiss On Click: On \]
A2: Get Location v2 \[
Timeout (Seconds): 30
Last Location If Timeout: On \]
A3: Send SMS \[
Number: %SMSRF
Message: %reply %gl\_map\_url \]
A4: Flash \[
Text: Sent location to %contact!
Continue Task Immediately: On
Dismiss On Click: On \]
Wondering if anyone can help me with this. I have a number of tasks that rely on adb wifi that were working correctly up until today. All of a sudden now when the tasks run they hang and time out. I know the problem is not with the tasks itself as 1. they used to work up until today and 2. if I run the same commands using another adb shell plugin they work as expected.
I have shizuku enabling the required permissions on boot and when I check the status in tasker I'm returning has_adb_wifi = true. below is a sample task using the action
Task: ATV Volume Up
Settings: Abort Existing Task
A1: ADB Wifi [
Command: input keyevent KEYCODE_VOLUME_UP
Host: %TV_IP
Port: %TV_Port
Timeout (Seconds): 10 ]
anyone have any idea what's going on?
Under certain conditions, I would like to upload a file to a Nextcloud instance via WebDAV. This works so far without any problems. Sometimes, however, the task is triggered too quickly in succession and the file is then locked at NextCloud from the last attempt.
How can I either wait until the older trial is finished or not allow any new trials at all, or allow only the latest of a total of 10 trials?
I usually listen to mixes on SoundCloud/YouTube while driving and when a song I like gets played I would like to be able to somehow save a a timestamp so that I can go back later and find said song.
This could either save the song name and current track time to a text file or save a screenshot of the persistent notification that shows this info (however I usually have Google maps on so the notification isn't showing).
I'm new to tasker so apologies if this is a dumb request!
Hi,
I have installed suzuku and delta and I am able turn the hotspot on and off by sending the corresponding intents, but what I want is a way to toggle the hotspot, so does anybody know how to get the current state?
Many thanks
I am trying to disable notifications for apps for $TIME after opening them.
I have created an event based profile that activates on App Changed of the offending apps. I thought that I probably want to use AutoNotification Snooze set to $TIME, with the Manual Apps setting set to %app_package. This does not work, it seems to only hide notifications displayed when the action is executed. Is this the intended behavior or did I do something wrong in the configuration?
It seems only AutoNotification Block will do what I want in this case. This does not have a time setting though, so I would have to use Wait actions to enable the notifications again after $TIME. This would generate a long wait action every time I opened one of these apps, so I hope there is a better solution.
I would really appreciate any ideas on how to achieve this.
Early days of Tasker and pulling my hair out. What should I specify in the "Get Calendar Events" action for start/end times to get all of the events for today? Even Claude seems to have no clue.
I have been able to send a message to my Amazfit Balance 2 from Tasker with no problem. I want to get an intent back, for instance when a physical watch button is double pressed, to trigger a task and have had no success. I've tried several apps paid/unpaid and none work. There must be some solution to this. I asked Grok and was totally frustrated.
UPDATE: V1.2:
• Added favicon image as bigLargeIcon in notification
• Added fix to prevent delayed duplicate URLs being falsely triggered by Tasker's clipboard changed event misfiring due to Android quirks
UPDATE: V1.1 Now has graceful fallback if title or text isn't found ("%java_text" no longer shows).
Of all my projects, I'm most happy with this one. It encompasses lots of small facets that combine to form a comprehensive utility.
This project is a lightweight, zero-dependency automation tool that monitors your *clipboard for links, extracts the underlying web page data, and gives you a clean reading experience right from your notifications - completely bypassing the need for plugins or external reading apps.
* If you don't want to use the clipboard trigger, change it for something else.
It doesn't bypass paywalls.
Screenshots:
https://drive.google.com/drive/folders/1jzuyoMV1sZxSXduIzHJak46QvXHfzGCv
Key Features & Benefits:
Automated URL Detection & Sanitization: Instantly detects when a link is copied (even within a block of text), strips out messy tracking parameters, and trims excess whitespace for a clean URL.
100% Native Implementation: No plugins required. Everything runs directly inside Tasker using advanced built-in actions.
Smart Content Extraction: Programmatically isolates the page title, main article body text, estimated reading time, and primary banner image while ignoring distracting ads, menus and sidebars.
Interactive Rich Notifications: Presents captured articles as a 'Big Picture' notification featuring the web page's hero image, title, and a reading-time summary. If the webpage has no 'hero' image, a standard notification is shown.
Dual Action Capabilities:
How It Works Under the Hood:
The project operates in two synchronized phases:
Phase 1: Background Extraction (The Clipboard Monitor)
When a URL is copied to your clipboard, a profile triggers a core extraction task. Instead of using a standard HTTP Request - which many modern websites block - the project runs a custom JavaScriptlet utilizing an XMLHttpRequest. By executing the request inside Tasker's native JavaScript engine, it mimics a real mobile web browser's network stack. Once the raw HTML is securely retrieved, a virtual DOMParser isolates the article content, filters out bad elements (like headers, footers, and scripts), and calculates the reading time based on word count.
Phase 2: The Interactive Overlay
When you tap "Read Webpage Text" from the notification, an intent broadcasts the extracted data to a secondary task. To ensure this project works across all Android devices without hardcoded dimensions or fragile layout files, the reading interface is built using a native Java WindowManager Overlay.
Solutions:
The Anti-Bot Bypass Solution - For users looking to adapt or learn from this project, one of its most sophisticated engineering features is how it handles modern website anti-bot protections.
The Problem with Standard Scrapers - Most basic automation tools use simple HTTP GET commands. When a website's firewall (like Cloudflare or Akamai) sees this, it checks the incoming User-Agent string. If it identifies the request as an automated script or an unknown bot (like Tasker's default user-agent can sometimes be interpreted), it immediately drops the connection or throws a 403 Forbidden error.
The Clever Fix Implemented Here - This project uses a two-pronged approach to remain virtually invisible to anti-scraping firewalls:
Browser Environment Mimicry:
Q: What's in it for you?
A: Whatever you want. You can use the project as is, or you can cannibalise it and take one or more of its elements for your own projects:
Final Note: There will be a few websites that won't play ball, it's the same for Google's Reading Mode and every Read Later app out there. I'm pretty confident that this project at least meets their capabilities and in some cases exceeds them. A classic case in point is Reddit - Reddit simply refuses to play ball - it does it with Google's Reading Mode as well.
For websites that don't work - the URL is still stored for later.
If you don't want the clipboard profile trigger, replace it with a different solution (e.g. AutoShare etc).
If you want to build this up into a complete Read Later utility, with stored URLs etc, it will be easy. You'll just need to store the title, text, image details etc.
You could also easily add on an AI Summary extension to summarise the webpage text if you wanted.
OK, whatever, give me the download:
Screenshots:
https://drive.google.com/drive/folders/1koCCT3Kmg5Eau0s01rtnlIYbHd10I\_uP
Short and sweet:
Run task
Enter doodle
Doodle appears in big picture notification
Dismiss notification - Doodle gone
Doodle away:
As promised, here is my template for a big picture notification showing a line graph.
Screenshots:
https://drive.google.com/drive/folders/1IAxEwLtpvbudN3hxX6DnRv7ucyMI1Y7D
Features:
NOTE: This may not work on older Android versions due to changes in Android's notification framework.
How to use:
It's straightforward. There are three example tasks for you to play with, or deploy your own adaptation. The graph just needs one variable to work (%DataString). This MUST be a comma separated string with NO SPACES. (e.g. 1,2,3,4...).
There is theoretically no upper limit to the number of values you can plot but I don't know if some arbitrarily high number will break something.
The 'Now' line position is set via a variable (%NowIndex). If you have 20 values in %DataString and you set %NowIndex to '10', the now line will appear at the tenth position along the X axis (halfway along it).
If you DON'T want a now line, set it to an arbitrarily high or negative value. E.g. if you have 20 values in %DataString, set %NowIndex to >20 or -1 (and it won't show on the graph).
Colours can be changed in the Java code. Just swap out the hex codes for your preferences.
Get your graph on here:
UPDATED - I've added some detail to the notification image (house, tree and night-time stars) - screenshots updated.
This is a fully working project that provides a discrete Big Picture notification to gently nudge you to take a break from staring at your screen. It doesn't nag you or take any other action.
Screenshots:
https://drive.google.com/drive/folders/1XBJ9P0YEjKZLg1kMkkQWQMrC0YOxD63K
I'm primarily sharing this to provide a different Tasker notification template style that you can adapt for your own project. The project however works in the following way:
When first run, or when your device screen has been off for more than 15 minutes, a silent, big picture notification is shown. It displays a scene with a sun, high in the blue sky.
Every 5 minutes, if your screen is kept on, the notification is redrawn and the sun starts to drop in the sky. As the sun starts to reach the horizon, the sky gradually changes colour to show dusk, twilight followed by sunset. This process happens over 30 minutes.
The notification suggests that you take a break from your phone at this point. If you turn the screen off, the notification starts to 'recharge'. Once your device screen has been off for 15 minutes, the notification image will have been restored to it's starting point with the sun high in the sky.
These time durations are recommended:
"For digital wellbeing, we want to align with natural human attention spans and eye-strain guidelines (like the 20-20-20 rule). 30 to 45 Minutes is the recommended window for screen attention. 30 minutes is the sweet spot for a typical scrolling session before you start losing track of time.
For a true mental 'reset', 15-20 minutes is recommended."
If you just want to use the notification and not the project, the Java Code action only requires one variable value to set the sun's position and the sky colours (%SessionIntervalPerc), a value of 1.00 is full and a value of 0.00 is empty and a value of 0.50 is the halfway point.
Of course you can adjust the timings for the notification update and screen time check intervals in the project.
When the screen is off, nothing happens and the Tick profile is switched off entirely.
To run the project, just enable the profiles and use the device normally. The notification will appear when you first turn the screen on.
Download:
Been looking for a way to trigger a task via my car's screen using android auto. I have found a way to get this working and thought I'd share.
• Create a phone contact for your task, I set the number to #*1 for my first task
• Add an android auto launcher shortcut to this contact in AA settings on your phone
• Create a tasker profile with a logcat trigger and use component "LASTMESSAGEI" and filter "Received last update #*1 - Calling via" changing to match your number (optionally add your carrier at the end"
• Add your task. I have the first action as end call then call my task with perform task
im creating a hidden control panel that you can show by swiping from the edges, i have a problem with wifi and mobile data switches because i cant toggle wifi nor data without root or shizuku, but i cant have shizuku running 24/7. im on Redmi note 14 4G HyperOS 3 (why cant i post a picture?)
A friend asked me to make a custom native Tasker notification with a line graph based on a previous AutoTools web screen. I made it and am looking for other notification layout styles besides line graphs and the previous circle style charts I already posted a while ago.
Like I say, I'm looking for some ideas about layouts and graphic styles that could be used to display data/information in inventive ways via a Tasker notification (not AutoNotification). If anyone has any ideas for different styles of graphical layouts or designs, I can make some templates and dump them on Taskernet for the community.
I won't be supporting them as it eats too much time. But I'm more than happy to create 'templates' that people can plug their own data into and customise with their own colours etc.
If anyone has any ideas, or even better, if you can link a rough mock-up of your ideas, I can make some (if it's feasible).
I am not interested in making specific projects, I'm just interested in creating templates or 'styles' of rich notifications using Android's Notification.BigPictureStyle.
To show you what I'm talking about, here is the old chart style graphics notification I previously made:
https://drive.google.com/file/d/1SzIROAzywjgpwWa0xHJPaHCpXvFrbGIt/view?usp=drivesdk
Here is the original AutoTools web screen I adapted:
https://drive.google.com/file/d/1moIS4C5Pn6paYzBwYRLfzCOi3vIo3NPf/view?usp=drivesdk
... And turned into this Tasker Notification:
https://drive.google.com/file/d/1Mte8fWfPshVG00qfhs\_zpWwW3xnR7K3s/view?usp=drivesdk
https://drive.google.com/file/d/1UXjXRi47\_UjAlTs0F217eweUDRVP7lgo/view?usp=drivesdk
https://drive.google.com/file/d/10YBSJ94ALOMCk4ynrmcrbul3DGbXQvdY/view?usp=drivesdk
Hi,
I like to run task only if tasker widget v2 is foreground (active), else idle..
Anybody help me please..
Thanks in advance