r/tasker • u/Lucky_Donkey • Jul 19 '17
Tasker 5.0 is finally out on Google Play!
Check it out here.
r/tasker • u/Lucky_Donkey • Jul 19 '17
Check it out here.
r/tasker • u/joaomgcd • Jan 11 '22
Hello again everyone! Hope you are all doing well :)
I'm now back from my long break but I have a lot of emails and requests to go through before I can get back to developing so I ask you to please bear with me while I do that...
Please don't be suprised if I take an abnormally long time to get back to you in these first few weeks.
Thank you all very much for keeping this community so great!!
r/tasker • u/joaomgcd • Aug 05 '25
Hi everyone!
It's time for some rest 😁
I'm not going to be here for a while, so hopefully everything keeps working as it is while I'm gone.
I'm aware there are some pending issues that have not been addressed yet, but those will just have to wait until I'm back, sorry about that! For example, check out the latest beta if you're having trouble with Wifi Tethering on Android 16.
Cheers and see you soon!
r/tasker • u/pinguugnip • Mar 02 '23
Today is five years since you took over Tasker (https://groups.google.com/g/tasker/c/SkCtZxnts4Y/) so I just wanted to wish you a happy anniversary and thank you for your continued work with Tasker.
r/tasker • u/joaomgcd • Dec 21 '21
Hi everyone!
Just wanted to let everyone know that I won't be able to respond to emails/requests in the ~ next 3 weeks.
I want to thank everyone for making the Tasker community super awesome and I hope to see you again next year!
I have some new stuff that's pretty exciting to me that I can't wait to share with everyone when it's ready. Hopefully I can release the current target API 30 focused release for everyone soon and move on to more exciting things!
Don't forget, as always, Automate Your Life! 😎
r/tasker • u/joaomgcd • Aug 09 '21
I will be unavailable for commenting, bug fixing, development or anything else related to my apps during the next month.
Hopefully everything will run smoothly with the recent update I posted! :)
While I'm not here, here's a list of highlights of what's been happening in the world of Tasker lately to keep you occupied! I heard that some people aren't able to test all the new stuff that has been coming out, so hopefully this will give you some time! 😅
The new Taskernet is almost ready for primetime! With public project sharing and search-by-tags support, you'll be able to get the most out of Tasker with very little effort!
I'll be working on releasing this for everyone very soon after I come back!
Demo: https://youtu.be/W7QflgKZ-f4
Call any task from your Google Assistant simply by saying "Hey Google, run My Task in Tasker".
Demo: https://www.youtube.com/watch?v=gGa4OfxmlzU
You can also more easily call tasks with Assistant Routines so you don't have to keep saying "run X in Tasker": https://youtu.be/Uy4owfsBQKs
You can use Tasker's powerful condition system to selectively block or allow callers from reaching you! You could use this for SPAM prevention for example :)
Import a profile to block any unknown callers here.
Demo: https://youtu.be/JxwfwkeffMk
Use Tasker to react to your phone "thinking" you're asleep!
Demo: https://youtu.be/jjTQl_Ok43E
Use Google's new design language color in Tasker with the new Theme option and even in your own projects with the Get Material You Colors action!
Demo: https://youtu.be/G1jAs8qV1Ik?t=46
Use Tasker to force connection to a certain Wifi network! For example, you could use this to automatically connect to your camera's or drone's wifi network!
Demo: https://youtu.be/zKx1RE2veWw
You can now draw Tasker scenes over the status and navigation bars! You could create a ring around your camera hole for example, or do a progress bar at the very top of your display!
Demo: https://youtu.be/idU1EyN5wQM
Pick from over 20 different input types like Apps, Files, Colors, Wifi Networks, Contacts and more and use them in your tasks!
New types can be added at any time!
Demo: https://youtu.be/jjNlEYqN-Aw
Demo for newer types: https://youtu.be/mJ_kb05XbW4
Long click the plus button when adding an action to add from a list of your favorite actions that can be edited at any time! Much faster to reach your most used actions this way!
Demo: https://youtu.be/0-i5UDJd7KI
Very easily extract data from various formats of text data!
JSON Demo: https://youtu.be/jOk4Vs-fkvs
HTML/XML Demo: https://youtu.be/uXNSbiZowS8
CSV Demo: https://youtu.be/AG3dn62pV0o
Create scoped variables that are only available where you define them to avoid clashes with variables from other projects.
You can also use these for easy configuration of Taskernet exports/imports by enable the Configure On Import option!
Demo: https://www.youtube.com/watch?v=n-hLRKpjcWM
Parse and format any kind of date or time. This used to be super hard in Tasker but is now very simple! Super useful to get the date and time from web APIs for example!
Demo: https://youtu.be/UR5Qf7KpDXQ
You can also use this to add/subtract from date/time! Demo for that: https://youtu.be/t51RS7a2myM
Ever did a bunch of variable splits to get to some data inside a bigger piece of text? That's now hopefully a thing of the past with this new action!
Demo: https://youtu.be/m-i0yRwVjN4
Long-click a variable on the variable select list to easily access a bunch of variable related actions and some new array functions!
Easily join all the array items with a certain character for example, or get the matching items for a search string!
Demo: https://www.youtube.com/watch?v=d8VC6cfqMxw
Set multiple variables in one go! You can optionally even keep existing variables so that it's very easy to specify default values for a task for example (set if not already set)!
Demo: https://youtu.be/__Sbx-SO8H8
Have a bunch of related arrays that you want to merge so you get 1 array with all the data? Use this new action!
Demo: https://youtu.be/wV3DLmTZums
Previously you could only repeat tasks at most every 2 minutes. Now you can go as low as every 100 milliseconds!
Demo: https://youtu.be/b3Lz9f30n88
What were previously very cramped and almost unreadable text blocks for the untrained eye are now much more easy to read and spaced out descriptions.
Example of old Description Format: https://i.imgur.com/Ro8HozM.png
Example of new Description Format: https://i.imgur.com/hABlWtJ.png
Demo: https://youtu.be/hTj7RiI67aE
You can check out every single change here: https://tasker.joaoapps.com/changes.html
Check out my Patreon here: https://www.patreon.com/joaoapps
There you can find exclusive content like:
Live Creations (uncut videos where I create projects of all kinds, so you can see my creation process and some mistakes too 😅)
Sneak Peeks (get early access to some new Tasker features)
Enjoy and see you soon! 😁
r/tasker • u/joaomgcd • Oct 28 '16
Check out how you can use Google Assistant to control Tasker!
https://www.youtube.com/watch?v=GTB6l-L-z3I
Here's a handy tutorial to get you started: http://forum.joaoapps.com/index.php?resources/integrate-google-assistant-with-tasker-using-join-ifttt.206/
Hopefully when the API is available for everyone to use I can make this even easier :)
r/tasker • u/Ratchet_Guy • Aug 11 '20
On August 11, 2010 this subreddit was created. And from out the void came forth the users of Tasker. A slow trickle at first, then more, and more.
"If you build it they will come.."
The immortal words of hope were whispered by the wind, into the ears of /u/Brodie7838, who brought forth many Tasker users in fulfillment of the prophecy.
And today - there are over 60,000 subscribed users here at /r/Tasker! So many smart and friendly folks always ready to help each other get the most out of Tasker. Happy birthday to us!!
r/tasker • u/joaomgcd • Sep 13 '21
Hi again!
I'm back from my long break!
Unfortunately, as usual for me, long breaks = a LOT of emails/messages to go through.
Just to give you an idea I have about 2000 emails I have to go through...
Please bear with me and don't be mad if I a take a bit longer to reply to any request you may have...
Hope everything went well while I was away!
I'm glad to be back! 😁
r/tasker • u/joaomgcd • Aug 14 '20
EDIT: AutoVoice is now back. Check here. I'll leave the original post below.
So, right on the day I was planning to go away for 1 month this happens... Just my luck. 😣
Got this email from Google:
autovoicejoaomgcd has been taken down
This is a notice that autovoicejoaomgcd has been taken down due to the following violations:
Your Action facilitates or promotes content that advocates hate or violence or promotes discrimination.
Here is some additional guidance from the reviewers:
Thank you for submitting your Assistant action for review. Unfortunately, your action has been rejected for the following:
Your Action violates our Hate Speech policy. Specifically, your Action contains content that advocates hate or violence, or promotes discrimination against groups of people based on their race or ethnic origin, religion, disability, gender, age, nationality, veteran status, sexual orientation, gender identity, or any other characteristic that is associated with systemic discrimination or marginalization.
In your case this is what we found as part of the conversation:
User: "sag autovoice schließen"
Action: "hör mal zu du dummer mongo"
and
User: "sag autovoice schließen"
Action: "hör mal zu du dummer mongo wenn du keine kohle hast um dir scheisse einzubauen die den kofferraum auch wieder zu macht solltest du die fresse halten. jetzt geh runter und mach den kofferraum wieder zu."
Please remove derogatory, profane, insulting and other demeaning content before you resubmit your action.
Please see https://developers.google.com/actions/policies/general-policies#hate_speech for more information.
Want more clarification or think we made a mistake? Contact us. Otherwise, please submit a new version of your app once the above violations have been fixed.
Thanks,
The Actions on Google Team
So apparently a German user decided to have some fun with the service to cuss at himself and Google says AutoVoice promotes hate speech 👍
I have appealed to Google to clear this mess up and have also resubmitted the action to see if they simply accept it again cause in their tests they won't get the hate speech. 😛
Hopefully this will resolve itself soon, but until then unfortunately AutoVoice is not available on the Google Assistant.
r/tasker • u/joaomgcd • Jul 07 '22
Tasky is now ready for primetime and is available for everyone to download! 😁
This version should be on Google Play any minute now.
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.
Tasky Demo: https://youtu.be/8G83vMgcjp0
Creating Tasky Routines Tutorial: Automate Other People's Lives - How To Create The Best Tasker Shares
90% of users probably end up the same kind of automations, just with different parameters:
turn on do not disturb at night
play music when in their car
change ringer volume when they leave home
...just to name a few. The problem is, most users probably
go to bed at different times
use different music apps in different cars
like their ringer volumes differently
For all of these users, Tasky is the solution! 😁
Tasky is special begginer-friendly mode in Tasker that you can switch to at any time!
Instead of making automation programmable like in Tasker, Tasky makes automation configurable!
Instead of having to manually setup all the triggers and actions for a certain situation, you just find a Tasky Routine that already does what you want and you just configure it to your liking!
When importing a Tasky routine, you go through a bunch of prompts and configure it just the way you like it! To illustrate the examples above:
turn on do not disturb specifically at 9:00 PM
play Spotify specifically when connected to your specific car
set ringer volume to max specifically
As you can see, you got all of the specificity and none of the work! 😍
TaskerNet already has thousands of Tasky Routines ready to import and while some of them might not be as configurable as needed, I did make this video explaining the best way of exporting your Tasker projects so that they are configurable on import!
You can also use Tasky as a stepping stone to learn more detailed automation in Tasker! You could import some Tasky routines, switch to Tasker and there check out how its "insides" work so you can tinker it to your heart's desire!
Hopefully Tasky will allow many more people to come in to the Tasker ecosystem and benefit from its powerful automation capabilities!
Demo: https://youtu.be/ZmrOiqMuI-0
Until now, you'd have to rely on something like AutoInput to get text from the currently opened screen on your phone and react to that in your tasks. Even then, there's some info that sometimes couldn't be gotten like for example the URL of the currently playing video on YouTube.
Not anymore!
The Get Screen Info action allows you to get
all the text on your screen
on compatible apps (like Chrome, YouTube and others) the current URL
extra info that's normally invisible to users. In Tasker you can get the currently opened task ID for example
Finally you can easily get the current YouTube video and open it in a different app or even device for example!
You could also combine that with the YouTube API to get some very handy results, like directly copying the video's description to your clipboard!
Demo: https://youtu.be/Vu4XIxWqFB4
Until now you needed to either root your device or enable ADB Wifi on every boot to be able to use the Airplane Mode action in Tasker.
Not anymore! Now, by simply either enabling the WRITE_SECURE_SETTINGS permission or making Tasker your phone's assistant, you can toggle Airplane Mode any time you want! :)
Demo: https://youtu.be/ZYPfOJBXa08
Now, even if your device is locked, you have the option to allow your Tasker Quick Setting Tiles to be used!
Could be very useful for stuff that should be done quickly like toggling a light, reading the weather, etc.
Demo of opening in a specific app: https://youtu.be/sOUoL5-_ejQ
Demo of the Open With dialog: https://youtu.be/IPanACMIHPU
You can now directly select the app you want to open a URL in with the Browse URL action. You could combine this with the ability of getting the current URL to open a currently playing YouTube video in an alternate YouTube app for example!
If you want, you can also bring up a menu with all the different apps that support opening a certain URL so that you can select the app when the task is actually ran.
Demo: https://youtu.be/psUrgXuHxmA
You can now get lots of info about your device's battery including its percentage, temperature, capacity, health and more!
Demo: https://youtu.be/qNoeIbhLqxM
You can get the color of a pixel of any image. If you combine this with the screenshot action you can get the color of the screen on any pixel, allowing you to automate stuff based on what colors are on the screen!
Demo Running Tasks: https://youtu.be/84xJTH65xqo
Demo Active Profiles: https://youtu.be/84xJTH65xqo
You can now more easily find out what's going on behind the scenes in Tasker.
The Running Tasks screen allows you to monitor and stop running tasks
The Active Profiles screen allows to have an at-a-glance look of all your active profiles in a single screen.
The full changelog for this release can be found here.
r/tasker • u/joaomgcd • Apr 06 '21
Download AutoSheets here: https://play.google.com/store/apps/details?id=com.joaomgcd.autosheets
AutoSheets is a new Tasker plugin that allows you to automate just about anything in Google Sheets!
Check out the AutoSheets release video here: https://youtu.be/FHBoLTrPh8Q
These are all the actions that AutoSheets supports at launch:
Add Rows: append rows of data to the end of a sheet or insert them somewhere in the middle of the sheet
Add Sheet: add a new Sheet (tab) at the bottom of your spreadsheet
Create Spreadsheet: create a whole new spreadsheet
Delete Cell Content: clear the contents of cells without actually removing lines of columns from the sheet
Delete Rows/Columns: actually remove rows and columns from sheets along with their content
Duplicate Sheet: Create a new sheet inside a spreadsheet which is a copy of an existing sheet
Format Cells: change the appearance of cells on your sheets like background or text color
Get Cell: simple way to get the value of a single cell on your sheet based on its location or the value of a cell on a different column (great for Cloud Variables)
Get Data: get multiple rows/columns of data at the same time. Optionally name the output data as multiple arrays for easier data parsing
Get Spreadsheet: get info on a spreadsheet itself like its ID, sheet names, etc
Insert Empty Rows/Columns: Simply insert new rows/columns with no content
Update Cells: update the content of cells without inserting any new rows/columns
You could use AutoSheets to log events in your every day life, like for example:
Notifications for specific apps on your phone (for example, check your spendings automatically by logging your bank app's notifications)
Fitness data
Home Automation data
Location data
...or whatever other data you see fit!
For Tasker veterans, you could use it to store Tasker Variables in the Cloud!
Check out some pre-made AutoSheets projects to get you started with these use cases here!
It would be great if you could leave a favorable review on Google Play if you like the app to help get it off the ground. 😁
Let me know if there are any issues and most importantly, enjoy! 😊
r/tasker • u/joaomgcd • Aug 16 '22
Hi!
Another Android update, another functionality that's been taken away from Tasker :(
Now that Android 13 is out for Pixel devices I thought I should mention this here so people know what they're in for.
This time the victim is the much beloved Logcat Entry event (shown off here: https://www.youtube.com/watch?v=bINUcn0QXvg ) which allows you to trigger a task based on any line of your logcat!
The allowed you to do stuff as fun as unlocking your device into different apps depending on what finger you used to unlock with the fingerprint reader: https://www.youtube.com/watch?v=2YH0JBSdpNE
But now, Google decided that whenever an app needs access to the logcat, a system popup shows up requesting a "one-time" access permission like this: https://i.imgur.com/yObhtw9.png
This means that whenever Tasker is stopped (a reboot or another system event) or when the logcat reading process is restarted (this is needed for several technical reasons) this popup will show up. If you don't accept it, the event will not work.
To make matters worse, it seems that sometimes the popup simply doesn't show up at all and the permission is simply denied without any feedback.
Clipboard Monitoring on Android 13 also works by monitoring the Logcat so that won't work either unfortunately.
Since Join also uses the same technique for clipboard monitoring, syncing the clipboard from phone to PC will stop working as well with Join.
I've filed a bug report about it here: https://issuetracker.google.com/issues/232206670
I was hopeful that they would reconsider it, but unfortunately they haven't.
It's a sad day. I really loved Logcat based Task triggering. 😭
Hope this clarifies it!
r/tasker • u/joaomgcd • Jan 14 '21
The way Wifi toggling works has changed in this version because of Google (check here). Please contact me via e-mail so I can help you fix it.
Unfortunately I can't link to the fix here because that's against Google Play policies.
Everyone can now access the latest Tasker features! 😁
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.
Tasker can block calls even before they start ringing! Check out the demo!
https://www.youtube.com/watch?v=JxwfwkeffMk
You can now use a bunch of different dialog types in your tasks to help you get things done! Make your tasks ask you for files, dates, apps and more!
https://www.youtube.com/watch?v=jjNlEYqN-Aw
There are new types of variables in Tasker. These can be scoped to either your projects, your profiles your tasks. For example, if you have a project variable in project 1, that variable will not be accessible in project 2. This allows you to keep your Tasker setup much cleaner than before!
Even better these new variables can be configured when importing a Tasker project which results in the easiest imports ever! For example, if there is a profile that sets your phone to a certain volume on your home wifi, when you import it, it can ask you what your home Wifi network is and what volume you want to set and it’ll start to work without ever even having to open Tasker at all!
https://www.youtube.com/watch?v=n-hLRKpjcWM
These are Android System dialogs that you can now show at anytime from any of your tasks!
https://www.youtube.com/watch?v=XCWSDioVcfk
Easily set multiple variables in a task in a single step! Very handy for setting default variables for a task for example, or to perform multiple math operations on multiple variables in a single step!
https://www.youtube.com/watch?v=__Sbx-SO8H8
Import this project to get the profiles and tasks shown in the video: http://bit.ly/tasker5_11_project
The full changelog for this release can be found here.
r/tasker • u/joaomgcd • Jun 27 '24
Last week I received an email from Google saying that I needed to update the usage of their FCM (Firebase Cloud Messaging) API so it conforms to a new version. To be fair, I had received the warning that the API would be deprecated a long time ago, but apparently I forgot. 😅
In the email they said I had until June 20th to update my usage of FCM and if I didn't my apps that use it could start showing errors.
For those who don't know, FCM is what allows apps to push data remotely to an Android device or Web Browser.
The problem: this is used by many of my apps!
So, I had only a few days to update these apps/services:
Join Server
Join Android App
Join Chrome Extension
Join Website
Join Desktop App
Join Node-Red nodes
AutoRemote Android app
AutoRemote Server
AutoRemote Chrome Extension
AutoVoice Server
AutoWeb Server
AutoTools Server
I think I'm not forgetting anything 😅
I worked relentlessly for several days to get all of these updated but unfortunately I couldn't do them all in time.
Luckily, I got an email from Google that since many people were having trouble updating things in time, they were postponing the deadline to July 22nd. So now, I have a bit more time to update all of this.
To add insult to injury, I recently suffered an injury that makes it hard for me to work for long periods, so I can't work full time at the moment.
I just wanted to share the situation I'm in at the moment so you understand why there haven't been any updates lately and it'll probably take me a bit longer to update everything.
I really wanted to release the latest Tasker beta for everyone, but that'll have to wait for a bit now.
Hope you understand and see you soon! 👍
r/tasker • u/joaomgcd • Sep 29 '22
Hi! I'm now back from my break (I was back last week actually, but just got around to posting this now)!
I do have a lot of backlog to go through though. This is always the hardest part about my job... 😅
Please give me a little time to get me back to developing since I'll probably be spending the upcoming week just replying to stuff.
Thanks for understanding and see you soon! :)
r/tasker • u/joaomgcd • Aug 14 '20
I will be unavailable for commenting, bug fixing, development or anything else related to my apps during the next month.
However, since people seemed to like that simple Power Menu plugin that I released the other day so much I decided to crank out a full fledged feature for this in Tasker!
Check out the demo: https://youtu.be/hCplbDJ_NyI
And here's an example of how it looks: https://i.imgur.com/lEF7caP.png
Patreon allows me to stay independent which could be very helpful in case some shenanigans are afoot.
On to the new features! :)
You can simply add any of your tasks as buttons directly with no extra work. This is the easiest way of getting into this new feature.
Even with this simple "mode" of setting it up, it has a few tricks up its sleeve:
On a normal task the button simply acts like a button and calls the task when clicked
On a task that uses the %par1 variable anywhere inside it, it'll become a toggle instead of a button. %par1 will contain true or false depending on the state of the button
On a task that uses both %par1 and %par2 variables, it'll become a toggle with progress! %par1 will contain true or false and %par2 will contain the current progress!
This should allow you to very easily setup a lot of cool scenarios with just simple tasks.
If you want total flexibility and make the buttons act exactly like you need them to you should use the Power Menu Action action in Tasker!
This allows you to create a button with a given id, type (button, toggle, range, etc), title, subtitle, icon and command!
This means that you can setup a button with the ID Smart App for example that changes throughout the day depending on the app you most need at the time, place or any situation you setup in Tasker!
For example:
Have it open Reddit in the morning or when at home
Make it open Chrome when you're not home
Make it open your favorite game at night
These use the AutoApps Command System to make the commands totally flexible and customizable! Which brings me to...
Tasker has a new Command Event that is basically the same thing as the AutoApps Command plugin event, but it's now native!
The new Power Menu Action action allows you to send these commands but you can send them for anywhere in your setup with the Command Action!
This will maximize re-usability and avoid having to create multiple similar tasks.
I plan on making more stuff able to send out commands in Tasker (like quick setting tiles for example).
I've also added a special permission in Tasker that allows third party apps to send commands like these to Tasker! The user has to explicitly allow the permission via the third-party app's UI so no concerns there.
In the near future for example AutoApps will send all of its commands to Tasker, so any command can be handled directly in Tasker with no plugin conditions which should make it work faster and more reliably!
Since I won't be here to provide support I've not uploaded this version of Tasker to Google Play. It's exclusively available at the following link:
https://drive.google.com/file/d/1glJOjisKrBi6CMqNV-EHXqBc8e-3v-WZ/view?usp=sharing
If you install it please know that I won't be able to fix anything that's not working. That'll have to wait until I get back. :)
r/tasker • u/joaomgcd • Mar 07 '23
Last week I created a project that allows you to use Chat GPT in Tasker, allowing you to do some amazing stuff on your phone!
Some people brought Elevenlabs to my attention, so naturally I had to create a project to use that in Tasker as well! 😅
With this project you can replace both Say and Say Wavenet actions with a call to the Text To Speech Elevenlabs task!
The only downside is that it seems to be a bit slower than the other actions at times.
The upside is that it feels like real people are talking to you! They build out sentences with an astonishingly realistic feel to it at times, it truly feels like the next generation of voice synthesis.
Check out this too hot for YouTube demo of Adam being really angry at me for some reason! 😅
Anyway, let me know if you have any issues with the project and I hope you enjoy it! 😜
r/tasker • u/DutchOfBurdock • Jan 22 '22
João has his work cut out for him.
Google keep moving the goal posts and he keeps finding ways of scoring for us all. This has now included a couple of additional apps; namely TaskerSettings and the ADB helper so users can more easily give Tasker the permissions it needs to get around Google's fubars.
João is amazing. He's an idol. A role model and how he is managing to maintain Tasker is beyond amazing. Let's remember this, forever and always. Pent passed the torch to the best person and we have all been benefited by such amazing choices.
As Google makes Android more stricter, more "safer" - it will hinder apps like Tasker, eventually. It's not João's fault, it's beyond his and even our control. We can can suggest X or Y, but, it'll be "broken as intended" as always.
Termux Developers especially have had a tough time.. Tasker has encountered similar issues in terms of running native applications. Google is taking away what we have grown to love, and take for granted about Android.
I'd advise anyone to stay on Android 11 or below for as long as feasible if you want stuff to JustWork™ - it's the Grody's advice more than anything. Android 12 is a sham, a joke and beyond possibility of reprieve. 13 may fix some things, but will likely break more!
I would normally suggest complaining to Google so we can keep our goodies, but, you're better of slamming your head against a breeze block wall. Honestly, you are.
João is amazing. I am confident he will always have an ace up his sleeve. With this community and his determination, we will make a stand to Google that it's futile to take away what we, the user, wants.
Thank you Joao and this amazing community. I love you all!
r/tasker • u/cm2003 • Dec 09 '21
This step-by-step-guide is based on the guides by u/DurchOfBurdock - post1and post2
I've had quite a hard time following the guides, so I've created a profile for myself that would enable wifi adb whenever I start my phone and write a guide on how to do so.
Also I really hate this reddit editor. So I really hope that the formatting is going to be okay :)
Prerequisites
Android > 11 (or have an option to enable ADB Wifi from within the Settings of your phone)
You need to be connected to a Wifi (you don't need internet access though)
Tasker (obviously)
WRITE_SECURE_SETTINGS and READ_LOGS permissions granted to Tasker (this tool may be very helpful)
Termux (I highly recommend the F-Droid version due to updated repository!)
Preparation
Whenever a popup comes up asking for confirmation of Wifi ADB connections, etc., you obviously have to accept it. I can't recall in detail when they might show up. In the past I've been using AutoInput to autoaccept them, but I disabled it, because I didn't want to have AutoInput scan my screen all the time for these popups. And I couldn't find a reliable Logcat entry.
Installation of android-tools within Termux:
open Termux
enter pkg install android-tools
you may have to confirm the installation by pressing y during the setup
check if adb is working by just typing adb
Create folderstructure and first script to be executed by Tasker
open Termux (if you've closed it :))
create the folder-structure by entering mkdir -p .termux/tasker (don't forget the "." in front of termux)
create the script by typing nano .termux/tasker/adb.sh
paste the following script into nano
# !/data/data/com.termux/files/usr/bin/bash
host="$1"
adb=$PREFIX/bin/adb
$adb connect $host
$adb tcpip 5555
$adb disconnect
$adb kill-serverThe forum messes up the first line of the script. Please remove the blankspace between # and !:
!/data/data/com.termux/files/usr/bin/bash
Save the script by selecting CTRL (in Termux) and then pressing "x" - confirm by pressing "y"
Create a second script for pairing Termux with Wifi-ADB
open Termux
create the script by typing nano .termux/tasker/adb_pair.sh
paste the following script into nano
# !/data/data/com.termux/files/usr/bin/bash
host="$1"
code="$2"
adb=$PREFIX/bin/adb
echo $code | $adb pair $host
$adb kill-serverThe forum messes up the first line of the script. Please remove the blankspace between # and !:
!/data/data/com.termux/files/usr/bin/bash
Save the script by selecting CTRL (in Termux) and then pressing "x" - confirm by pressing "y"
Allow Tasker to run Commands in Termux environment
open android settings -> Apps -> Tasker -> permissions -> additional permissions
grant permission to "Run commands in Termux environment"
Import of profiles and tasks in Tasker
I first thought I'd explain how to set it up manually. But actually this would take to much time. So I provide you my profiles: Taskernet Download
Explanation and how to use the profiles
Pairing your phone to Wifi ADB
disable all profiles in the project and only enable the profile ADB_Pairing (Long Press Volume Up)
Navigate to your phone settings -> developer options -> Debugging over WLAN -> Pair device with pairing code (or something like this)
With the pairing code and IP:Port shown, press and hold Volume UP
This will call the adb_pair.sh script created previously and send the pairing code and IP:Port to Termux, which will then pair with your device. Finally a flash message will be shown with your IP:Port and pairing code as kind of confirmation. The profile will then be disabled, because you won't need it anymore.
If everything went fine, you should now find at least one paired device at the "Debugging over WLAN" settings screen. (most likely named xxx@localhost)
Now disable Wifi ADB from the settings again.
How the other profiles work
I've created three more profiles. You should enable the first and third profile. The second profile will be enabled on device startup. I will explain what the different profiles do and how to make use of them.
1_Set Var on Boot
This profile runs on device boot and simply sets the variable %ADB_enabled to 0 and enables the second profile 2_enable ADB Wifi
2_enable ADB Wifi
This profile runs on device unlock. With this profile I will check for how long the device is enabled (I'm waiting for at least 60 seconds to make sure everything is settled after device boot) and that the variable %ADB_enabled is set to 0. If both conditions are true I'm enabling the global setting Debugging over WLAN.
3_Get Port (Logcat) + Exec Termux
Now I'm checking Logcat for adb wifi entries. Once it found one we will extract the port and use it with the script adb.sh. The script will then connect to Debugging over WLAN and run adb tcpip 5555 to enable ADB Wifi. Afterwards we wait 2 seconds and check if ADB-Wifi is enabled. If it was successfull (%has_adb_wifi == true) tasker will say that to us and disable "Debugging over WLAN" (because it's not needed anymore). Furthermore we disable the second profile (because I don't want this to be run everytime I unlock my phone) and change the %ADB_enabled variable to 1.
General information
I just got my phone replaced and had to do those steps again as well. It did work for me, so I suppose it will work for you as well. You may have to play around the pairing process however. Sometimes it didn't work right out of the box for me.
Also the comment section of above topics (created by DurchOfBurdock) might help with some problems you might encounter.
r/tasker • u/joaomgcd • Aug 05 '20
Another new public Tasker release is finally upon us! Download it here on Google Play!
Check out the video for this release showing some of the new stuff that's available: https://bit.ly/tasker5_9_3_video
Import all the tasks from the video here: https://bit.ly/tasker5_9_3_project
Read all about it here: https://bit.ly/tasker5_9_3
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.
Since everyone will be on the public release now, it's a good time to remind you that if you can and really like that app, please rate it 5 stars on Google Play. :) (make sure to not submit it as beta feedback but as a real review). That always help Tasker a lot in the long run. Thanks in advance!
Added Any Sensor event and state and Test Sensor action and Sensor Info action. Demo here.
Added way to fully customize Do Not Disturb mode when turning it on with Tasker. Demo here.
Added List Dialog action that allows you to show a list of items, select one or multiple items from it and get the selection back to the task. Demo here.
Added Text Dialog action. Demo here.
Added Contact Via App: allows you to interact with your contacts via third party apps, like video-calling through Whatsapp or Skype, or navigating to them via Google Maps. Demo here.
Added Local Variable Passthrough options to the "Perform Task" and "Return" actions. If enabled will make all variables available in the other task. Demo here.
Allow Tasker Secondary app to be triggered by URLs like tasker://secondary?text=hello&other=hi where every parameter will be made available as a Tasker variable in the triggered task. Demo here.
Added action to Control WireGuard tunnels in the Tasker Function action. Demo Here.
Added Event filter in File Modified event so that it can trigger only on specific file events. Demo Here.
Added Wait For File Event function to Tasker Function action so that you can wait for example for a file to finish writing. Demo Here.
Added Clear App Data, Enable/Disable App, Take Screenshot, Toggle SIM Card and Uninstall App to the ADB Wifi Helper. Demo here.
Added Termux Command and "Launch Assistant" functions to the "Tasker Function" action
When adding If or For actions, give user the option to automatically add other appropriate actions (else, end if, end for). Demo here.
...and more!
Check out the full changelog here: https://bit.ly/tasker5_9_3_changelog
It has started to roll out now, so expect to get it in the next 24 hours or so!
Enjoy!! 😁
r/tasker • u/UndeadCretin • Mar 13 '19
Hi people. The new Android Q release will prevent background apps (including foreground services) from launching activities. See here for details: https://developer.android.com/preview/privacy/background-activity-starts
This seems to be a further limitation by Google on what automation apps like Tasker will be able to do, so I have filed an issue report to request that they provide some mechanism to allow the user to disable this restriction:
r/tasker • u/joaomgcd • Aug 02 '24
Every year since I can remember Google has hit my apps with some kind of policy issue right around the time I'm about to go away for a bit in the Summer. This year is no exception.
Some users have started receiving this warning when trying to use Google Drive features with Tasker: https://imgur.com/CjV3qpX
Google suddenly needs me to justify why Tasker needs full Google Drive access. However, they didn't warn me or anything; they simply cut off access without any previous notice. Now, I need to go through the process of justifying Tasker's access to the Google Drive API: make a video, have them respond to my justification with (undoubtedly) a reason why it's not sufficient, then add more to the justification and go round and round until eventually they accept it. This process sucks because I shouldn't be working right now :P
Oh well, at least Tasker seems to be relatively stable, so hopefully there won't be too much trouble while I'm gone.
Hope you all have a great time! Love you! ❤️
Cheers!
r/tasker • u/joaomgcd • Feb 21 '20
Hi! I'm going to be away for a week or two!
I won't be able to answer any questions or do any development during this time. Hope that the recent releases can keep you busy for a while. 😉
You can find the currently known issues with Tasker and possible workarounds here.
While I'm gone, you may want to check these
This collection of Tasker projects where I and a few other people sometimes post tutorials/importable projects of cool use cases. A lot of stuff has accumulated here over the years, so there's a lot to keep you busy :)
My main YouTube channel where I post release videos for my app
My "quickly becoming my main" YouTube channel where I post almost daily videos of new features and other cool stuff I do with my apps
My Patreon where I post the exclusive Live Creations and give patrons the chance to check out new features before everyone else
My Twitter where you can follow me if you feel like it :D
Thank you and see you soon ✌
João
r/tasker • u/rokerot • Oct 10 '14
Check out my new tutorial, if you have any questions post them here and i will answer everything that you need :-)
Link to XML of the project: https://docs.google.com/file/d/0B9oFPTKMCjxEOHhxYlQ1Q0hHNmc/edit?usp=docslist_api