Tasker: Total Automation for Android

51 readers
0 users here now

The tasker community on Reddit. Reddit gives you the best of the internet in one place.

founded 2 years ago
MODERATORS
76
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-04-10 17:03:09.


A new beta is out! This one has the potential to change how we interact with Tasker forever! 😁 I guess we'll see in time.

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.

Tasker WebUI

Demo:

Tasker's Edit Task screen now has an HTTP API!

To enable it, switch to the new Tasker UI (Tasker > Menu > Preferences > UI > Enable New Tasker UI), edit a task, tap the menu button on the bottom left and enable it there!

This means that, optionally, while you're editing a task, Tasker creates some HTTP endpoints on your device that allow you to interact with the screen via network calls!

What this allows is for anyone to potentially create a web page with the BEST UI EVAAARR and edit a task via that!

Remember all those times people asked for this or that feature in the UI? Well, now you CAN ADD THEM YOURSELF! πŸ˜ŽπŸ‘

The HTTP API is still very early, but as you saw from the video, you can already do some very cool stuff with it! You can build a whole task at least! 😁

You also get a built-in web page where you can test all the API endpoints very easily. Just open the URL you get when you enable the feature to check it out!

I'm aware that documentation is still lacking here, but I'll add it in time, when things are more finalized. In the mean time you can check out the example page's source code to see how it works. Remember that the page needs to be running from your local file system for it to work. It won't work directly from the link above. Download the page to your PC for example, and run it from there.

Let me know what you think if you try out the API and please let me know what other endpoints could be added. Thanks!

I was also thinking of opening an official Github page for a crowd-sourced WebUI page where everyone could chime in and contribute with their code... What do you think?

EDIT: I've started a Github for this here:

Full Changelog

  • Added Enable WebUI option in the new Tasker UI Edit Task screen. Enables WebUI HTTP API and Allows you to build your own Tasker Task Edit screens from any of your devices on the same network.
  • Numerous changes and fixes in the new Tasker UI (still very much a WIP)
  • Fixed %UIMODE when connecting to Android Auto
  • Fixed Run Shell action not setting %err if it ended in error
  • Fixed issue where Device Admin/Owner action was crashing in certain circumstances
  • Fixed warning when trying to use the Mobile Data action if Tasker already has the WRITE_SECURE_SETTING permission
  • Attempt at working around an issue with Samsung's OneUI 6.1 where a Tasker widget isn't shown
  • Fixed issue where certain events/states didn't work with project/profile/task variables
  • Fixed issue that sometimes project/profile/task variables would be cleared after exporting
  • Fixed issue with creating home screen shortcuts where it sometimes said data was blocked
  • Fixed issue where sometimes the OK button wouldn't appear on the very first page when opening Tasker for the very first time
77
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-03-27 15:36:46.


A new beta is out!

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.

New Tasker UI (Continued)

Demo Video:

Important: to enable this you have to do it in Tasker > Preferences > UI> Use Tasker 2024 UI. You can switch back and forth if you want!

I've continued updating the new Tasker UI.

If you want to check out the new stuff, you can take a look at this example task that exemplifies If blocks, If Blocks nesting, labels (with colors) and how you can use the compact mode to easily look at your overall task flow.

  • Expanded mode:
  • Compact Mode:
  • Action Menu:

Obviously things are not finished and there's still a long way to go, but you can now more or less build a task using the new Edit Task UI, which is a good start :)

Keep in mind that all visual aspects are a WIP and can be changed at any time, but I hope the task editing flow will be something like what is available in this version.

I have only worked in the Task Editing screen itself so far, so editing actions still uses the old UI.

I hope I can minimize the amount of taps you need to do to edit an action in the future and hopefully will even be able to create an UI where you edit an action on the Task Edit screen itself without the need for a completely separate screen!

Let me know what you think so far!

New Device Owner Actions

Demo:

You can now completely uninstall an app with the Device Admin/Owner action as well as revoke or grant permissions to any app on your device.

Other Stuff

I fixed a long standing issue that made some actions not finish running if certain other actions were running at the same time. Hopefully this will "unstick" some of your more niche tasks πŸ˜…

I also "trimmed some fat" in some old Tasker code to hopefully make starting up Tasker a bit quicker

Full Changelog

  • Continued developing the new Tasker UI for the Edit Task screen adding new multiple features
  • Added Uninstall App and Set Permissions options in Device Owner action
  • Added Show Running Tasks and Show Running Profiles actions
  • Added option to get the latest Tasker version in the Direct-Purchase version
  • Made Tasker startup quicker in some situations
  • Fixed long standing issue where some actions could get stuck while running at the same time as certain other actions
  • Fixed issue with Device Owner action where apps couldn't be set via variables
  • Fixed issue in Get Files/Folders Properties where the match filter wasn't matching against the file name but only the absolute path
  • Fixed using maths in Multiple Variables Set action in certain situations

Enjoy! 😎

78
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-03-18 19:10:25.


Here's how you can do anything on your phone from your Google Home, using Tasker!

1 - Go to > Menu > Automations > Add New > use following script

metadata:
  name: Tasker Playground
  description: Tasker Google Home Playground

automations:
  - starters:
      - type: assistant.event.OkGoogle
        eventData: query
        is: "Run my cool task"
    actions:
      - type: home.command.Notification
        title: "Google Home Tasker Routine"
        body: "My Cool Task"
        members: [email protected]

