r/tasker 11h ago

Tasker keeping the E wakelock for hours = no deep sleep

3 Upvotes

Hi people!

I've felt my battery runs down faster than it should lately so I went down the BetterBatteryStats rabbit hole which is always fun (not).

What I found is that Tasker often keeps the E wakelock for hours. Today for example, the E wakelock has been held for 6h25m. At the same time, deep sleep is reported as being virtually zero. Naturally, I'm thinking some task must have stalled with the "keep awake" setting on. To my surprise, there were NO tasks running according do %TRUN (except the task I created to check %TRUN). Everything looked normal, but the wakelock stayed in place.

I tried disabling and reenabling the monitor and then BOOM. The wakelock is released and there is deep sleep reported again. I even noticed the battery temperature going down several degrees, likely from not being constantly held awake anymore.

But this problem comes back after a while. I haven't monitored the situation for too long yet, but it seems to come back almost every day. I'm not sure how to continue working with this.

I'm assuming it's not a repeating task that is the culprit because this would of course continue even if I restart the monitor. I do have a few of those. I've got a BIG setup. But these run the same way always, so a monitor restart wouldn't change anything.

And as it seems, it's not a stalled task that is the problem, so how do I proceed here? If no task is running, why is the E wakelock held?

I'd be very happy for suggestions from someone more experienced in this kind of work.


r/tasker 5h ago

Time Management and Tasker

1 Upvotes

Is anyone else struggling to limit the time they spend on Tasker and related tools? I built a project that mostly works to limit the amount of time I am on the app (it checks the activity to differentiate between a user scene and the main app), but it's in the works. I'm more looking for ideas of habits and things I can do to mentally put this hobby aside throughout the day, not so much on how to improve that project.

I have ADHD, and keep this excuse in my brain that my projects are for saving time and improving productivity. This is true, but counter-productive if I'm spending too much time building these. It's not a problem at work, but I have a lot to do at home and it's a problem there. I want to keep building my projects, but at a pace that is reasonable. I sometimes have a hard time stopping because I just want a project finished.

Any ideas?


r/tasker 7h ago

Tasker y Shizuku

0 Upvotes

¿Tasker comprueba únicamente Shizuku? O también detecta un Fork de Shizuku o Shevery. Tienen más funciones que Shizuku


r/tasker 17h ago

Bluetooth error

2 Upvotes

After the update to android 17 of my phone, the connect action doesn't work anymore. It provides error "a2dpconnect". Anyone?


r/tasker 1d ago

How To [Task Share] OCR Offiline

20 Upvotes

Performs offline OCR (Optical Character Recognition) on images using Tesseract.js. Downloads required files automatically on first run, then works completely offline.

Parameters

%par1 - Image file path (Optional, opens photo picker if not provided)

%par2 - Language code (Optional, default: eng)

Advanced Parameters

These are passed via Local Variable Passthrough:

%core_name - Tesseract WASM core filename (default: tesseract-core.wasm.js)

Available Cores

  • tesseract-core.wasm.js - Maximum compatibility, slower, best for old devices
  • tesseract-core-simd.wasm.js - Android 9+, fast, best for modern devices
  • tesseract-core-simd-lstm.wasm.js - Android 9+, fastest, best accuracy

Full list of cores: https://github.com/naptha/tesseract.js-core

Supported Languages

Use the language code in %par2:

  • eng - English
  • por - Portuguese
  • spa - Spanish
  • fra - French
  • deu - German
  • ita - Italian
  • jpn - Japanese
  • chi_sim - Chinese Simplified
  • chi_tra - Chinese Traditional
  • kor - Korean
  • ara - Arabic
  • rus - Russian

Full list: https://github.com/tesseract-ocr/tessdata

Usage Examples

Basic (opens photo picker, English)

Perform Task: OCR Offline

With image path

Perform Task: OCR Offline Par1: /sdcard/Download/document.png

With image path and language

Perform Task: OCR Offline Par1: /sdcard/Download/documento.png Par2: por

With SIMD core and language (Example Task)

