/r/tasker

Photograph via snooOG

Welcome to /r/Tasker

In addition to the Official Tasker Wiki, User Guide, and Google Groups, this subReddit is a place for fellow Redditors to discuss, share, and submit Profiles, Tasks & Walkthroughs for Tasker, or to ask for help creating your own Profiles, Tasks, and questions in general related to Tasker (including plugins etc).

Subreddit Resources:

* [Read Me] Using Tags in Your Thread Titles

Formatting Tasker Code for use in reddit comments

How to Export / Import Files Into Tasker - Guide

** Tasks that Help You Use Tasker Itself

Free Alpha Autoapps and Tasker Icon Sets

Generate Tasker Direct-Purchase Licenses Yourself

Tasker Feature Request Submissions

Quick Search Links:

"How-To / Project" Threads

"Need Help" Threads

"Weekly / Monthly & Discussion" Threads

"Developer" - Tasker Updates & Releases

* List of Tasker Plugins and 3rd Party Apps

Learning Guide Links:

* 1,001 Tasks and Profiles - Best, Coolest, Most Common and Useful

Pocketables.com Beginner’s guide to Tasker (New UI)

RoryCodes.com Tasker Tips & Tutorials from /u/froryrory

Tasker Quick Start Setup Guide from /u/Quintaar

Pocketables.com Tasker Guide List

Some Tasker Technical Stuff:

Toggling Wifi or Bluetooth via Tasker In Recent Android Versions using the Tasker Settings app

Granting ALL Special Permissions - ADB & Tasker

IFTTT Tasker Integration via AutoRemote

ADB over Wifi - Enabling Without a MAC or PC

AutoApps Command System Tutorial and Reference

Tasker Scheduling/Priority System - A Detailed Guide

New Project/Profile/Task "PPT Variables" - Quickly Find The Variables' Location, Names & Values!

All Previous Versions of Tasker With Notes For Features & Changes In Each

List of all Tasker Built-In Variables


TaskerNet Search Bot - How to use here

TaskerNet Search Engine Website


Learning Guide Videos:

AutoApps YouTube Channel and João Dias Channel

Tasker 101 Tutorials on YouTube by HollywoodFrodo

Tasker 101 Tutorials on YouTube by /u/Quintaar

Tasker How-To Videos on YouTube by /u/-Juan_M-

Tasker Tutorials on G+ & YouTube by /u/ryoendeprouw

Tasker Video Tutorials by /u/techentourage

Have more useful links you think should be in the sidebar? Send a modmail!

Related Subreddits:

/r/TaskerNet
/r/JoinApp
/r/Android
/r/AndroidRoot
/r/AndroidTechSupport
/r/AndroidApps
/r/AndroidUsers
/r/AndroidQuestions
/r/TaskerFiles
/r/Not_Enough_Tech

/r/tasker

91,466 Subscribers

1

Sending HTTP POST with variables

I'm trying to capture all incoming SMS messages and ringing states and send them as JSON to a webhook on my Home Assistant setup.

How can I can get Tasker variables into the JSON payload?

If I don't quote them then its not valid JSON. If I do then the literal (%NTITLE) is sent in the JSON. I've tried backslash escaping the quotes but that doesn't work either.

I'm sure I've had this working in the past, but I haven't used Tasker for a long time.

This is what one of the tasks looks like.

Task: Webhook SMS

A1: HTTP Request [
     Method: POST
     URL: https://(redacted)/api/webhook/(redacted)
     Headers: Content-Type: application/json
     Body: { "from": "%SMSRF", "date": "%SMSRD", "time": "%SMSRT", "body": "%SMSRB" } 
     Timeout (Seconds): 30
     Trust Any Certificate: On
     Automatically Follow Redirects: On
     Structure Output (JSON, etc): On ]
1 Comment
2024/12/22
08:34 UTC

1

Covers and C.A.F.

Is it possible to create similar functionaliity as Covers (Action launcher, Nova launcher) and C.A.F. (maybe with widget2) with tasker? Any tips would be appreciated.

0 Comments
2024/12/22
08:22 UTC

1

Plan My Day notification that opens task app to certain location

I'm hoping to create a way to have a notification at a certain time that reminds me to plan my day. Then if I select "yes" (or something similar) on the notification, have my preferred task app open to the inbox 'page' of the app.

Is there any way to do this?

I know there are plenty of productivity apps that have this feature built-in. However, they lack other functionality that I need, so I would rather implement this setup with my current preferred task management app.

Thanks in advance! 😁

3 Comments
2024/12/22
03:17 UTC

4

How to activate wake word in Android?

Hello, I read that Tasker+Hotord plugin can activate my Home Assistant voice assistant on smartphone. I set my HA voice as default on my phone but don't know how to configure that apps. I figured how to record wake word on snowboy website and add it to Hotword plugin but don't know what to do next. Can somebody help me with that?