and replace the email address with an email address of a phone where you have Tasker and the Google apps installed.Don't forget to enable the Routine.

2 - In Tasker import this project.

In Google Home say "Hey Google, run my cool task", and the example task should run on your phone! You can long-click the notification > configure > Silent to make it less intrusive.

3 - Under the "automations:" part in the script, add more "starters" blocks for each of the tasks you want to perform from Google Home. For example, to perform the task Send Wife Love add:

  - starters:
      - type: assistant.event.OkGoogle
        eventData: query
        is: "YOUR_GOOGLE_HOME_COMMAND"
    actions:
      - type: home.command.Notification
        title: "Google Home Tasker Routine"
        body: "YOUR_TASK_NAME"
        members: [email protected]

For advanced users: if you set the "body" in the Google Home script to something that isn't an existing task name, Tasker will run that as a command! You can use the Tasker command system for easier automation setup!

Available languages are listed here!

79
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-03-05 15:04:13.


A new beta is available! I'm very curious of what you think about this one!

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.

The New UI

Here's how it looks in app (FOR NOW): (Please keep in mind that stuff like If nesting will be coming, this is just a very early version. Please check the presentation below for a more finished view of the UI).

You can enable it by going into Tasker > Preferences > UI Tab > Use Tasker 2024 UI (VERY EARLY)

I've been working with u/EtyareWS to try and start building a new, more modern and streamlined version of Tasker's UI.

It's going to take a while, but for now you can already see the Task Edit screen in action in the current beta.

Keep in mind that it's super early and that most things don't work yet. It's a work in progress that won't be finalized until some versions of Tasker in the future.

My plan is to keep implementing the various screens across several public releases while always giving users a chance to switch to the new UI to check it out when they want, so I can get some feedback on it.

Also I don't want to do it all at once, since that would take WAY too long and would be worse off because of the lack of feedback and iteration on the UI/UX.

This means that in the next several public (non-beta) releases of Tasker, this new UI will remain in Alpha/Beta.

Here's a small presentation from u/EtyareWS about the UI. It shows several more screens and how they'll look like/work:

Let me know what you think about the new UI after trying it out and checking out the presentation above keeping in mind that this is still very early.

Also, if you like the old UI better, can you please let me know why? Maybe whatever's better with the old one can also be incorporated in the new one?

Thank you very much in advance! :)

Full Changelog

  • Added New Tasker UI option which shows different, more modern UI for some screens. For now, only the Edit Task screen is changed
  • Added way of using the Multiple Variable Set action in a more visually easier way:
  • Lock the Device Owner/Admin action from being used if Tasker is locked with a code
  • Allow the Device Admin/Owner action to be used on system apps that can't be launched from a launcher
  • In List Files action consider files inside hidden folders hidden themselves
  • Made license checking a bit less strict so you can use Tasker offline for longer periods
  • Fixed bug where Sound Mode wasn't being restored if Restore Settings was enabled on a profile
  • Fixed bug where if a variable name started with %caller it couldn't be used as a passthrough variable in Return actions
  • Fixed bug where action Set Variable Structure Type wasn't working with arrays

View Poll

80
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/mikthinker on 2024-02-22 19:35:14.


Description

MapTasker is a program that runs on your desktop, reading your Tasker backup XML file and displaying your entire or partial Tasker setup in a viewable format...in your default browser. 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. (Note 3)

New features since the last announcement include:

  • Windows 11 support.
  • Automatic update detection and optional installation.
  • Latest Tasker support (6.3.3-beta).
  • User-modifiable runtime settings saved as TOML file.

Just as a recap, MapTasker offers the following key features:

  • Everything from a summary to a detailed listing of your Tasker configuration. See runtime option "-detail {0-4}" for more details.
  • Display an individual Project or Profile or Task only.
  • Display a diagram of your entire Tasker configuration. See runtime option "-outline" for more details. (Note 1)
  • Command line or GUI interface. See runtime option "-gui" for more details.
  • Optional directory in front for all Projects/Profiles/Tasks/Scenes for very complex configurations. See runtime option "-directory" for more details.
  • Customize the colors used in the output and/or monospaced font to use. See runtime options "-c{name}" and "-font" for more details.
  • Many other runtime options to display "conditions", display "Taskernet" information, and display Tasker preferences.
  • Fetch the backup XML file directly from your Android device, and more. (Note 2)

To install: pip install maptasker

To run from the GUI: maptasker -g

For a list of all changes, refer to the full change log.

Program details can be found here.

Report any/all issues at this link.

Notes 1- Your default text editor must use a monospace font and line wrap must be turned off in the editor for the diagram to display properly.

2- For the "Get backup" option to work, you must have the following prerequisites:

  • Both the MAC and Android devices must be on the same network.
  • The sample Tasker Project must be installed and active on the Android device, and the server must be running..see Android notification: "HTTP Server Info...".
  • See config.py to change the default settings permanently, or use the runtime options "-save" and "-restore" to save/restore your runtime options.

3- There is no reason this can't run under Windows or a Linux distribution, but it has not been tested as I have no access to either.

<<<<<<<<<<<< FINALLY >>>>>>>>>>>

I am looking for new feature requests and/or bug reports. Please feel free to submit them to the issue tracker.

81
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-02-20 18:54:34.


A new beta is available!

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.

Get Network Data Usage

Demo: https://www.youtube.com/watch?v=i0JOg5L3qtM