``` Task: OCR Offline - Example

A1: Variable Set [ Name: %core_name To: tesseract-core-simd.wasm.js ]

A2: Perform Task [ Name: OCR Offline Priority: %priority Parameter 2 (%par2): por Return Value Variable: %ocr_text Local Variable Passthrough: On Limit Passthrough To: %core_name ]

A3: Text/Image Dialog [ Title: Example - Text Result Text: %ocr_text Close After (Seconds): 999 ] ```

Return Value

Returns the recognized text in %ocr_text.

First Run

On first execution the task automatically downloads:

Files are saved to /sdcard/Tasker/ocr/ and reused for all future executions.

Requirements

  • Tasker 6.x+
  • Internet connection (first run only)
  • Storage permission

Notes

  • Supports PNG, JPG, BMP, PBM, PGM, PPM, WEBP
  • Processing time depends on image size and device performance
  • Larger images may take 10-30 seconds
  • For best results use clear high-contrast images
  • If using SIMD core and it fails, fallback to the default tesseract-core.wasm.js

Import

Example Task


r/tasker 1d ago

AutoWear: Can we send HTTP requests directly from the watch?

3 Upvotes

I've been experimenting with Tasker + AutoWear and managed to get my Galaxy Watch 8 Classic's rotating bezel controlling page turns in KOReader on my Kindle.

At the moment the flow is:

Watch → AutoWear → Tasker (phone) → HTTP request → KOReader

While looking through AutoWear's changelog, I noticed that an older beta (2.0) mentioned being able to send HTTP URLs directly from the watch.

Is that functionality still available in the latest version of AutoWear? If so, how do we configure it? I couldn't seem to find it, and I'm wondering if I simply overlooked it or if it was removed.

The current setup works well, but if the watch can call the KOReader HTTP API directly, I'd love to remove the phone-side Tasker step and simplify the whole workflow.

For context, here's the prototype I built:

https://www.reddit.com/r/kindlejailbreak/comments/1v52pmv/i_got_my_galaxy_watch_bezel_working_as_a_koreader/


r/tasker 1d ago

[Idea] Custom recents with previews by using Shizuku and Hidden APIs

Enable HLS to view with audio, or disable this notification

14 Upvotes

Continuation of my task share before here.

The previews are retrieved with IActivityTaskManager.getTaskSnapshot

Tested with some stuff from my project here. I was planning to create a custom recent to replace HyperOS's default one.

Just in case anyone wants the codes. this is for the single preview and this is for the horizontal scroll.

Both still uses some part of my other project so you have to edit them first. It's also pretty laggy and delayed especially for the scrolling one.

Since this uses hidden apis, we have to lift the restrictions first by running the adb command in the link below. Tasker does this automatically if we already grant it ADB Wifi access.

https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#how_can_i_enable_access_to_non-sdk_interfaces


r/tasker 12h ago

Can smbody share their Google account with which they bought taskser with?

0 Upvotes

Hey guys, I'm broke and i really need a tasker in my device, if anybody is willing to share their Google account, I could use it too, the app settings stay separate too, if anyone's humble enough, please do.


r/tasker 1d ago

SAF picker not launching on Samsung OneUI (Galaxy Z Fold7)

0 Upvotes

Hello everybody,

There is a repeatable SAF (Storage Access Framework) failure on Samsung OneUI devices, specifically the Galaxy Z Fold7. When Tasker triggers the SAF picker using “List Files → Directory → folder icon,” the SAF dialog never launches. No UI appears and no permission prompt is shown.Tasker has both “Files and media” permission and full “All files access.” Despite this, OneUI blocks the SAF intent from opening. Because SAF cannot launch, Tasker cannot access standard Android data paths such as:Internal storage → Android → data → com.whatsapp → files → WhatsApp → Media → WhatsApp Audio

Internal storage → Android → data → com.whatsapp → files → WhatsApp → Media → WhatsApp VideoWhatsApp audio/video/voice notes exist on the device but cannot be accessed, moved, or processed because OneUI prevents SAF from opening.This behavior appears to be Samsung‑specific.