0 Comments
2024/12/21
22:21 UTC

1

Popup errors as I open Tasker?

I have some (apparently) problematic variable evaluations in some of my tasks, with some Monitor restarts. When I open Tasker, there is a popup with those errors.

These don't show as errors in the run log, and I'm wondering if there is a better way to flag these to be able to track them and squash the errors.

Thanks

5 Comments
2024/12/21
21:04 UTC

1

How to Clone apps notification using Tasker?

Hello, I need to read the incoming notification, edit some parts of it, and recreate/clone the notification from the same app, is it possible?

Example:

* notification received from com.whatsapp - Title: Test

* Tasker read, and recreated the notification as from com.whatsapp - Title: Test2

1 Comment
2024/12/21
20:33 UTC

0

getting confused

i have multiple automation apps and get confused about if another app has the same automation, can you create task that tells you have the same automation i another automaton app android

2 Comments
2024/12/21
15:40 UTC

1

Cannot import from TaskerNet

I just bought the Tasker app from the Google Play store because I wanted to use it with a task from TaskerNet, that I found. But when I click on the import button, it only loads the page that tells me I need the Tasker app for that. In a YouTube video, I saw that two green buttons should appear there, "Import" and "Preview," but they do not appear for me.

Downloading as XML and importing manually also does not work, as the message always appears that the file is a badly packed format or something.

To clarify again: No, the app was not obtained illegally, but just purchased from the Play Store.

How can I fix this?

Update

Okay, I fixed it - partially.

Everything worked well on my phone, but on my tablet the green buttons are missing. So I imported the file on my phone and found out that it is a profile XML file, not a task XML file. Yes, I'm dumb. This way I could import the XML file on my tablet as profile and it worked just fine.

The problem with the missing buttons on my tablet persists though.

4 Comments
2024/12/21
12:40 UTC

1

Tasker, Autoinput Query UI and OpenCamera

i am using, on android, tasker and autoinput Query UI along with opencamera.

I want to detect when Opencamera is recording. I noticed that when opencamera records, a stop recording button and a pause button are visible.

So i have an app profile to detect when OpenCamera is running, then a autoinput-Query-UI task in which i have setup variables named %pause and %stop.

Next i have a Flash task in which i enter %pause, expecting it to flash the contents of %pause", but it instead flashes "%pause". how do i fix that?

I also setup an If task checking %pause~1 which did not work so what do i check for?

1 Comment
2024/12/21
03:23 UTC

3

Help with Reading json

Hello,

I'm trying to read the following json object

[{

"id": "this is an ID",

"deviceAssetId": "test1",

"ownerId": "test1",

}, {

"id": "this is an ID 2",

"deviceAssetId": "test2",

"ownerId": "test2",

},

]

using the below tasker task

Task: Read Json

A1: AutoTools Json Read [

Configuration: Simple Mode: true

Json: /storage/emulated/0/Download/AutoTools/immich.json

Fields: id()

Separator: ,

Timeout (Seconds): 60

Structure Output (JSON, etc): On ]

A2: Popup [

Text: %id()

Layout: Popup

Timeout (Seconds): 5

Show Over Keyguard: On ]

However it does not get the data in "id" it just prints %id

but if I change the variable to deviceAssetID it works as expected and returns the correct result, is there something about the text "id" that isn't allowing it to work?

Below is the working task for deviceAssetID

Task: Read Json

A1: AutoTools Json Read [

Configuration: Simple Mode: true

Json: /storage/emulated/0/Download/AutoTools/immich.json

Fields: deviceAssetId()

Separator: ,

Timeout (Seconds): 60

Structure Output (JSON, etc): On ]

A2: Popup [

Text: %deviceassetid()

Layout: Popup

Timeout (Seconds): 5

Show Over Keyguard: On ]

3 Comments
2024/12/20
23:22 UTC

0

how do I use tasker to dail my phone remotely over the internet?

I have tried all I could, but i just couldn't get a hold of tasker doing the dialing rightly the exact way I need it. Please I need a walk through as this will help alleviate the daily stress i go through daily because of the manual clicks i have to do to keep my business running, which i recently found out, if done right, could all be automated and I will be free to do other important things that I have had to leave for over a year now, just so i don't lose this business. I will appreciate any help i can get at this point.

9 Comments
2024/12/20
19:55 UTC

97

[DEV] Going away for a bit

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: https://imgur.com/H9WNIta

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!

21 Comments
2024/12/20
18:54 UTC

3

Phone keeps rebooting after permissions enable.

Hi,

So today I added the permissions as requested by the app by connecting to my laptop and running the app. Now every so often my phone freezes where the input seems to get stuck and then reboots after a little while. Very curious why this happens and how I can fix it.