With this new action you can get the amount of data you used on your Mobile Network, Wifi Network and more!

You can get the system wide amount or just for a certain app and you can specify the start and end times for the period you want to get data from!

This allows you to set up customized alerts based on data usage for example, or whatever else you can think of!

New Get Files/Folder Properties Features

Demo:

You can now sort the output by multiple criteria in this action. For example, you can sort the files alphabetically and then by size (if by chance there are 2 files with the same name and a different size).

You can also filter the files/folders by Hidden, Type and more!

New Array Compare Features

Demo:

You have new "Match", "Exact Match" and "Comparison Map" outputs in this action.

The Comparison Map allows you to check the common and different elements in each array and also find matches between different arrays as shown in the demo video above!

Full Changelog

  • Added Get Network Data Usage action that allows you to get the data your phone used in any given time period
  • Added option to sort in Get Files/Folders Properties action
  • Added more filters in Get Files/Folders Properties action: NotEmpty, Hidden, NotHidden, Image, Video
  • Added Match, Exact Match and Comparison Map variables to Array Compare action
  • Added User Certificate option in Pick Input Dialog action
  • Added Tasker Global variable-names next to their names in the Variable Select dialog
  • Renamed List File/Folder Properties to Get Files/Folders Properties
  • Made global variables that belong to the same project as the one you're editing to appear first in the Variable Select dialog (before all other user Global Variables)
  • Allow user to search User Restrictions in the helper in the Device Admin using the dialog filter
  • Automatically add separators and remove parenthesis when you use the variable select dialog in the Array Merge and List Dialog actions
  • Allow user to send null to a Custom Device Admin/Owner action by writing null as a parameter
  • Allow Tasker Block pin to be entered right away when it shows up (input box gets focus right away) and user can use soft-keyboard Enter key to submit
  • Fixed crash when searching inside a task in certain situations
  • Fixed checking for dependent tasks when deleting a task in certain situations

Enjoy! 😁

82
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/BinkReddit on 2024-02-13 18:09:57.


Just chiming in to say how awesome Tasker is.

Back in the day I made heavy use of Tasker; Android was in its infancy and needed a lot of help, and Tasker was there to make it better. As a matter of fact, people used to say Android was better than iOS simply because we had the power of Tasker!

Over time, as Android became more functional, I had less of a personal need for Tasker.

Fast forward to today and I needed to do something that was a bit tricky. In browsing Reddit, someone suggested to use Tasker for this and, lo and behold, my problem was resolved with Tasker in less than five minutes.

Thank you joaomgcd for the efforts you put here over the years; I know Google has made it VERY challenging for an application like yours to do all the amazing things it can do and I'm always blown away by the sheer number of automations that are possible. I, myself, also develop Android applications as a hobby (I currently have one that simplifies some very specialized automation), so I am very well aware of the challenges in making Tasker work as well as it does.

Thank you Tasker!

83
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/Alert-Estimate on 2024-02-06 16:06:09.


I just wanted to openly say thank you so much for Tasker. It has changed my life big time.

It is because of Tasker i that i truly learnt to program. When I started using Tasker I had no programing skills, but I just loved how it just made everything straight forward. If you want to get something done you create a task and a task has actions in it. There is almost an action for everything you can imagine. And the triggers were a joy. Just set time or create a gesture for triggering your tasks. It was such a no brainer. To top it of you have a choice to make your actions in JavaScript, javascript had not made sense to me before, but I had read somewhere that making your actions in js made the processing more efficient so I got learning. Today I weave javascript like niddle and cloth and I do it well, from there other languages made sense to me naturally.

I went on to do my Masters in software engineering and I did my project with Tasker and javascript, it just made sense and before everyone had started theirs I had already finished making my prototype (it was fun!).

After that I went on to designing a code editor for Tasker, which made accessible even on iPhone as a web app when my android broke.

All that from Tasker. So thank you again and may you be blessed with abundanceπŸ™πŸΎ

84
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-02-02 12:41:33.


Today I received a request from a user that asked me to add a Power event to Tasker, in addition to the existing Power state that already exists. This made me realize that there's actually no need for me to add events for states that already exist because you can easily create those events yourself!

Converting a State into an Event in 2 Easy Steps

  1. Create a State Variable for the state you want to convert
  2. Use the Variable Set or Variable Cleared events to react to the event of that state going on or off

Here's an example (taken from the user mentioned above):

User's Use Case:

In a situation where their mobile is wirelessly connected to the car's audio system via Bluetooth & Android Auto Wireless, and being charged (either wirelessly or wired), a user wants to have warnings triggered when they turn their car off but forget to take their phone with them. The problem is that their Bluetooth connection remains active for a short time even after leaving the car.

The Problem

Currently, using the states Bluetooth Connected + Not Charging triggers a warn message prematurely - upon unlocking the car - before the phone even gets a chance to charge, because the condition of those states is true right away (Bluetooth is connected and the phone is not charging).

So, the user requested that I should add a new Not Charging event so that the the profile would only trigger when the phone is taken off charging, and not it first connects to Bluetooth.

The Solution

Create a State Variable for %Charging and then use that in the Variable Cleared event! :) Something like this:

Project: State To Event