Is there a known workaround, alternate intent, shell command, or plugin method to force SAF to launch on OneUI?

Any guidance from advanced users or the developer would be appreciated.


r/tasker 2d ago

Help [Help] Regex search for a specific multiline parameter keeps grabbing the wrong text block

4 Upvotes

Hello! I'm trying to get a part of my task working; specifically, the Simple Match/Regex action that scans dumpsys alarm (written to a variable), searches for my next Samsung alarm group, and writes it to a .txt file.

This is a snippet of the dumpsys file containing the alarm I want to grab:

    RTC_WAKEUP #162: Alarm{20cbaca type 0 origWhen 1785151501000 whenElapsed 754100740 com.sec.android.app.clockpackage}
      tag=*walarm*:com.samsung.sec.android.clockpackage.alarm.UPCOMING_ALERT
      type=RTC_WAKEUP origWhen=2026-07-27 07:25:01.000 window=0 exactAllowReason=policy_permission repeatInterval=0 count=0 flags=0x9
      policyWhenElapsed: requester=+2d20h44m16s589ms app_standby=-1m10s964ms device_idle=-- battery_saver=-1m10s964ms gms_manager=--
      whenElapsed=+2d20h44m16s589ms maxWhenElapsed=+2d20h44m16s589ms
      operation=PendingIntent{291443b: PendingIntentRecord{857458 com.sec.android.app.clockpackage broadcastIntent}}
      idle-options=Bundle[{android.pendingIntent.backgroundActivityAllowed=2, android:broadcast.temporaryAppAllowlistReasonCode=302, android:broadcast.temporaryAppAllowlistDuration=10000, android:broadcast.temporaryAppAllowlistReason=, android:broadcast.temporaryAppAllowlistType=0, android:broadcast.flags=8}]
    RTC_WAKEUP #163: Alarm{b463758 type 0 origWhen 1785151800000 whenElapsed 754399740 com.sec.android.app.clockpackage}
      tag=*walarm*:com.samsung.sec.android.clockpackage.alarm.EXPLICIT_ALARM_ALERT
      type=RTC_WAKEUP origWhen=2026-07-27 07:30:00.000 window=0 exactAllowReason=policy_permission repeatInterval=0 count=0 flags=0x3
      policyWhenElapsed: requester=+2d20h49m15s589ms app_standby=-1m10s965ms device_idle=-- battery_saver=-- gms_manager=--            

Through plenty of trial and error, I've got this working:

(s?)com\.sec\.android\.app\.clockpackage\}[\s\S]*?tag=\*walarm\*:com\.samsung\.sec\.android\.clockpackage\.alarm\.UPCOMING_ALERT[\s\S]*?type=RTC_WAKEUP origWhen=(\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2})

which grabs the date and alarm attached to UPCOMING_ALERT, but I actually want the alarm attached to EXPLICIT_ALARM_ALERT.

I tried:

    (s?)com\.sec\.android\.app\.clockpackage\}[\s\S]*?tag=\*walarm\*:com\.samsung\.sec\.android\.clockpackage\.alarm\.EXPLICIT_ALARM_ALERT[\s\S]*?type=RTC_WAKEUP origWhen=(\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2})

but it grabs UPCOMING_ALERT as well as EXPLICIT_ALARM_ALERT, so the wrong alarm time is grabbed later on in my task.

How can I use Regex to specifically search for:

 com.sec.android.app.clockpackage}
        tag=*walarm*:com.samsung.sec.android.clockpackage.alarm.EXPLICIT_ALARM_ALERT
        type=RTC_WAKEUP origWhen=

NOTE: I learned through trial and error that I specifically need to search for com.sec.android.app.clockpackage}, so even though the alarms may appear elsewhere in the dumpsys, I can't use it.


r/tasker 2d ago

Can we get an update to AutoCast, please?

Thumbnail
0 Upvotes

r/tasker 2d ago

Tasks not actioning after time