Thanks!

5 Comments
2024/12/20
16:01 UTC

1

Screen orientation Vs Home Screen

Hello, I have recently bought a tablet and started to customise the homescreen. I am using Nova launcher and have managed to create something that looks okay but only in landscape mode. Whenever i put the tablet in potrait mode all my icons and widgets go all over the place. What I would like to do is have a different wallpaper for portrait and a seperate one for landscape.

I have a wallpaper with album covers built into the graphic. I have also got shortcuts with a transparant image conveniently placed over each album title. When I click them they open the correct playlists accordingly which is great. However when I go to lanscape mode all of those shortcuts just fly all over the place and no longer match the album cover. Is it possible to pin the icons and shortcuts to specific co-ordinates according to whether I use portrait or landscape using tasker?

Thanks

1 Comment
2024/12/20
14:39 UTC

0

Airplane mode keeping Google Assistant

Hello all, thanks for this App and its support. I'm trying to set up a task to have the airplane mode On and Off during the night. In order to do so, I have to choose Tasker in assistant setting instead of the Google Assistant. When I choose this configuration, the airplane mode task is working well but I loose all the function of Google Assistant an its IA that I am using everyday. Is there is a way to keep Google as assitant instead of Tasker and having the airplane task working without rooting the phone ? Or if I keep Tasker as assistant, can I still have the "hey google" fonction working as before ?

13 Comments
2024/12/20
09:37 UTC

1

[Help] Wifi Net Disconnect not working after Android Update

Hello,

My phone installed an Android update two days ago and since then I get an error when I try to run the Action Net -> Wifi Net -> Disconnect. It is running Android 15, build AP4A.241205.013. The error reads as follows:

wifi ctrl: code0 have wifi net: true force: false flash false
wifi net: disconnect
result: stop task (error)
Error: 1
MacroEdit action finished exelID 1 action no 0 code 426 status: Err next

Bonus separate(?) issue: while I was replicating the issue in Tasker to make this post, the phone randomly rebooted and when it came back Tasker was completely empty. All of my configurations were gone. I tried to restore it from Google Drive, but that fails with a "This app is blocked" message. I was able to restore by downloading a local copy and restoring from that. I can't help but feel Google is actively hostile to the Tasker community.

0 Comments
2024/12/20
05:16 UTC

7

Use Tasker with autonotification to sync notification dismissals across devices

Hi all. I'm OK with Tasker but not great. Was wondering if someone more familiar can tell me if there's a flaw in my plan before I invest hours into it.

I have a Pixel phone and a Samsung tab. Notification dismissals are not sync'd across the two. I only use my tablet every few days, and when I do, I'll have hundreds of notifications to wade through, most of which I've already dismissed on my phone.

I know Pixel phone/tab does this natively, and I know PushBullet and Notlify used to do this about 10 years ago, but I can't get either to work.

I was wondering if there's a way to sync this with autonotification? My initial idea was something like:

On phone

"When I dismiss a notification on phone, push something to the tablet (not sure how) containing the content of that notification."

On Tablet

"Receive the notification above. Check if any notifications currently exist with matching title/content, and dismiss".

Am I clsoe to something that'd work?

7 Comments
2024/12/19
14:47 UTC

7

[Feature Request] Add conditions like clipboard changed for every event that generates variables

https://tasker.helprace.com/i1865-add-conditions-like-clipboard-changed-for-every-event-that-generates-variables

It would be nice to have what Clipboard Changed Event has in other event context as well. For example, Intent Received and Command event. Both generates variables but doesn't have conditions like Clipboard Changed Event.

3 Comments
2024/12/19
09:24 UTC

0

Tasker blocked by Google!!?

Today suddenly a message apears in my phone!! Tasker as been blocked to acess confidencial data by Google. What this means!?

4 Comments
2024/12/19
08:26 UTC

4

Going overseas, how do I enable auto replies on my Google Messages?

I won't have coverage overseas, how can I let tasker auto respond a data SMS to people who message me or try to call me?

3 Comments
2024/12/19
07:32 UTC

2

Automating Background Check for Messages

Hey everyone,I need some help setting up an automation to check for messages showing on a app running in the background. The app shows a number (e.g., "Available messages - 0") which changes to "Available messages - 1" when there are messages available. These messages can come in randomly throughout the day, and they go away in a few minutes or seconds based on who reads them first( There are many users I am competing with). I can't check the app every minute to see if they've arrived.

I want to set up a background process that checks for the change from 0 to 1 every minute and notifies me when it's time to grab the messages. I’m using Automate or any similar app, but I’m stuck on how to make it check the screen without bringing the app to the foreground.

Can anyone help me with a flow that can do this? I'm looking for something that works without me needing to open the app manually every time.

Appreciate any input. Thanks in advance!