Profiles
    Profile: Set Charging Variable
        State: Power [ Source:Any ]

    Enter Task: Anon

    A1: Variable Set [
         Name: %Charging
         To: 1
         Structure Output (JSON, etc): On ]

    Exit Task: Anon

    A1: Variable Clear [
         Name: %Charging ]

    Profile: When Taken Off Charge And Connected to Bluetooth Remind Not To Forget Phone
        Event: Variable Cleared [ Variable:%Charging User Variables Only:Off ]
        State: BT Connected [ Name:* Address:* ]

    Enter Task: Anon

    A1: Say [
         Text: Don't forget your phone!
         Engine:Voice: default:default
         Stream: 3
         Pitch: 5
         Speed: 5
         Respect Audio Focus: On ]

In this example the %Charging variable is maintained separately and then you can use the setting and clearing of it as an event in any of your profiles!

Hope this helps someone out! 😎

85
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-30 17:07:33.


Here's another beta! Some Device Owner refinements and a couple of new actions!

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.

List File/Folder Properties

Demo:

The other day I realized that doing bulk file operations in Tasker is a bit hard.

For example, listing files recursively inside a folder and its subfolders should be easier. Checking if you have any empty folders is another example of something that should be simpler.

Also, listing multiple file properties at once (name and size for example) should be possible without multiple actions.

That's why I created this new action!

It's still a bit barebones right now, but I'm willing to add more output info, filters or other stuff that makes sense, so let me know if you have any ideas!

Let me know what you think :)

Array Compare

Demo:

This is a simple action: it takes 2 or more arrays and tells you the common and distinct elements in them. That's it!

Let me know if it makes sense to output more stuff!

User Restrictions

Demo:

This is a new option in the Device Admin/Owner action that allows you to impose certain restrictions on your device/user.

Check out the video for examples but below are the restrictions you can toggle. I don't even know what some of them are, but it seemed interesting enough for me to add.

Keep in mind that you could already do this with the Custom option, but this makes it easier to select the restrictions without having to look up the documentation.

  • Allow Parent Profile App Linking
  • Ensure Verify Apps
  • Key Restrictions Pending
  • Disallow Add Clone Profile
  • Disallow Add Managed Profile
  • Disallow Add User
  • Disallow Add Wifi Config
  • Disallow Adjust Volume
  • Disallow Airplane Mode
  • Disallow Ambient Display
  • Disallow Apps Control
  • Disallow Autofill
  • Disallow Biometric
  • Disallow Bluetooth
  • Disallow Bluetooth Sharing
  • Disallow Camera
  • Disallow Camera Toggle
  • Disallow Cellular 2g
  • Disallow Change Wifi State
  • Disallow Config Bluetooth
  • Disallow Config Brightness
  • Disallow Config Cell Broadcasts
  • Disallow Config Credentials
  • Disallow Config Date Time
  • Disallow Config Locale
  • Disallow Config Location
  • Disallow Config Mobile Networks
  • Disallow Config Private Dns
  • Disallow Config Screen Timeout
  • Disallow Config Tethering
  • Disallow Config Vpn
  • Disallow Config Wifi
  • Disallow Content Capture
  • Disallow Content Suggestions
  • Disallow Create Windows
  • Disallow Cross Profile Copy Paste
  • Disallow Data Roaming
  • Disallow Debugging Features
  • Disallow Factory Reset
  • Disallow Fun
  • Disallow Grant Admi
  • Disallow Install Apps
  • Disallow Install UnkDisallowwn Sources
  • Disallow Install UnkDisallowwn Sources Globally
  • Disallow Microphone Toggle
  • Disallow Modify Accounts
  • Disallow Mount Physical Media
  • Disallow Network Reset
  • Disallow Oem Unlock
  • Disallow Outgoing Beam
  • Disallow Outgoing Calls
  • Disallow Printing
  • Disallow Record Audio
  • Disallow Remove Managed Profile
  • Disallow Remove User
  • Disallow Run In Background
  • Disallow Safe Boot
  • Disallow Set User Icon
  • Disallow Set Wallpaper
  • Disallow Share Into Managed Profile
  • Disallow Share Location
  • Disallow Sharing Admin Configured Wifi
  • Disallow Sms
  • Disallow System Error Dialogs
  • Disallow Ultra Wideband Radio
  • Disallow Unified Password
  • Disallow Uninstall Apps
  • Disallow Unmute Device
  • Disallow Unmute Microphone
  • Disallow Usb File Transfer
  • Disallow User Switch
  • Disallow Wallpaper
  • Disallow Wifi Direct
  • Disallow Wifi Tethering

Full Changelog

  • Added new Array Compare action that tells you the common and distinct elements in multiple arrays
  • Added new List File Properties action that gets multiple file properties from multiple files and folders
  • Added User Restrictions and Backup Service options to the Device Admin/Owner action
  • Added Used Memory option in the Test Tasker action
  • Changed Device Administrator Actions action name to Device Admin/Owner
  • Made Wifi and Bluetooth actions use the Device Owner permission if available so no Tasker Settings, Root or ADB Wifi is needed
  • Made Kill App action use the Device Owner permission if available so no root or ADB Wifi is needed
  • Made clearDeviceOwnerApp and clearProfileOwner actions not accessible for security reasons
  • Made Reset Error Notifications also reset some Stop Reminding dialogs
  • Made Tasker ignore its own notifications earlier on in the process so less stuff runs on each Tasker notification
  • Made Tasker ignore plugin requests if disabled
  • Made Tasker not post the Tasker Disabled notification if not needed (it was posting it too many times)
  • Fixed message that mentioned an invalid vibration in certain situations
  • Fixed message when trying to use the Flash action with the Show Over Everything option enabled but when the user has the Tasker Accessibility Service disabled
  • Removed option of granting Device Owner permission with root since it's not possible to do so