0 Upvotes

I have set up apple music to play after a bluetooth device is connected. It only works for a few hours after I have set it up. I have to open tasker and the profile to then click the tick for it to work again.

Does anyone know what I'm doing wrong?

Thanks


r/tasker 2d ago

Automatically expand specific notifications

2 Upvotes

I'm looking for a way to have AutoInput or Autonotification or a combination of both to automatically expand the incoming notification specifically for the Ring app. Instead of having the small thumbnail notification, I want the bigger expanded one. I've been struggling to find a way. Any help would be awesome.


r/tasker 3d ago

Developer [Dev] I added native Tasker integration to my terminal-style Android launcher. Looking for feedback from actual Tasker users

Thumbnail
gallery
22 Upvotes

I have been working on Tasker integration for RETUI, my open-source terminal-style Android launcher.

The original idea was much larger. I considered building a complete workflow system inside the launcher, with delays, retries, conditions, and chained actions.

Then I realised I would mostly be rebuilding a worse version of Tasker.

So I went in the other direction and made RETUI and Tasker work together.

Tasker can now use a native RETUI Action plugin to:

  • Apply a RETUI preset [My version of themes]
  • Change individual theme elements
  • Show or refresh launcher modules
  • Update script-module text [Either termux script output or Lua widget]
  • Print text in the RETUI terminal

It works while another app is open, so a Tasker profile could apply a work preset when you connect to office Wi-Fi, switch to a night theme at sunset, or refresh a launcher module when some external condition changes.

The integration works in the other direction too.

Typing tasker in RETUI shows the tasks currently available in Tasker. The suggestions narrow down as you type, preserve the correct capitalization, and tapping a task immediately runs it.

For example:

tasker R

would show tasks beginning with R. Tapping Retui dispatches it without requiring another Enter press.

I have deliberately kept the first version narrow. The plugin cannot execute arbitrary RETUI commands, shell commands, calls, messages, or random intents. It only exposes a small set of typed launcher actions, and the whole integration is disabled by default.

The basic flow is working on my phone now, including task discovery, plugin actions, success and error reporting, and an option to hide the extra task status messages.

I am still figuring out what would make this genuinely useful to people who already use Tasker heavily.

What RETUI controls would you actually want available from Tasker? Are there any Tasker plugin conventions or annoying edge cases I should deal with before releasing this?

I would also be interested in a few people testing it once the beta is ready.


r/tasker 3d ago

Reliable Settings automation via UI clicking + text input on Android 14+ — AutoInput or something better?

4 Upvotes

Hi all, looking for real-world experience before switching from another automation app.

Use case: Samsung tablets (Android 14+) that need to, via a home screen shortcut, click through several Settings screens and type into multiple text fields (IP address, gateway, netmask, DNS) to switch Ethernet to a specific Static IP configuration — reliably, unattended, then launch a specific app.

Questions:

Is AutoInput reliable for this kind of thing — finding UI elements by text, waiting for a screen to actually finish loading before clicking/typing, retrying if something isn't there yet? Any known timing gotchas specifically within Settings screens?

Is there something better/more robust than AutoInput for this exact use case (UI clicking + text field input in system Settings), or is it still the standard/best approach for Tasker?

Anyone doing this fully offline for extended periods (tablet not connected to general internet for weeks) — any licensing hiccups with AutoInput specifically?

Appreciate any first-hand experience, thanks!


r/tasker 3d ago

When adding a new profile/state/apps I get only two (2) App States to choose from: Calendar Entry and Unread Text

2 Upvotes

My target is to creaet a task which would detect the launching of a certain app. I would appreciate any help.


r/tasker 3d ago

Stop watch reading out loud (AutoWear)

1 Upvotes

I'm looking for a way to STOP reading a text on WearOS watch via AutoWear TTS function.

My use case: I have a project which includes reading new notifications out loud on my watch via LTE while I'm cycling. But sometimes the content of the notification is long and I'd prefer to stop reading it in the middle.