6 Comments
2024/12/19
02:01 UTC

3

How to have phone unlocked when connected to home wifi?

Galaxy s23 here. I use biometrics (fingerprints) to unlock my phone. Is there a way to automatically get rid of this when connected to my home wifi? Thanks.

9 Comments
2024/12/19
01:53 UTC

1

Android 15 Private Space AutoApps

Hello Everyone. I just updated to Android 15 yesterday. With the new addition of private spaces, it got me thinking. I'd like to use this space to clean up my app drawer and hide apps I don't need to interact with directly.

Some of the apps I'd like to move there are AutoApps, and thos apart of it, AutoVoice, AutoInput, etc. I'm wondering what the implications of doing this will be. If I remove it from my main account and only have it available in the private space. Will tasker still be able to use those apps or will it break things?

I'm unsure how Android seperates them exactly. My brief understanding is it's treated like a separate account, where you can even link a different google account to it. Although I have not done that yet.

Has anyone tried this and can shed some light on it? Thanks.

5 Comments
2024/12/18
23:56 UTC

5

Help with learning Tasker

I’m not very familiar with the program or programming in general. So can someone recommend somewhere I can go to learn how to program a loop based on image detection with tap? I have Autoinput and Autotools. I want the tapping to stop once the button changes color.

2 Comments
2024/12/18
22:25 UTC

0

Help with voice detection project

Hi everyone! Was thinking about creating a project in tasker in which after a command, my phone listened to the ambient sound and listened to the conversation I was having. Then, after another command, detected, saved and sent via whatsapp to a specific number specific information (name, dates, serial number, etc). I asked chatgpt for instructions to do this project (he gave me the idea of using tasker and autovoice), but it's instructions are incomplete and very poor. I'm completely new to tasker and have cero background in programming. Hope someone can help me Huge thanks in advance!

1 Comment
2024/12/18
19:59 UTC

1

Generally, can Tasker (or even other apps) control what happens in a third party app? Simulating swipes, taps, etc

Been having a hard time finding an answer to this question specifically since searches always relate to Tasker itself, and how it is powerful since it can launch an app. But I want steps 2 and 3 after launching an app, not for me to do those myself.

Very simply, I want an nfc tag to launch an app, click a settings menu, and click a toggle. In this case it's a ceiling fan with a remote and the housing is mounted to the wall.

I want to do this through simulating screen taps or button presses, without needing an integration.

Can Tasker, or any android apps, have that capability without root access? Or are external app controls more or less only available through integrations or root.

3 Comments
2024/12/18
18:42 UTC

1

Detect ADB Wifi Connections?!

Hi!

Anyone knows how to find current ADB Wifi connections?

I want to know how many and which are those devices connected to my phone through ADB Wifi, in order to make some automations.

Thanks!

12 Comments
2024/12/18
16:13 UTC

1

Phone to tablet communication, testing beeps

I want to use Tasker on my tablet to do things related to my phone.

  • find out my phone's battery status (so I can do things like make an icon thing on my tablet to show its current battery level and if it is currently charging)

  • use my phone connecting to WiFi to trigger something on my tablet (so I can do things like make my tablet beep when I turn my phone on)

  • find where my phone currently is (so I can do things like track it or check how far away it is from my tablet)

  • have an action I do in an app on my tablet do the same thing to the same app on my phone (so I can do things like set an alarm on an app on my tablet so it goes off on my phone)

Questions-

How do I tell Tasker where/ what my phone is?

How do the devices talk to each other Over my WiFi? If I stay somewhere else and both devices are connected to the same WiFi would it still work or would I need to set it up for every new network I use? Can this also work if they are connected over bluetooth but no WiFi?)

Are all the things i have listed above actually possible I'm not asking for instructions on how to do any of the things in brackets- though any tips would be appreciated- just if they can be done. And I know some can be done in simpler ways not involving tasker but that is less interesting)

If it matters both phone and tablet are Samsung. The tablet does not have mobile data.

(I don't know much technical jargon- I've been learning by skimming a beginner's guide and a few tutorials then fiddling around in the app to see what happens. Please keep this in mind when responding.)

Also is there a way I can "prehear" the different beeps I make on Tasker? I need lots I can distinguish between easily, but the interface where I can tweak the frequency/ amplitude/ duration cannot let me test what they will sound like.

3 Comments
2024/12/18
13:22 UTC

13

What is the task/profile that you are most proud of?

Looking for ideas.

BTW, mine is a very simple wallpaper changer.

59 Comments
2024/12/18
13:08 UTC

13

[TaskShare] - A media control website

This Task allows you to control the phone from any device on the local network

how to use:
open the following URL on any device on the local network

  1. "http://<phoneIp>:1821/media"
  2. Control the current playing media

Download

6 Comments
2024/12/18
12:17 UTC

Back To Top