Enjoy! :)

86
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-23 19:35:59.


Here's an example project that could maybe help people out!

Import here!

Basically, this allows you to set/get any Tasker variable on another one of your devices! You simply import the project on both devices and then run the included tasks to do it!

Hope this is helpful for someone! 😎

Let me know if you have any questions/suggestions!

87
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-18 19:35:24.


Demo:

Did you like the AI features in Samsung's presentation of their Notes app yesterday?

Well, you can very similar results with Tasker and ChatGPT!

Import the project here!

Basically, you'll add 2 AutoShare Text Processors:

  • Meeting Note
  • Summarize

Each of these will trigger ChatGPT to summarize the meeting in the way you describe when you first import the project (you set the instructions for how it should summarize it).

Then you just select text in an app, choose the appropriate action and it'll replace your text with the summarized text!

Enjoy! 😎

88
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-17 19:50:36.


I've given the public version of Tasker about a week and it seems pretty stable, so I'll go back to releasing betas now! 😁

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.

Device Admin (and Owner) Actions

Demo:

Tasker can now do some pretty powerful actions with the ability to be a Device Owner app!

Check out how to make Tasker a Device Owner app here.

With this permission, Tasker can now do stuff without a rooted device like:

  • Kill apps
  • Freeze apps
  • Clear App data
  • Reboot device

It can also do most of the actions you see here: (provided your device supports it).

If you use the Custom Mode in this new action, the helper in the action will automatically scan your device for supported Admin actions and allow you to call any of them!

You can even get values back from the system with these custom actions, if the action supports it, so you can query the system for a lot of important values!

Full Changelog

  • Added Device Administrator Actions action
  • Added option to automatically start Tasker monitor on app open, which helps on some systems that don't start Tasker in the background
  • Made Timeout work for all types in Pick Input Dialog action
  • Don't show "Schedule Exact Alarm" as a permission when importing stuff
  • Don't show unnecessary warning when using file image in Notify icon
  • Fixed issue when enabling the "Reset Return Value" option in the "Perform Task" action with a Global variable
  • Fixed issue that asked for Tasker Settings to be installed (if not already) when disabling Tasker
  • Fixed issue where sometimes Project/Profile/Task variables would revert after saving the current Tasker setup
  • Fixed icon to select color in the in Image Select Dialog
  • Fixed only setting a default content type in the HTTP Request action when the user didn't already specify a content-type themselves
  • Fixed showing too many unneeded task references when deleting a project
  • Fixed using the Search feature in the Task Edit screen
  • Fixed some crashes when running certain Javascript scripts
  • Fixed issue with automatically calling some phone numbers with # or * in them
  • Fixed issue where using Read File to a project/profile/task variable wasn't working
  • Fixed crash when using very large images in Text/Image Dialog
  • Fixed bug related to using Query Next Alarm action
89
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-11 15:47:43.


Video Demo:

Import project here.

Inspired by this comment in the other thread, I decided to create a small project like that myself and share it with everyone! (Thanks /u/zubaz21!)

At worst this could be a good proof of concept for anyone that wants to get started using the new HTTP Request event.

At best this could actually be useful! πŸ˜…

Let me know how you like it! Thanks! 😎

90
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-01-09 14:41:09.


After (again) not being able to update Tasker on Google Play for a while, today is the day that I was finally able to publish the app there again!

Check out the release video:

You can read all about this release here:

Very Important Note: since Google didn't allow me to beta-test this version on Google Play there might be some small issues that arise that I didn't catch in this release. Please let me know of any such issues and I'll try to fix them as soon as I can! Please only mention new issues that didn't exist in the public version on Google Play. Those are the most urgent to fix. As always, I'll try fixing other issues with time.

Here are some highlights!

Matter Home Automation

Tasker can now control your Matter compatible lights!

HTTP Server

Tasker can now receive HTTP Requests from other network devices and respond with anything and everything Tasker has to offer!

Work Profile

You can now toggle and react to toggling your Work Profile on your device!

QOL Improvements

You can now copy and paste if conditions in actions.

You can also transform actions with embedded if conditions into If blocks (and back) automatically.

You now also get a notification every time a task runs so you can keep track of what's happening in the background.

Full Changelog

Check out all the additions/changes/fixes here:

91
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/Ratchet_Guy on 2023-12-03 14:25:41.


Β 

Post here what you're using Tasker for this month!

Β 

All Profiles/Tasks/Projects are welcome, whether just an idea, a finished piece, or something you're in the middle of that you'd like to share and/or get feedback on, or assistance with any aspect!

Β 

We've got a great community here of very smart and helpful folks, and even a simple idea can spark a great discussion! The winter season is coming around in the Northern Hemisphere, and we wish everyone a very happy upcoming December Holidays!!

Β 

92
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-12-22 12:13:28.


Before I go away on vacation, I just wanted everyone to know that there's a crazy scam going on.

Check it out:

For some reason someone decided to create this task and say that it unlocks super awesome rewards in a game called "Crazy Hero":

If you know anything about the Shortcut action in Tasker, you can tell right away that this is complete nonsense. That action takes an Intent string as input. Writing something like Complete Level there won't do anything πŸ€ͺ.