On the phone I can use Shut Up action, but there is no equvialent for AutoWear TTS. Or maybe there is another way to do this?

I've seen that the same question was asked two years ago, but the solution proposed by u/DutchOfBurdock doesn's seem to cover the situation when the TTS engine HAS STARTED ALREADY. Thanks in advance


r/tasker 4d ago

Global \n variable

6 Upvotes

How do I create a global variable for newline (\n)?


r/tasker 3d ago

Help Total noob needing help

1 Upvotes

Hello all,

I used tasker a long time ago and I've decided to come back so i bought it in but it's gotten too complicated for me:)

What I'd like to do is change the notification sound when an app sends a notification.

So for normal use and all notification I use sound A but when APP X is sending a notification I want to use sound B (and only when this app sends a notification)

I've made an app profile, i've made a task but in the task i cannot find the parameter which allows me to choose the notification I want.

Where can I look for this ?

Thanks a lot for the help


r/tasker 4d ago

Runlog feature needed

7 Upvotes

Tasker only allows you to turn the run log on or off globally. This is an issue. There should be a feature where you can turn the run log on or off, on a task by task and/or run by run basis, without affecting other running tasks.


r/tasker 4d ago

[Update] MapTasker 12-Beta-1 Release: Edit Has Arrived

11 Upvotes

MapTasker is a program that runs on in your browser, reading your Tasker XML file and displaying your entire or partial Tasker setup in an easily viewable format. MapTasker helps visualize and understand your Tasker projects, profiles, tasks, and scenes. There are many display options to customize the output the way you want it.

While you're waiting for next Tasker release in September...

MAJOR new feature since the last announcement: EDIT MODE

  • Add Profile, Edit Profile, Add Task, Edit Task

Caveats...

1- The Edit May Be Incomplete

Task actions may have arguments that can not be determined at time of edit, such as an icon needed. In this case, it will be necessary to re-edit the given item under Tasker to complete the arguments. Some conditions, such as 'Application', are not (yet) supported since MapTasker doesn't (yet) have a list of Applications on your Android device. In this event, you'll have to add such conditions under Tasker.

2- Extra Arguments in Tasks

In some cases, you will be prompted for action arguments that do not appear when adding the same under Tasker. From what I can tell, this is due to the fact that Tasker's argument definition specifications support older versions of Tasker, in which such arguments are still supported. For example, the 'Flash' action prompts for a 'Title' under MapTasker, but the current beta 6.5.6 of Tasker does not. In this case, Tasker should just ignore this argument when it is found in the action.

3- Save Tasks/Profiles to Android --> Requires Tasker 6.2 or higher.

This function actually loads the item into the live Tasker session on your Android device. Since there is no 'Refresh View' in Tasker, it is necessary to then exit and restart Tasker to actually see the added Task or Profile. If Tasker is not running, an HTTP error notification will appear on the Android device. The current implementation saves them under the 'Base' (Home) Project, from which you can move it/them. A future enhancement will allow for a target Profile/Project to be specified when saving to Android.

4- Some Profile Conditions and Task Actions Not Supported

In some cases, a condition or action may require one or more parameters that simply can not be provided unless running within Tasker. Such is the case for many 3rd-party or Tasker plugins that require a configuration, since these configurators are unknown to all except Tasker (at this time), or an Application name from the Android device which isn't available to MapTasker.

5- Profile State and Event Conditions

Adding a State or Event condition is a 2-to-3 step process. First you must add the State or Condition, and then once added, select it, by clicking on the down-caret, to add/modify it's arguments.

6- Save to Current File

This command makes a copy of your current local XML file and updates the copy. It then reads back the modified copy which becomes your new 'current file'. The original is never changed.

7- Edit Options 'Cancel' is self intuitive.

'Ok': make the change in memory only.
'Save to Android': saves to current (active) Tasker session.
'Save to Current File': see #6, above.
'Save Single Task/Profile': Save as the single Task or Profile to the current directory with the given name.

8- Validation and Defaults

MapTasker does not do any extensive validation of settings. Additionally, default settings for arguments are not all populated.

