Tasker: Total Automation for Android
The tasker community on Reddit. Reddit gives you the best of the internet in one place.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2025-03-07 13:54:23+00:00.
Alright, with most (if not all) of the production issues figured out, it's now time to get on the beta train again! This one's exciting for me because it opens up so many possibilities and is such an elemental feature to have that it probably should've been in Tasker long ago.
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
If you want you can also check any previous releases here.
Important note: I'm still waiting for Google to approve 6.4.15 in Production and 6.4.16 in beta. Google sure likes to take their time π I don't want to wait around and just want to move forward, cause who has time for that, so I'm just going to be releasing this APK here now via Google Drive, and eventually, hopefully next week, I'll be able to send it to Google Play and after who knows how many days Google will approve it.
I can't send this version to Google Play yet because that would reset the whole review process which would mean delaying the fixes in production, and I have to prioritize those. Hope you understand!
BTW, for those who don't know, installing the APK from my Google Drive is the exact same as installing it from Google Play. It's the same APK. You'll still get updates from Google Play when they're available, so no reason to wait really, if you want the beta.
New "Received Share" Event in Tasker
Demo Video:
You can now share content to Tasker from any other app:
Yes, I know this was in AutoShare, but (at the risk of losing AutoShare sales) I think that this is such a fundamentally core feature that it has to be in Tasker itself! Plus, with the native integration, I can do stuff that I couldn't do with AutoShare!
Share Triggers
Share Triggers are words or commands that you can add to a Received Share event that allow you to specify what you want to do with a share before processing it in Tasker.
When you share something to Tasker and you have at least 1 Share Trigger setup you get something like this:
For example, you may want to have a "Copy Text To PC" Share Trigger that then triggers a task where you copy the shared text directly to your PC.
Share Triggers are similar to AutoShare Commands but have the added benefit of being automatically populated from the enabled profiles you have setup, instead of you having to create them manually and then using them in the event condition.
It's also much easier to share a profile with a Share Trigger than with an AutoShare Command because on the latter you have to instruct the use to create the command before they can use the profile. With Share Triggers the user can simply import the profile and start using it right away!
App Filters
You can also combine Share Triggers with App Filters. This will make these Share Triggers only appear in the relevant apps they are configured for!
For example, you can have a Copy File Share Trigger that takes an input file and copies it to some directory. It wouldn't make sense to make this Share Trigger available to YouTube since you'll never receive a file share from there. So, you can use an App Filter to make this Share Trigger only appear in your File Manager app!
It'll show up like this:
Notice how the Copy File trigger even shows the app icon so you can quickly tell it's an app specific Share Trigger!
Other Filters
You can also filter your shares by a bunch of other fields:
This allows you to be very specific on what you do with each share you receive.
Direct Share Targets
If enabled in Tasker Preferences, Tasker will even create those Share Triggers in the share sheet directly (in apps that support it).
It looks like this:
Here you can see that you can directly use the Text Dialog and Flash Share Triggers without having to first pull up the Tasker dialog, making it faster and less intrusive.
Share Data
You get a lot of data related to your share:
If that's not enough, take a look at the %rs_all_extras variable that will contain every single piece of data that's sent to Tasker with a share in a handy JSON format. This may contain some hidden gems (depending on the app you share data from), that you may not have known of otherwise!
Let me know how you like this new feature! π
Widget v2: Circular Progress Bars and Blurred Images
Demo Video:
You can now do stuff like this:
Basically, you get acess to a new image filter that can blur any image you want.
You can also set the widget's progress bars to circular, and you can customize its bar color, track color, bar width and even the text inside it!
Oh, and here's a Bonus treat:
You now have a button to directly edit the Custom Layout of a widget, instead of always having to click the magnifying glass first π (thanks for the suggestion /u/Ratchet_Guy )
New Accessibility Actions in the Task Edit screen
Demo Video:
It's now (hopefully) much easier for people with special accessibility needs to
- copy
- paste
- paste below
- cut
- clone
actions in Tasker! Direct Accessibility actions were added for all of these!
I also added the option to move a task or profile to a different project by long-clicking it.
Full Changelog
- Added Received Share event, allowing you to send shares into Tasker and handle the share in any way you like
- Added option to enable/disable direct share targets for Received Share Triggers in compatible apps
- Widget v2: Added option for a circular progress bar
- Widget v2: Added option to set track color for progress bars (circular and linear)
- Widget v2 editor: Replaced current element title with Breadcrumbs so you can instantly go up any number of levels in the hierarchy
- Widget v2: Allow element visibility to be controlled by a variable with values like true, false, 1, 0, on, off, yes, no, y, n instead of just Visible, Invisible or Gone
- Widget v2: Added option to blur image
- Widget v2: Added direct edit button for Custom Layout
- Widget v2: fixed other image effects from not working like sepia, circle, etc.
- Added accessibility actions to cut, copy, clone, paste and paste below in the Task Edit screen
- Added long-click action to move profile or task to a project
- Added Projects option in Test Tasker action
- Fixed several issues with tasks sometimes not running in some situations
- Fixed error where images weren't loading in Widget v2 sometimes
- If there's a lock and you edit a task from the Running Tasks screen, don't ask for lock code again
- Fixed Take Screenshot and Screen Capture actions
- Fixed some potential issues when launching some plugins
- Fixed crashes
Enjoy! ππ
BTW: Today's the Monthly Patreon hangout if anyone wants to join...
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/LeoC450 on 2025-03-03 02:21:33+00:00.
I'm starting out in this world and I liked Tasker, despite the difficulties in learning. I would like to know why you use it? What are its main features?
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/WhirlWolf on 2025-02-25 08:08:59+00:00.
Hi there,
As the name suggests, you can add reminders and it'll notify you accordingly.
This project uses latest tasker feature Widget v2, but also works without it. Other major features include recurring reminders (daily, weekly), smart management of completed tasks, etc
I am actively improving it and would love your feedback.
Check it here:
Also please suggest a suitable project name.
Edit: Forgot screenshots (only 2)
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/busfull on 2025-02-22 19:39:50+00:00.
I have ADHD and have problems sticking with routines. The biggest problem I have is ignoring phone notifications because they are short and basically background noise. I decided to make this system that would force me to adress specific notifications by taking over my screen and sounding an alarm that can only be turned off by specific NFC tags.
How it works:
I tag meetings in my calendar that I want to trigger the system with #routine. This is because I use reclaim.ai which automatically moves my meetings around my calendar as needed.
When a meeting with #routine starts, the Get list task will download the data from google sheets into some array variables
Screenshot of what that data looks like
I search through the calendar invite for a second hashtag that's in the #hashtag column. If there's a match, get the index of the match and use it to get the values of the rest of the columns.
Then I create a scene that covers the entire screen, put the volume to max, and loop a ringtone. If the meeting is a #routine, the only way to remove it is by tapping an NFC tag specific to each routine. In the case of my bedtime routine, it requires me to have my phone plugged in before tapping the NFC to deactivate the alarm. I created a circle in the scene that indicates where my fingerprint reader is so I can unlock my phone to use the NFC reader.
Screenshot of the scene (it shows a variable name there right now because I have no event going on)
For calendar events that aren't #routine, I have another scene that just uses a button to dismiss it. In the data table Task Name is the name of a Tasker task that you can choose to run after hitting the button.
During the calendar event the system is constantly polling my location, and each routine has a specific location it's meant to be done at. If I'm not at that location, the alarm doesn't go off. If I arrive at that location during the event, it will wait 5 minutes and then start the alarm
I have NFC tags strewn around my apartment and work, each for a specific routine. I placed some of them inside a binder that contains checklists with my routines. The scene tells me where to look for the tag, which is contained in the data table.
This is overall in a buggy state - I've had it brick my phone for a few minutes when cases come up that I hadn't accounted for. I am still adding features and would eventually like to turn this into a fully fledged app that routines could be configured inside of instead of in google sheets.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2025-02-18 16:07:59+00:00.
Check out the release video:
You can read all about this release here:
Note: Google Play might take a while to update. If you donβt want to wait for the Google Play update, get it right away here.
Highlights of this release include:
Widget v2
Say goodbye to your boring home screen! Make it work and look exactly like you want it to with the new Tasker Widgets v2!
Featuring a fully featured WYSIWYG editor, you can build the widgets of your dreams directly from Tasker!
Imagine having a totally different home screen depending on where you are, what time it is or what's happening around you. You can now do that with Tasker!
Remote Action Execution
Remotely automate your life! Run Tasker actions on remote devices just like you would on your local device!
Remote Actions will be part of your normal tasks and when running the remote action, Tasker will wait until its done to continue running the task! This means that you can seamlessly integrate remote actions in your normal workflow!
And with support for running the Perform Task action remotely, you can do just about ANYTHING on your remote device!
And if you're up for it, with a little coding, you can even make Tasker run actions remotely from any web browser or server, as long as it can send an HTTP request! Check out an example web page to see how you can do it.
Full Changelog
Check out all the additions/changes/fixes here:
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/omni_shaNker on 2025-02-11 22:00:49+00:00.
Ok, SOME of you certainly DO know about this, but I think it's probably unknown by too many and wanted to get your attention ;)
When exporting using AppFactory to export your Project to an apk / app, you can bundle ANY FILE WITH IT YOU WANT even BINARIES, MEDIA FILES, etc.. You can then execute those binaries, or play those media files, or install those apk files, or do whatever you want with whatever the files are!
With this I have been able to bundle the adb binary, ffmpeg binary, audio files for my app to play, and apk files to bundle other applications for my app to optionally install.
In an app I spent over a year creating, I did this using 7zip. Here's what I did.
Create a folder on my PC named lib
and inside that folder a folder named arm64-v8a
.
Any files I wanted to bundle I just put them in that folder and named them something like libthefileIneed.so
After exporting my task/project as an apk, I then just opened the apk with 7zip, and dragged and dropped the lib folder into it to add it to the apk. I would then resign the apk using APK Easy Tool and my apk would be all done and ready to install.
Of course I had to create tasks that would call these files for whatever purposes I needed them for.
So I had to also create a task that would get the library folder path of the app upon launch so that it knew where these files were to be able to use them.
Tasker DOES have the ability to "write binary" files from base64 encodes. However it is file size limited. This gets around needing to use that method for binary files, or whatever files you want/need.
Some examples (as from what I posted in a reply):
- Audio file plays when the app is launched.
- adb binary is used to run "adb tcpip 5555" to give my app ADB Wifi access without requiring a PC.
- apk file to install an app (which isn't needed anymore) if the user didn't have it installed.
- html pages as menus. I think for this one I had to copy them over to the user storage for web access since they couldn't be accessed directly from my apps lib folder from the browser.
- ffmpeg binary to process audio and video files.
EDIT: For anyone interested this is where I got the adb binary.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/duckredbeard on 2025-02-11 21:36:20+00:00.
I'm going to put this here to see if it inspires anybody.
The dog food bucket is sitting on a load cell that is being monitored by a Raspberry Pi. It sends the weight of the bucket to my phone every 4 hours and when the door is closed (via AutoRemote message). When the door gets opened I get an AutoRemote message on my phone, Tasker sets a variable to the previous known weight. When the door gets closed the scale checks the new weight and sends it to my phone (AutoRemote message again). Tasker does the math to see if any was taken from the bucket. It's more than .12 lb was taken then it means the dogs were fed. Tasker sends SMS messages to everyone in my home and an AutoRemote message to a Raspberry Pi that's running Android. That Android sends an SSH message back to the Raspberry Pi that monitors the scale. That SSH message is a command to run a python script that blinks an LED light for 5 hours.
If you open the cabinet and the light is blinking that means the dogs were fed. All this is necessary because I have a dachshund who tells lies.
I just Incorporated the light this afternoon because somebody didn't check their messages before they fed her the second scoop of the morning.
Video:
Dog food data scene:
Problem solved, but improvements already being planned!
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/mikthinker on 2025-02-04 18:21:32+00:00.
MapTasker is a program that runs on your desktop, reading your Tasker XML file (backup.xml or other exported xml file) and displaying your entire or partial Tasker setup in a detailed 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. It can even pull your XML directly from your Android device. Additionally, MapTasker can use Ai to analyze your Tasker configuration.
New features since the last announcement include:
- Ai analysis using Gemini, Claude or DeepSeek, plus additional models.
- Report too many Task actions, as a means to identify overloaded Tasks.
- Hover (cursor) details in the Map view for Projects, Profiles, Tasks and Scenes.
- Diagram view enhancements:'Profiles Per Line' option in the view (top bar) allows you to tailor the output.
- Jump to 'Top Task' and 'Bottom Task' when highlighting connectors with your mouse.
- GUI 'tooltips' provide helpful guidance for the various functions.
- Tasker beta 6.4.12 support.
To install: 'pip install maptasker -U'
To run from the GUI (recommended): 'maptasker -g'
For a list of all changes, refer to the full change log.
Program details can be found here.
Report any/all feature requests and/or issues at this link.
Finally, if you encounter a 'not yet mapped' Task action, please send me ([mikrubin@gmail.com](mailto:mikrubin@gmail.com)) your backup.xml file and I will make every attempt to properly map these actions in a future maintenance release.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2025-01-23 11:11:34+00:00.
It's that time again. It has been too long since a public release.
I want to release this to the general public soon so let me know if there are any outstanding issues in this release that were not present in the regular public release.
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
If you want you can also check any previous releases here.
Easily(ish) Run Tasks Remotely From Anywhere
Demo:
Full setup instructions for getting the required Google files:
Example web page that can run a Task on your device remotely:
There's now an easier way to execute your Tasks remotely from anywhere where you can do a little scripting and send an HTTP request.
If you can:
- get an auth token from Google (as shown in the web page example above with the AuthTokenGetterGoogle class)
- Get the service account, client secret and project name from the Google files
- Get your device FCM token (which you can get with the Remote Action Execution action in Tasker)
- Do an HTTP Request to Google's FCM endpoint
then you can run tasks remotely!
All you need to do is set the data field in your FCM to something like:
"data": {
"task": "Show Toast",
"%text": textToShow
}
where task is the task name and any field that starts with % is a variable value.
This will open up many, many places where you can run tasks from now, so I can't wait to see what people come up with! βΊοΈ
Full Changelog
- Allow for easier Remote Task calling via an HTTP Request (check Remote Action Execution action's help file)
- Added %rae_bearer_token variable to Remote Action Execution action
- Added Talkback Actions so that visually impaired (or with other disabilities) users can more easily move actions in a task
- When renaming (moving) a file in USB or other external storage, don't copy > delete original if possible, but simply rename
- Made direct purchase Set Key action correctly interpret variables
- Made direct purchase app be automatically validated if possible
- Removed Enabled option from Action Buttons in Widget v2 since it had no effect
- Fixed some crashes
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/Nirmitlamed on 2025-01-18 11:34:09+00:00.
For my own purpose i have created a Notes / Reminder list Widget using WidgetV2. You can:
- Create a note
- Unlimited notes
- Scrollable
- Checked and unchecked with strikethrough effect
- Delete single note at a time
I didn't make it with user friendly use in mind and since i don't have much free time (family situation), at the moment only those with more knowledge with Tasker can customize it more easily.
My idea of creating this notes widget with its functionality is to have every new note inside a global variable in a JSON layout. That way i can make it to remember the note itself and it status (true or false). And when i extract the notes from the JSON i put it inside an array which make it possible to know the position of the specific note i want to delete, check or unchecked and edit it.
Here is a video with simple example of how it looks:
Here is the URL for importing the project from Taskernet:
Will gladly hear reviews and what do you think.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2025-01-14 10:52:46+00:00.
Hi everyone!
I'm back from the break! As usual, now I have about 1090912380912831 emails and requests to go through, so don't be surprised that I'm not that around in the next few days.
Just before I got back from the break I saw Google announced the beta for the Google Home APIs so I quickly wipped up a very crude and basic Tasker plugin yesterday that allows you to toggle any toggleable device that's connected to your Google Home (at least in theory).
Demo here:
Download it here!
Very Important: this is using a BETA of the Google Home APIs which may not even work at all. For example, for me, this worked to toggle most devices, but only 1 of my devices reported its state correctly, which means that the app doesn't know if the device is on or off, and toggling always results in turning on the device (since the plugin always thinks it's off). Don't get your hopes up: this may not work at all for you!
Once Google releases a final version of their APIs I can probably make this a fully fledged plugin. I don't think I'll add this to Tasker itself since the APIs are huge and would probably double Tasker's APK size :)
If you want to try out the plugin, send me a PM with your email address so I can add you to the tester list. Since the APIs are in beta, there's no other way to test the app at the moment other than to be invited to test it by me.
Enjoy! π Now back to work for me...
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/trekkietracker on 2025-01-04 03:14:49+00:00.
Version 2 update. Just out now. If you loaded version 1, then you don't need to update to this version. It just removes the built in scene duplicates.
It is here. POCC. (Proof Of Concept Companion) JoΓ£o has been patiently answering all my emails for the last 6 years in order to make this beautifully integrated project.
I believe this is the first and only attempted Tasker super project that contains more than 200 profiles, turning your Android phone into a real AI (Actively Intelligent!) assistant.
It is also unique in that it is the ONLY Tasker Project that has a Setup process that must run when Tasker is SWITCHED OFF and then turns Tasker back on to complete the configuration.
POCC Interacts extensively with OpenAI, Google, Dropbox, Spotify and YouTube but you are only required to enter keys and secrets and IDs if and when you are ready to use chat, Task control, image recognition, calendar automation or your music DJ.
I am hoping this Super Tasker project will inspire more of you to develop whole solutions and make Tasker even greater than it already is! I believe this first attempt will become the basis for what a ChatGPT interconnected App should be and will possibly be the long awaited AI killer app for 2025.
Here is the Taskernet link:
Here is the documentation:
And here is the website! With videos and lots more information: [https://pocc.app/Pocc Tasker 1st Super Project]()
Cheers, Simon
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/trekkietracker on 2025-01-03 19:06:37+00:00.
It is here. POCC. (Proof Of Concept Companion) JoΓ£o has been patiently answering all my emails for the last 6 years in order to make this beautifully integrated project.
I believe this is the first and only attempted Tasker super project that contains more than 200 profiles, turning your Android phone into a real AI (Actively Intelligent!) assistant.
It is also unique in that it is the ONLY Tasker Project that has a Setup process that must run when Tasker is SWITCHED OFF and then turns Tasker back on to complete the configuration.
POCC Interacts extensively with OpenAI, Google, Dropbox, Spotify and YouTube but you are only required to enter keys and secrets and IDs if and when you are ready to use chat, Task control, image recognition, calendar automation or your music DJ.
I am hoping this Super Tasker project will inspire more of you to develop whole solutions and make Tasker even greater than it already is! I believe this first attempt will become the basis for what a ChatGPT interconnected App should be and will possibly be the long awaited AI killer app for 2025.
Here is the Taskernet link:
Here is the documentation:
And here is the website! With videos and lots more information: [https://pocc.app/Pocc Tasker 1st Super Project]()
Cheers, Simon
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/alright_then on 2024-12-30 22:37:08+00:00.
Hi everyone, this is still a work in progress. But most of the features i want are in already.
TLDR: This web app lets you interact with tasker, create/edit any task action in tasker. It has some specific uses for a home assistant integration. But this can easily be used without home assistant as well.
Here's the github link first of all:
Here are some images:
To get this to work you need to update tasker
I have been in conversation with u/joaomgcd himself to improve the API. And he has shared some updates with me that includes improvements that this application is making use of already. Unfortunately this is not available in a nightly build yet, let alone the google play version (this might still take a while).
Understandable of course to not want to download from a link i am giving you lol, So to cover my bases, Here's a post i made a couple weeks ago, you can see jao's responses there. And here is the link to the exact comment of the latest version he sent me. You can download it from his link directly there.
Hopefully once Jao is back from his well deserved break, he might make a nightly release that includes this, and put it on his website directly.
What does this application do
It connects directly to tasker using it's new API features. It let's the application create/edit actions in an open task. And it allows me to show variables.
The features right now:
- Create or Edit any action in tasker within a task
- Re order actions within a task
- Delete actions within a task
- Some actions have a custom form, making it easier to fill in
- For now, only the HTTP Request and Popup (this one was a test) actions have custom form.
- All other actions use a generic form generated by the information i get from tasker about the action type, this might be janky for some tasks.
- The home assistant API plugin
- Allows you to create a task to do any type of action in home assistant. Almost anything you can do in an automation or a script in home assistant, you can also do with this api.
- Easy form, to select a service (action) and any type of argument it might need
- It automatically creates an action in tasker that connects to the api and performs the single action.
- Also allows for easy editing
- You can set a variable it should use instead of hardcoding the home assistant URL and access token in each action you create. This way if your home assistant instance or token ever changes you can change the variable within tasker and all of the created actions will work again.
- Show a list of variables, and copy them to your clipboard
Todos for now
(I will eventually put all of this on github as well)
- The ability to add/change if's (conditions) on actions
- Update the front-end quite a bit (I'm not at all a designer)
Restrictions
- The application can not see or open a different task, if you do not have a task open within tasker the application can not connect at all.
- The application can not see the values of variables
Running the app
All of the installation instructions can be found on github, but please ask any questions right on this post. By far the easiest way to get this to run is with docker compose. Otherwise building it yourself with node js.
--
Thanks Jao for helping me with the API usage, and your quick responses.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-12-20 18:54:14+00:00.
Hi everyone! It's that time of the year again.
I'm going away for a few weeks and hope to be back on the week of the 13th of January.
Since it's the time to give, I'm leaving you with a small present that I hope you enjoy:
The Ultimate Weather Widget Base Build!!
It looks something like this:
Right now, it's MY ultimate weather widget because it has the exact info I care about, and looks good enough for me, but the idea is that you can take that widget as an example, and modify it so it looks just the way you like it, and has the exact info that you want it to have! As always, that's the beauty of Tasker! π
It's not a finished widget (probably never will be) but it's a start for you to build on and create YOUR Ultimate Weather Widget!
BTW, this uses OpenWeather, a partially free weather API, and Widget v2, so make sure to install the latest Tasker beta to use it!
Happy Hollidays everyone and see you soon!
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/br64n on 2024-12-12 13:26:28+00:00.
This project allows interaction between Tasker and Termux to send commands and receive task results. It demonstrates how to execute Termux tasks in the background, monitor their output, and clean up after completion.
Overview
This setup enables:
- Sending a command from Tasker to Termux.
- Receiving the task's results (stdout, stderr, exit code) after execution.
- Storing task results in a local variable for further use.
- Cleaning up completed tasks to maintain efficiency.
Profiles
Profile: T - Receive
Trigger:
-
Event:
Command
with the identifiertermux_receive
. -
Captures the
task ID
(%tid
) to process Termux results.
Linked Task:
T - Receive Task Result
Tasks
Task: T - Receive Task Result
Processes Termux task results by:
- Reading
stdout
,stderr
, andexit
files created by Termux. - Storing these results in a JSON object (
%tasks
). - Cleaning up the
task ID
from the JSON object after processing.
Steps:
- JavaScriptlet (A1):
- Reads Termux result files (
stdout
,stderr
,exit
) and stores them in%tasks
under the providedtid
. - Updates the
%tasks
variable with the latest data.
-
Wait (A2):
- Introduces a short delay to avoid processing conflicts.
-
JavaScriptlet (A3):
- Removes the
tid
from%tasks
after processing to free memory.
- Removes the
Task: T - .Run Background
Prepares and sends a command to Termux for execution.
Steps:
- Setup File Paths:
Defines paths for the handler script, stdout
, stderr
, and exit
.
- Handler Script:
Creates a shell script (handler.sh
) to execute the command and write results to the specified paths.
2. Run Command:
Sends the handler script to Termux using the Termux API.
Task: T - .Run
Handles the entire workflow of:
- Sending a command to Termux (
echo Hello, World
by default). - Waiting for the result.
- Returning the task output (
stdout
,stderr
,exit
).
Steps:
- Execute Command (A1):
Calls the T - .Run Background
task to send the Termux command and store its task ID in %uid
.
- Wait Until (A2):
Waits for Termux to complete execution by checking if %tasks[%uid.exit]
is set.
2. Return Results (A3):
Retrieves and returns the task result from %tasks
.
How It Works
-
Execution Flow:
T - .Run
is triggered, executing the desired Termux command.- Results (
stdout
,stderr
,exit
) are stored in%tasks
.
-
Receiving Results:
- The
T - Receive
profile captures the event (termux_receive
). - Tasker reads the Termux output files and processes them into
%tasks
.
- The
-
Cleanup:
- Completed tasks are removed from
%tasks
to avoid clutter.
- Completed tasks are removed from
Key Variables
%tasks
: JSON object storing task results (stdout
,stderr
,exit
) for each task ID.%uid
: Unique identifier for the Termux task.
Usage Example
- Run the task
T - .Run
. - Pass your desired Termux command (e.g.,
apt update
) as%par1
. - Results will be stored in
%tasks
under the corresponding task ID.
Customization
- Modify
%par1
inT - .Run
to send any command to Termux. - Update the
handler.sh
script to handle specific output requirements.
Learn how to configure termux to receive commands
Import
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-12-09 16:00:56+00:00.
The Widget v2 action/editor in Tasker got some pretty good updates with this latest version. Most importantly, in my opinion, is the way that you can very easily set it up to call your tasks in a dynamic and well-adjusted manner. See what I mean below!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
If you want you can also check any previous releases here.
Widget v2 Updates
Video Demo:
(If anyone wants to follow along when I created the widget in the video above, check it out on my Patreon as part of the Live Creations series)
There are many new little things in the Widget v2 editor:
- copy/cut/paste elements to easily move them around
- easily use your Task variables with the built-in variable selector
- easily select images, colors and tasks where appropriate
- allow setting checkbox and switch colors and text properties
but my most favorite new thing about the Widget v2 is how it handles Task calling now.
It works like this:
- Every element in a widget can now set task variables when it's called. For example, you can set the variable %name to something when you call a task by clicking a widget button
- if you set a task name on a Container element (like a Scaffold, Column, Row, etc) that task name will automatically be applied for all its children, as long as that child sets task variables, as mentioned above
- Every task variable set in a Container will also be set in child elements
As the video demo shows, what you can do with this is, for example:
- Have a Light Control widget that sets the task to Control Lights in its top element. This means that every clickable element in the widget will now call the Control Lights action by default (it can be overriden in each control)
- Inside the widget have several Rooms where each room sets the %room variable to its own name (Bathroom, Bedroom, etc)
- Inside each room have Light Switches where each sets the %number variable to its own value (1, 2, 3, etc)
When you click on one of the switches, it'll run the Control Lights task (because it's set in a parent element), set the %room variable to whichever room it's in (because its parent rooms sets it to that) and also set the %number variable to the value it specified.
The example uses switches, but this logic can be used on any clickable element inside the widget.
TLDR: When you define Tasks or Variables in Container elements, they will trickle down to their child elements!
This system allows you to do complex tasks with minimal repetition! In the example widget, you only define the minimum possible info in the least amount of places possible so the task works as needed! This makes it super powerful, flexible and easy to change at any time! π
Let me know if you have any feedback on this system.
Easy Palette Picker in Multiple Variables Set Action
Video Demo:
You now have a new option in the Multiple Variables Set action (thanks u/Ratchet_Guy ) to easily pick multiple colors at once, and put each of the colors inside its own variable.
This allows you to quickly create a color palette in a single action so you can quickly change to colors of any UI elements you're trying to colorize!
Full Changelog
- Widget v2: Widget builder got several UI changes and refinements
- Widget v2: allow easy selection of variables, images, colors and tasks
- Widget v2: allow copy/cut/paste of child elements
- Widget v2: allow setting task variables to send when tapping on an element
- Widget v2: allow parent elements to set the task for child element, if child element defines task variables
- Widget v2: allow setting checkbox and switch colors and different text properties (bold, italic, font, etc)
- Widget v2: added option to ask user to add widget to home screen if it's not already there
- Widget v2: made it much faster to set the result of the widget builder in the Widget v2 action so you don't have to wait a second for it to apply the changes after you exit the builder
- Widget v2: made the buttons in the Buttons preset look as much as Home Screen apps as possible (it varies by Launcher)
- Widget v2: fixed images quickly flashing sometimes
- Widget v2: fixed sometimes taps on widget elements not sending the correct command or task
- Widget v2: Tasker will now save the state of checkboxes and switches, so you don't have to update the widget every time you switch one of those
- Widget v2: allow using Material Design token colors in pre-made widget types (buttons, etc)
- Added an easy way to pick multiple colors for the Multiple Variables Set action
- Remote Perform Task: don't show error if task with the same name doesn't exist locally
- Remote Perform Task: task will always run with max priority remotely, so don't show priority selector if remote device is set
- Remote Perform Task: fixed the Variable Passthrough option when Remote Device is set
- Remote Perform Task: added remove device to the %caller() variable
- Allow Tasker Preferences and Task Preferences to be accessed on Android TV by long clicking the + button on the bottom right
- Fixed cookies for the HTTP Request action in some situations
- Fixed accessing some help pages
- Fixed WiFi Net action by making it use the Tasker Settings app to do its thing
- Fixed Timer Widget in some situations
- Fixed some crashes
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/andyooo on 2024-12-06 04:28:12+00:00.
The charging optimization feature "Limit to 80%" has just been added with the December update of Android 15 (a.k.a. QPR1). You need to grant secure settings permission to Tasker.
Tasker doesn't detect it using the "find" feature on the Custom Setting action, nor the relevant settings appear on the secure settings list for some reason, but they can be manually input in the Custom Setting action, Type: Secure.
Set charge_optimization_mode
to 1
or 0
to enable or disable "Limit to 80%".
If you want to toggle Adaptive Charging, set adaptive_charging_enabled
to 1
or 0
, but this is tricky. It is superseded by the "Limit to 80%" option, so if that's enabled, this setting doesn't work. You need to set charge_optimization mode
to 0
, for adaptive_charging_enabled
to work.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-11-22 13:58:52+00:00.
I just heard from a user that created this super awesome widget with the new Tasker Widget v2 action! Check out the video:
It's a sliding puzzle for your launcher! All done with the new widget! π I was sincerely amazed when I saw it.
Here's the project for this. Please don't ask me for directions about it, I didn't create any of it! Just wanted to share their awesome creation.
What have YOU done with the new widget already? :) Share any images/video/projects you may have created that you find cool!
Widget v2 is still so recent and already stuff like this is being created? As usual, the Tasker community just blows my mind! π
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-11-20 11:04:27+00:00.
Ok, Widget v2 is great (IMHO π ) but it would probably be worthless if only a handful of people were able to actually create custom widgets.
Well, now EVERYONE can easily create custom widgets with the new Widget v2 Editor!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
If you want you can also check any previous releases here.
Unfortunately there are some issues that I wasn't able to fix yet with the App Factory, so there's no updated version of that for now.
Widget v2 Editor
Full Demo:
This is what it looks like:
Example YouTube Copycat widget that shows you how you can use Array Merging to put a list of buttons inside a full Widget structure. Try editing the widget in the Widget v2 action but also in the Arrays Merge action to see how the editor looks like in both.
Here's a comparison: (top one is YouTube, bottom one is mine; couldn't find the correct icons, sorry π )
The new Widget v2 Editor
- previews the widget as you build it; even allows you to test interactions right there in the preview
- allows you to easily add/edit elements to your widgets
- allows you to put elements inside other elements (like texts in Columns) and go as deep as needed
- allows you to use Placeholders for variables, so you can easily put lists of mini-widgets inside the main widgets (for example, a list of dynamic buttons inside a custom widget)
- allows you to reorder elements
- gives you optimal JSON output, nicely formatted and all (give it ugly JSON, get back beautiful JSON π)
- allows you to build Widget v2 JSON even in other actions like "Variable Set", "Array Merge" and more, so you can easily build sub-widgets (like list items) that you can then use in the main widget
Hopefully this editor will now make it easy for anyone to build any widget they like! π
Full Changelog
- Widget v2: added easy editor, so creating your own widgets is a breeze now!
- Widget v2: added maxLines property in Text elements
- Widget v2: added widget v2 builder to multiple other actions input fields like Variable Set, Multiple Variable Set, Array Merge, etc, so you can easily build widgets anywhere
- Widget v2: Allow building a widget with the Pick Input Dialog action in a task
- Widget v2: fixed using variables in widgets gotten from files or URLs directly in the Widget v2 action
- Widget v2: fixed issue where sometimes wrong commands could be sent by an element
- Widget v2: fixed issue where sometimes wrong tasks could be ran by an element
- Added GetDeviceName function to the Tasker Functions action
- Updated Dialog that says that the accessibility service is disabled to contain more info about it
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-11-20 11:04:11+00:00.
Ok, Widget v2 is great (IMHO π ) but it would probably be worthless if only a handful of people were able to actually create custom widgets.
Well, now EVERYONE can easily create custom widgets with the new Widget v2 Editor!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
If you want you can also check any previous releases here.
Unfortunately there are some issues that I wasn't able to fix yet with the App Factory, so there's no updated version of that for now.
Widget v2 Editor
Full Demo:
This is what it looks like:
Example YouTube Copycat widget that shows you how you can use Array Merging to put a list of buttons inside a full Widget structure. Try editing the widget in the Widget v2 action but also in the Arrays Merge action to see how the editor looks like in both.
Here's a comparison: (top one is YouTube, bottom one is mine; couldn't find the correct icons, sorry π )
The new Widget v2 Editor
- previews the widget as you build it; even allows you to test interactions right there in the preview
- allows you to easily add/edit elements to your widgets
- allows you to put elements inside other elements (like texts in Columns) and go as deep as needed
- allows you to use Placeholders for variables, so you can easily put lists of mini-widgets inside the main widgets (for example, a list of dynamic buttons inside a custom widget)
- allows you to reorder elements
- gives you optimal JSON output, nicely formatted and all (give it ugly JSON, get back beautiful JSON π)
- allows you to build Widget v2 JSON even in other actions like "Variable Set", "Array Merge" and more, so you can easily build sub-widgets (like list items) that you can then use in the main widget
Hopefully this editor will now make it easy for anyone to build any widget they like! π
Full Changelog
- Widget v2: added easy editor, so creating your own widgets is a breeze now!
- Widget v2: added maxLines property in Text elements
- Widget v2: added widget v2 builder to multiple other actions input fields like Variable Set, Multiple Variable Set, Array Merge, etc, so you can easily build widgets anywhere
- Widget v2: Allow building a widget with the Pick Input Dialog action in a task
- Widget v2: fixed using variables in widgets gotten from files or URLs directly in the Widget v2 action
- Widget v2: fixed issue where sometimes wrong commands could be sent by an element
- Widget v2: fixed issue where sometimes wrong tasks could be ran by an element
- Added GetDeviceName function to the Tasker Functions action
- Updated Dialog that says that the accessibility service is disabled to contain more info about it
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/shaharofir on 2024-11-15 19:31:02+00:00.
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/joaomgcd on 2024-11-12 15:25:59+00:00.
Really handy update for this one, that can make the whole "Remote Action Execution" thing worthwhile: Remote Perform Task action. Also, Widget v2 has many, many new features!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
If you want you can also check any previous releases here.
Remote Perform Task
Demo:
You can now use the Remote Device option in the Perform Task action!
This means that you can run a task remotely, do some stuff on the remote device, then return some values and access those values on the original device!
This allows you to get ANY info from your remote device!
For example, want to know your remote device's battery level?
- Create a task on the remote device called Get Battery Level where you use the Return action with the value %BATT
- On your original device use the Perform Task action to run Get Battery Level on the Remote Device and set Return Value Variable to something like %battery
- On your original device use the %battery variable and do with it whatever you want. For example, show it in a v2 Widget! π
This opens up so many doors it's crazy! Let me know how it works for you!
Known issues:
- When you specify a remote task's name, if that task doesn't exist on the original device an error icon will be shown erroneously
- If you run a remote Perform Task in response to another remote Perform Task the tasks might get stuck
I'll try fixing these issues soon!
New Widget v2 Features
Demo:
Full Tutorial Example on how to create a Widget v2:
You now get a new Table layout preset that allows you to easily create widgets in the table format. For example, you can easily create a Weather widget that looks like this with this new preset:
The Custom layout is where all the fun is though. A LOT of stuff was added!
Check out the updated documentation here:
Some highlights:
- Scrollable columns so you can create lists of things that you can scroll through
- Grids, which are like scrollable columns, but with multiple columns at the same time
- Buttons with icons and different shapes
- Checkboxes and Switches
- Progress Bars
- Many, many ways to customize how text looks
- and much more!
Full Changelog
- Added Remote Device options to Perform Task action, meaning that you can run a task remotely and wait for the results
- Added Remote Timeout option to actions that support Remote Device so that you can choose how long you want to wait for the remote action to run
- Added Remote icon to actions that have Remote Device options set in the Task Edit screen
- If you search for remote when selecting an action, all the actions that support Remote Device options will show up
- Widget v2: Added Table layout preset, allowing you to easily build a table-like widget
- Widget v2: Added the following options to Custom layout JSON:
- base: useMaterialYouColors
- Column: scrolling
- Text: bold, italic, underline, linethrough, fontFamily
- Widget v2: Added the following new elements to Custom layout JSON:
- Grid
- Scaffold
- TitleBar
- Button
- IconButton
- CheckBox
- Switch
- Progress
- Widget v2: Added support for svg files
- Widget v2: Changed how TitleBar and Scaffold works so it's proper
- Widget v2: Don't set a backgroundColor for Circular IconButton by default
- Widget v2: Allow custom layout to be loaded directly from URL or File
- Widget v2: Fixed crashes when loading large images
- Widget v2: Added visibility property to all elements
- Widget v2: Changed Text Colors to Text Styles, allowing to set many different text appearance options
- Widget v2: Use Material You Colors option, allowing you to automatically use themed colors without having to worry about them
- Widget v2: Made an error appear on a widget as error text when there's an error rendering a widget
- Added Design Token colors to Get Material You Colors action (Android 14+)
- Fixed Remote Device actions sometimes not working after a reboot
- Fixed Widget v2 not appearing in some launchers
- Fixed Widget v2 not being automatically configured when adding in some situations
- Fixed headers for HTTP Request action in some situations
- Fixed javascript dialogs not appearing
- Fixed some Target API 34 related issues like Wifi Tethering, Screenshot and more
Let me know how this new release works for you! π
PS: Google is taking a real long time to approve Tasker on Google Play this time around. Hope they do it soon!
This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/MalKoppe on 2024-11-05 18:19:36+00:00.
An app that doesn't get mentioned often, but has nice ties into tasker, is this one.. really has worked well over the years (lol, except for the time I forgot to give it location access, d@mn wifi)
Does a good job of backing up to the cloud, just as a stand alone app,.. but the tasker integration means that when you get home, or whatever,.. it will sync data to your own home server, or whatever..
Had it for years, worked well.. the only thing if noticed (from other comments) is that it might need to receive a tasker 'Notification' profile,.. a pop up,.. to say something is not working, or is needed in the app..
Not tried this out yet, but just a heads up :)
Nice app