But now there are dozens of videos on TikTok using this same exact task saying that it's super good. Seems like someone made it up and for some reason dozens of other people are copying the idea? I don't know...

For the past few days I've been receiving lots of emails asking me for help on this and that I should make it work for them.

So, if you like this Crazy Hero game and think this task is a magical way of giving you coins in it or whatever, please DON'T! πŸ˜…

Anyone that knows more about these TikTok trends and how this scam might benefit anyone care to chime in? Is it just to get referrals in the game and nothing else? Or is something else going on here?

Take care!

93
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-12-19 11:59:17.


Just wanted to let everyone know that, despite being now able to update the app again on Google Play, I made the difficult decision to only do it after the holidays.

The reasons for this are:

  • I can't publish the app to the Beta channel. Google won't let me.
  • Because of the above there's a higher than usual chance that something's going to break when I update the app
  • I don't want users to spend potentially 2 weeks with a broken Tasker
  • I don't want to spend the holidays stressing about Tasker πŸ˜…

In conclusion, I think it's better for all of us if I just postpone the update on Google Play until after the holidays!

If you really want to, you can try the production ready version here. This should be the APK that I upload to Google Play after the holidays. Of course, if you find any new issues that aren't already in the public version, let me know and I can address them before the final release πŸ˜…

If you need the App Factory for this version you can download that here too.

Thank you very much and happy holidays everyone!

94
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/Lord_Sithek on 2023-12-18 08:38:52.


Recently I decided to relock bootloader on my main device. Since I can't live with some degree of customization, I took the challange of forcing ADB WiFi to get enabled automatically on boot!

DOWNLOAD THE PROJECT FROM TASKERNET

This project is hugly based on the works posted here and here.

I realize that this subject has been raised a few times and there are other projects (like this) aiming to achieve automatically enable ADB WiFi on boot. However, nothing I found allows to do it fully IN BACKGROUND, hence it always interfere a bit when you start to use your device after boot. That's why I looked for other possible solutions. In my search I came across nmap tool, which can be used in Termux and utilized to obtain the port opened for wireless debugging. After some attempts, I managed to create a flow extracting that port through Termux and Tasker.

The project I'm sharing requires some manual one-time actions to set up everything, but once it's done, all you should need is to unlock the phone after boot.

Prerequisites:

I assume you have above-mentioned apps installed and that you already enabled Developer Options and Debugging on your device.

1. Setup Tasker and AutoInput

If you haven't done that before, grant Tasker following permissions:

On your device, go to Settings > Apps > All apps > Tasker > Permissions > Additional permissions > Run commands in Termux environment (the path may vary a little according to the brand and system) and select Allow.

Allow AutoInput to use Accessibility Service:

Open AutoInput, tap on red warning text and click OK; this should take you to Accessibility Service settings. Enable it for AutoInput. Then allow AutoInput to run in background by disabling any battery saving option for this app.

2. Set up Termux

(a) install needed tools

Open Termux and install android-tools and nmap tool by issuing these commands separately:

pkg install android-tools

pkg install nmap

Confirm downloading in terminal if needed by typing y and Enter on keyboard.

(b) set allow-external-apps property for Termux to true

In Termux, copy and paste the following script and confirm by pressing Enter:

value="true"; key="allow-external-apps"; file="/data/data/com.termux/files/home/.termux/termux.properties"; mkdir -p "$(dirname "$file")"; chmod 700 "$(dirname "$file")"; if ! grep -E '^'"$key"'=.*' $file &amp;>/dev/null; then [[ -s "$file" &amp;&amp; ! -z "$(tail -c 1 "$file")" ]] &amp;&amp; newline=$'\n' || newline=""; echo "$newline$key=$value" >> "$file"; else sed -i'' -E 's/^'"$key"'=.*/'"$key=$value"'/' $file; fi

3. Create new folder for needed files

Create new folder on your sdcard to store files needed for extracting open wireless debugging port:

/sdcard/Documents/nmap

4. Create scripts

(a) create a directory for Tasker scripts

Open Termux and issue the following command:

mkdir -p .termux/tasker

(b) create a script for ADB pairing

In Termux, type the following command to create adb_pair.sh script:

nano .termux/tasker/adb_pair.sh

Copy and paste the text from the following link into terminal:

Save the script by selecting CTRL (in Termux) and then pressing x; confirm by pressing y and Enter.

(c) create a script for ADB connecting

In Termux, type the following command to create adb.sh script:

nano .termux/tasker/adb.sh

Copy and paste the text from the following link into terminal:

Save the script by pressing CTRL (in Termux) and then pressing x; confirm by pressing y and Enter.

(d) create a script for nmap 1st command

In Termux, type the following command to create nmap1.txt script:

nano .termux/tasker/nmap1.txt

Copy and paste the following text into terminal:

nmap -T4 $1 -p 30000-49999 | awk "/\/tcp open/" | cut -d/ -f1 > /sdcard/Documents/nmap/nmap.txt

Save the script by pressing CTRL (in Termux) and then pressing x; confirm by pressing y and Enter.

(e) create a script for nmap 2nd command

In Termux, type the following command to create nmap2.txt script:

nano .termux/tasker/nmap2.txt

Copy and paste the following text into terminal:

nmap -T4 $1 -p 30000-49999 | awk "/\/tcp open/" | cut -d/ -f1 >> /sdcard/Documents/nmap/nmap.txt