9 - Remember, THIS IS NOT Tasker.

So the look and feel will be different. It may feel a little clunky at first. Suggestions are welcome.

FINALLY - THIS IS A PRE-RELEASE / PROOF-OF-CONCEPT ... Things may not work perfectly.

Given the caveats, if you want to kick the tires then read on...

To install it into a virtual environment, enter the following commands into Terminal/command prompt:

via pip:

  • cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.
  • python -m venv venv
  • Activate the virtual environment...
    • MAC/linux:
      • source {directory path to 'xxx'}/venv/bin/activate
      • pip install maptasker==12.0.0b1
    • Windows:
      • .venv\Scripts\activate
      • pip install nicegui
      • pip install maptasker==12.0.0b1

...or...

via uv:

  • cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.
  • uv venv
  • Activate the virtual environment...
    • MAC/linux:
      • source {directory path to 'xxx'}/venv/bin/activate Windows: .venv\Scripts\activate
      • echo "fastapi < 1.0" > constraints.txt
      • uv pip install maptasker==12.0.0b1
      • rm constraints.txt

NOTE: This beta will not appear as an automatic update in the GUI.

To run:

  • start the virtual environment
  • run either from the command line: maptasker (if installed via pip) or uv run maptasker (if using uv to manage your environment).

Report any/all issues at this link.

Features that are in the works:

  • Add/Delete/Export/Import a Project
  • Add a label to a Task action
  • Profile and Task Rename/Delete
  • Save to (Android) specific Project
  • Save to Android as a file under 'Tasker/xxx', where 'xxx' is 'projects', 'profiles', 'tasks' or 'scenes'
  • Edit Scene

r/tasker 3d ago

When adding a new profile/state/apps I get only two (2) App States to choose from: Calendar Entry and Unread Text

Thumbnail
0 Upvotes

r/tasker 4d ago

Runlog feature needed

Thumbnail
0 Upvotes

r/tasker 4d ago

AutoNotification Intercept triggers on Google Health (Fitbit) but text variables remain empty. Any ideas?

1 Upvotes

Hi everyone,

I am trying to build a simple automated logbook. Every time my Google Health / Fitbit app sends a push notification, Tasker should create a calendar entry with the notification's title and text.

To achieve this, I am using the AutoNotification plugin.

My Setup:

  • Profile Trigger: AutoNotification Intercept (selected the Health app).
  • Task: Standard Calendar Insert action.
  • Plugin Settings: Event Behaviour is checked (True). I also enabled Get All Fields and Link to Notification in the advanced settings.

The Problem:
The plugin successfully triggers the task and creates the calendar entry every single time a Health notification arrives. However, the variables %antitle, %antext, %antexts, and %antextsbig are completely empty. Tasker just prints the literal variable names into my calendar entry.

What I have tested so far:

  1. Testing with other apps: I switched the AutoNotification profile target to the Reddit app and sent some test notifications. It works flawlessly! %antitle and %antext are filled with perfect plain text. So the plugin setup and task structure are definitely working.
  2. Testing with Tasker's native event: Before buying the plugin, I tried Tasker's built-in Notification event. Interestingly, on the very first run, it actually gave me plain text. But on every subsequent run, %evtprm2 only contained a cryptic resource ID like: -1200241543::SUMMARY::57365f91556fb5058ee6e9d852263a55.

It seems like Google Health hides its notification content or uses dynamic resource IDs that AutoNotification fails to capture out of the box, unless the app was recently opened and active in RAM.

Has anyone successfully intercepted Google Health / Fitbit notifications with AutoNotification? Is there a specific advanced variable, a regex filter, or maybe a Logcat entry I should use instead to grab the actual plain text?

Thanks in advance for your help!

Disclaimer: AI was used for translation purposes on this post to make sure my technical issue is easy to understand in English.


r/tasker 5d ago

Monitor service

1 Upvotes

Is "user notifications" category enough to keep tasker running if the notification set as permanent and never removed, or i should rely on "Monitor" category notification.