Save the script by pressing CTRL (in Termux) and then pressing x; confirm by pressing y and Enter.

(f) create a script for cat command

In Termux, type the following command to create cat.txt script:

nano .termux/tasker/cat.txt

Copy and paste the following text into terminal:

cat /sdcard/Documents/nmap/nmap.txt | sort | uniq -u > /sdcard/Documents/nmap/nmap1.txt

Save the script by pressing CTRL (in Termux) and then pressing x; confirm by pressing y and Enter.

5. Import the project into Tasker

Download link above

6. Pair your device with ADB WiFi

Make sure that Termux ADB WiFi Pairing profile in your new Tasker project is enabled and that you have WiFi connection.

On your device, navigate to Settings > System > Developer options > Wireless debugging (the path may vary a little according to the brand and system). Enable this feature and tap on Pair device with pairing code (or similar).

With a pairing code visible, long press Volume Up button to make pairing. If pairing succeeded, you should see the confirming toast and at least one paired device at the Wireless debugging screen (most likely named as xxx@localhost).

Termux ADB WiFi Pairing profile should get disabled then as it won't be needed anymore. Now, disable Wireless debugging feature manually.

Congratulations, you have set everything up for enabling ADB WiFi automatically on boot! If you want to test it without rebooting, run On Boot task manually.

Optionally, if you use Shizuku service, you can enable it automatically on boot as well. To that end, enable the last action (no. 41) in Enable ADB WiFi task.

BOTTOM NOTE

Perhaps there is a way to achieve this more easily or even to simplify the flow I created. Also I could pack all things in one huge task, but I decided to split the flow to separate tasks in order to keep it more clear.

FYI, I'm not a programmer, just a Tasker user determined to achieve his goal and taking advantage of the work of others ;)) So feel free to comment, I'm open to suggestions.

CREDITS

Thanks a lot to u/DutchOfBurdock and u/cm2003 for the base which makes that project possible, as well as u/Alive_Tart3681, u/ihifidt250, u/The_IMPERIAL_One and u/plepleus for useful ideas I utilized here.

95
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-12-14 16:50:24.


As you may know Google changed how Android 14 works and now apps can't have real persistent notifications. Users can now swipe away every notification, even if the app says that it's persistent.

It's a really annoying change, specially when most users just assume that something is wrong with the app and leave bad reviews on it because of this system-level change.

To try and address this for the people that like having real persistent notifications, I've added a feature in AutoNotification Beta that clones any persistent notification that is swiped away by the user and keeps it there, even if the user swipes it away again.

Check out the video demo:

It's probably not working 100% right now, so let me know if there are any issues.

Would you use this feature? Do you need it? :)

Download the beta here or get the APK directly here.

Thanks in advance!

96
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-12-14 14:22:27.


For some reason Google have finally realized that Tasker isn't sending SMS and Call data to http://myserver.com over anΒ unsecured network and now allow me to publish on Google Play again! Yay! πŸ€ͺ

Unfortunately some people have been reporting an issue using Tasker Settings 1.7 with the latest release of Tasker.

Because of Google Policies, I'll be required to release this update to Tasker for everyone on Google Play, and not just beta testers, and I don't want to risk the same situation happening as it did with AutoWear the other day.

With this in mind, would it be possible for anyone to try out

(Note: to install Tasker Settings on Android 14 you need to check the note about it here: )

and see if the Wifi action works with the Toggle option?

Some people have reported getting an error (android.os.BadParcelableException: ClassNotFoundException when unmarshalling: net.dinglisch.android.tasker.PluginResultReceiver) when running the action so I would really like to fix this issue before releasing the app for everyone.

EDIT: I've now found an issue and fixed it with Tasker Settings 1.7.1. (the version that was erroring out for some people was 1.7.0). Hopefully that takes care of it!

Thank you very much in advance! Hopefully I can finally bring out this update for everyone soon!

97
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-12-12 16:43:31.


Download:

Finally, after trying to guess what was wrong with AutoWear, I finally realized that the problem was that they were testing the production version of the app, and not the beta version that I kept submitting.

So, after submitting it to production and Google once again rejecting it because "your app crashed when launching" with no further details, I simply decided to just submit it again, in the hope that it was just a tester that didn't know what they were doing...

And, voilΓ , the app was finally accepted and now everyone can use the latest version! :)

EDIT: Apparently they were right. The app is crashing for some people as seen below. This is what happens when they don't allow me to properly beta test the app! 😭 I'll try to fix it as soon as I can!

EDIT 2: I've tried fixing it, but I'm not sure it's fixed yet. If you're having the issues described in comments below, can you please try installing these APKS:

Let me know if these fix the issue. Thanks in advance!

Here's what's new:

AutoWear Tiles

Initial Demo:

Tile Icons And Progress:

Text List Tile:

You know, those screens on the right of your watch face... You can now have customizable AutoWear tiles right there!

You can have 4 different tiles setup at any time, and each tile can be a Buttons, Progress or Text List tile!

It's super easy to add more tiles for me (more than 4 I mean... Adding different types of tiles is harder πŸ˜…), so let me know if that's needed.

The documentation for the tiles is available here.

Samsung Fixes

For some reason Samsung watches didn't work with some older versions of the libraries used in AutoWear. I've now updated these and it should all work normally on Samsung watches again!

Progress Screen (Coming Soon)

Demo:

I've not updated the beta yet (Google just approved the production version, but I'll submit it soon), but AutoWear will now have a new type of screen: Progress Screen

It's similar to the the Progress Tile above, but can be more powerful since I'm not as restricted as I am with the Tile. For now, it's pretty basic, but let me know what would make sense for you in a progress screen and I'll see if I can add it :)

Anyways, (finally) enjoy the new AutoWear! 😎

98
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/DrunknPilot on 2023-12-03 23:51:07.


Description

This is a project to take complete control over Sony WH-1000XM4 headphones (see "supported device(s)"). It technically can do everything Sonys app can, but comes preprogrammed with limited features (due to effort finding/evalutating unknown commands). It is meant to be customized and adapted to your specific need. Eventough I tried to build it as reliable as possible with many error detections, the code is not "fool proof": entering stuff which makes no sense or isnt meant may cause some tasks to crash unexpectedly.

Im by no means a professional programmer and therefore have limited programming knowledge. This is all built on private research/studying/try and error/chatgpt. However I tried my best to minimize bugs and make this code as efficient + understandable as possible. If you have problems or suggestions for improvement dont hesitate to tell me. Use at own risk.

Preprogrammed Features

  • turn noice cancelling on
  • turn ambient sound control off
  • turn headphones off
  • disconnect headphones
  • kick other connected device
  • set equalizer to "manual" and directly set that to custom values from tasker variable
  • toggle touchpad control on/off
  • check for amount of connected devices, if 1 turn headphones off, if 2 disconnect this device
  • monitor battery level through system intent (if it doesnt work directly after import: reconnect headphones)
  • error detection and optional logging for active development

Install

Unless you want to actively find and add your own commands with external programs and advanced logging (with the help of for example WireShark) I recommend just getting the default version. I will add an additional link ("Addon") which will include some tasks which may make things easier finding and evaluating commands (mainly converting formats).

  • Import the project (if you dont see the profile after importing: press check mark and restart tasker). You dont need to "activate the profiles right away".
  • You may need to sort the tasks alphabetically to better see whats going on (go to tasks tab, then press on tasks tab again) because tasker tends to mess up my sorting after export/import (how can I fix this?)
  • After importing, RUN AND FULLY GO THROUGH TASK "hpSetup", OTHERWISE THE PROJECT WILL NOT WORK (should be executed automatically)

Make sure that:

  • you have your SMARTPHONES BLUETOOTH MAC address ready to type/paste in (found in system settings -> info/about phone)

  • bluetooth is on

  • the headphones are paired (not necessarily connected)

  • tasker has/gets the necessary permissions

  • Enjoy ;)

Use

All directly executable tasks=features have capital letters and no underscore in them. Furthermore they have a quick explanation (function and how to use) inside. If a task starts with "hp_" it is not meant for direct execution and will probably fail, however it is needed for functionality (will be called by other tasks). Do not delete or edit them unless you know what you are doing!

I may add more detailed information about how it works (especially hp_* tasks) to help private development, but dont want to go through the effort in case no one cares. Most of it is quite simple anyway and easy to understand if you are an experienced tasker user.

Supported device(s) / compatibility

Currently the only definitly supported device is WH-1000XM4, firmware version 2.5.0 (built with tasker 6.1.32).

There are no plans to add different models, because I do not own them and cant test on them. However it may already work (partially?) on some devices, for example WH-1000XM3 or WH-1000XM5, but as said I cant confirm because I dont own them, so try at your own risk.

If it doesnt work, the solution might be as simple as changing the uuid in the task "hp_connected", action 2 -> "Param (String)". Default value for WH-1000XM4 is "96cc203e-5068-46ad-b32d-e316f5e069ba". To find your headphones uuid you can make use of apps like "bluetooth devices info". However its still some effort since a device has multiple uuids for different purposes, so you have to try them all in hopes that one will work (I would try the ones with completly random characters first). If none work its likely that your headphones use different commands and therefore you would need to find them yourself with bluetooth logging and external programs like WireShark.

Download / Import

DISCLAIMER: IM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS TASKER PROJECT, USE IT AT YOUR OWN RISK. IF YOU DO NOT AGREE, DO NOT DOWNLOAD / USE IT!!!

Default Project

Addon

99
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2023-11-30 19:26:52.


As you may know, I'm not currently able to update Tasker on Google Play.

Over a week ago Google replied to my rejection appeal saying this:

your app is uploading users' Contact List and SMS Log information to http://myserver.com over anΒ unsecured network. Your app must handle user data securely, including transmitting it using modern cryptography (for example, over HTTPS).

Tasker absolutely doesn't send contact lists or SMS logs to that server. As a matter of fact, as you may know, Tasker doesn't do anything without the user setting it up, much less :P

I've requested clarification and proof that Tasker is doing what they claim, and they are currently reviewing the issue. However, it has been 9 days since they reported the above issue and the still didn't conclude the "review"... I asked today and they confirmed they are still looking into it.

Anyway, just wanted to keep you updated on why there are so few releases lately. I don't want to add any new features into Tasker before I can update it, because I can't even update the app on the beta track (Google requires that the next update is in Production).

Posting apps on Google Play Store is such a pain these days...

100
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/NYMFET-HUNT___uh_nvm on 2023-11-29 10:37:49.


This is pretty wholesome & thought to share.

view more: β€Ή prev next β€Ί