If that makes sense?
Create a task that you'll assign to the widget later.
Variable split %TIME Splitter . (Time is recognized by Tasker in HH.MM using the 24 hour clock)
Variable set %wake to %TIME1-16 (make sure Do Maths is checked)
Set Alarm Hours: %wake Minutes: %TIME2 (maybe add a few minutes to give yourself time to fall asleep).
Assign that task to a widget and you're all set.
Ytdl is tasker+termux project to download YouTube videos on android easily. It is based on youtube-dl.
Download YouTube videos, playlists, and audios.
Supports downloading by copying YouTube link to clipboard, or sharing link to termux app.
Supports all YouTube links, including channel links, playlist links, embedded videos links. Livestream downloading hasn't been tested yet. Youtube mix url are not supported by youtube-dl.
Select or unselect videos in a playlist/channel that you want to download.
Get live update of download status in notification.
Cancel any download from notification.
Does not require any Tasker Plugins.
Option to enable cataloging of playlists, by downloading playlist to a seperate folder of its name.
Tasker app (Play store link)
Termux (Fdroid link, Play store link)
Termux packages- ffmpeg, python, youtube-dl, atomicparsley, git (Approx. download size 80 Mb)
Copy and paste the following single line command in termux and press Enter key. Click here to copy command to clipboard.curl https://raw.githubusercontent.com/Practicalbutterfly5/ytdl/main/installytdl > installytdl && chmod +x installytdl && bash installytdl
Tasker will open automatically and ask to import ytdl profile. If it doesn't, import project manually from /sdcard/Tasker/ytdl/ytdl.prj.xml
Launch the ytdl_Initial_Setup task and configure your preferences. Re-run this task if you want to change any setting in future.
After ytdl is installed and setup task is run, you are ready to download using any of these method.
Method 1 (all Android versions)
Share any YouTube link to termux app. Termux app will open momentarily and then close, if it didn't have any active sessions.
Method 2
Android version<=9, will be able to copy YouTube link to clipboard and trigger ytdl.
Android version>=10, will need to give tasker
android.permission.WRITE_SECURE_SETTINGS
. This can be done using adb for non-root users, rooted users can simply executepm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
in rooted shell.
Thank you to everyone who helped me in testing this project.
2021-03-25: Version 1.1 released, you can update ytdl with the same termux command used for installing, while importing project it will ask to overwrite ytdl project.
Changelog v1.1
Fixed a bug where video titles with some special characters like were not downloaded correctly.
Added option to enable cataloging of playlist, by downloading playlist to a seperate folder of its name
Added a prompt if video has been already downloaded.
2021-03-25: Version 1.0 currently has a bug where it will fail to download videos with special characters. It will be fixed in upcoming version 1.1.
Had a number of apps misbehave and even Tasker thought it lost some permissions.
https://9to5google.com/2021/03/22/android-apps-crashing-webview/
In case you get oddities, uninstall WebView
I dug deeper and actually found it to be a result of Google Tag Manager, as when I hit the issues I did ADB to watch logs. Seems a GTM update of sorts for Webview went tits up.
Hi,
I use a combination of file synchronisation (Syncthing) and tasker profiles for communication between my devices. To simplify things I am considering getting Join, however the last update being from 2019 made me wonder about the future of Join.
Is there any news ?
Hello. So need some help with this. Have Tasker installed with OneUI 3 on a Galaxy Note 10 plus.
I have the Accessability service turned on. Profiles that depend on it work for a while, then eventually, tasker will tell me to turn on Accessablity. It's already on though. I have to go to accessibility, turn it off then turn it back on. It works for a while and then eventually does same thing.
I have battery optimization turned off for all tasker apps. How do I fix this? This has been a problem ever since upgrading to OneUI 3 / Android 11. Before that everything worked perfectly.
I want to know how to remap Bluetooth Commands given by my Smart Watch's music player using tasker...My smart watch isn't Wear os...it's Huawei watch GT2... So I want to remap those Commands which given by my Watch . (Please note that.. when playing music in my phone I need to control music at that time ) I need only to remap those Commands when not playing music in my phone... Can anyone help me... I searched on Google but ended up nothing... If anyone know a tutorial or Anyone have a profile of tasker lie that can u share with me?... Or can anyone teach me the steps to do this... Help is really appreciated 👋👋👋 Love u guys ...thank u
This is a simple project, which I set up taking parts of what the community shares, I just put them together and added something here and there, and want to share.
When an app is installed or updated, a notification will be created containing the app’s name, package name, version, genre, as well as some buttons to make easy to manage the app, the options are:
Open the app
View on Play Store
Backup the APK file (or files in case of a bundle).
Manage permissions/grant "all" the "basic" permissions
Uninstall the app
Uninstall but keep data (root required)
Some notes:
It gets the info about the app through the Play Store, so it only works if the app you installed is present on the Play Store.
You don't actually need AutoNotification and AutoTools, AN is used just to get rid of the 404 notification error when an app can't be found on Play Store, and AT because the task is very old, can be replaced with the new Tasker actions to manage html (I think -idk how to use them).
Idk why, but although rare, it sometimes trigger incorrectly, as if several applications have been installed/updated, when actually none were. It's rare.
The manage/grant all permissions part works well, but in some cases it can't grant ALL the permissions needed.
The internal memory of my device is in /storage/emulated/0/, if yours differs you need to change the path on the actions that need to know this path.
I put the pieces together to make the project based on my language (Portuguese), in case I forgot to translate any part of it, I apologize.
And ofc, as it had been built using a bunch of projects/tasks, I don’t have credits on it, but the people who created the tasks and/or helped me do them (mainly people here on the Tasker subreddit and the website/Telegram group "Tasker Super Brasil".
Thank you and feel free to fix the problems and repost.
Anyone do u know a site to get some example tasker projects.. ??... If anyone know please share the link please... any help appreciate ..... Also thank u for this community for sharing good tips about tasker.. & tasker owner for his amazing app
Hi, I'm migrating all notifications to autonotification. The first thing I ask is if it is normal for notifications to be grouped under "intercepting toast". I find it inconvenient because the notifications are about different activities. They have different id and they are not grouped. With the simple notification I find them correctly separated.
I know we can store the data locally while offline, and it will update later, but is it posible to get data from a sheet while i'm offline? maybe downloading the file or something like that
I love AutoVoice but I'm always on the lookout for other speech to text possibilities. You've probably seen Live Transcribe. There's also Live Captioning, which came to my attention as one of the Android 11 Quick Tiles on my Samsung.
https://arstechnica.com/gadgets/2021/03/chrome-brings-live-captioning-to-any-web-audio-source/
... should be available on most Android 10+ devices, lets you easily apply Google's speech-to-text technology to any audio source, making it simple to get closed-captioning on audio that's lacking in the accessibility department. Starting today, Google is beginning to roll out the feature to Chrome 89 and up on desktop PCs.
I haven't read the T&C but if it's legal to do so can we repurpose this for use with Tasker? I'm interested in accessibility applications.
Oh, and apparently the audio and text never leave your machine, it allegedly works offline! Tin hat people take note.
While reading through eBook, it was difficult to take notes without affecting the flow. Even though some eBook reader like MoonReader+ allows us to mark some text which can be exported to different formats, I wanted a generic method which works for all apps. The profile allows to switch on a feature called Copy-n-context which writes clipboard contents to a markdown file as you copy it. You can switch context in between. You can edit the text format etc. An alternative approach is to use Autoshare to do the same thing with a much more steps, which is also available in the profile.
So I want to change the Telegram status and the WhatsApp about when my battery % gets too low. Means that if I disappear and don't respond then it's clear why. Once it's above another % then it'll change it back to whatever I set it to be.
I've had a look at the WhatsApp and Telegram manifest files but I can't figure out what I need to be interacting with. Can anyone give me any pointers?
Any help would be greatly appreciated.
I have this profile for checking my stocks, which works fine and how I want it. But I can't figure out how to send multiple variables to my KWGT widget. With one stock it worked, but not with multiple.
Of each stock I want
the current stock price with one variable
the difference to my purchase price in % as a variable
a widget button to update all variables
Then send all of them to one KWGT widget.
For 1. I have this so far:
A1: Variable Set [ Name:%aktien To:https://www.myurl1.com@https://www.myurl2.com@https://www.myurl3.com Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
A2: Variable Split [ Name:%aktien Splitter:@ Delete Base:Off ]
A3: For [ Variable:%meineaktien Items:%aktien() ]
A4: HTTP Request [ Method:GET URL:%meineaktien Headers: Query Parameters: Body: File To Send: File/Directory To Save With Output: Timeout (Seconds):30 Trust Any Certificate:Off Automatically Follow Redirects:Off Use Cookies:Off ]
A5: Variable Split [ Name:%http_data Splitter:field="bid" decimals="4"> Delete Base:Off ]
A6: Variable Split [ Name:%http_data2 Splitter:</span> Delete Base:Off ]
A7: KWGT Send Variable [ Configuration:Set: airbnb Timeout (Seconds):0 ]
A8: End For
For 2. I have this, which only works for one stock:
A1: HTTP Request [ Method:GET URL:https://www.myurl1.com Headers: Query Parameters: Body: File To Send: File/Directory To Save With Output: Timeout (Seconds):30 Trust Any Certificate:Off Automatically Follow Redirects:Off Use Cookies:Off ]
A2: Variable Split [ Name:%http_data Splitter:field="bid" decimals="4"> Delete Base:Off ]
A3: Variable Split [ Name:%http_data2 Splitter:00</span> Delete Base:Off ]
A4: Variable Search Replace [ Variable:%http_data21 Search:, Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In Array: Replace Matches:On Replace With:. ]
A5: Variable Set [ Name:%air To:%http_data21 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
A6: Variable Set [ Name:%maths To:((%air-100)/%air)*100 Recurse Variables:Off Do Maths:On Append:Off Max Rounding Digits:3 ]
A7: KWGT Send Variable [ Configuration:Set: geld Timeout (Seconds):0 ]
A8: KWGT Send Variable [ Configuration:Set: prozent Timeout (Seconds):0 ]
I appreciate any help.
Hello,
I understand I can download wake lock to see what is in the background keep screen on without turning off.
Is there a efficient Profiles someone could suggest. When screen on at certain period of time., to turn itself off ?
Thank you very much. edmond.
Hello everyone!
A project to
Create a Json Database from Join devices
AutoTools and Join
Manual remove device task is actually implemented in the New device scan.
Set %json_data maybe as project var with the wished path for json file.
Edit : you should look at this as a "framework" and extend it for your wishes. Actually the only thing what u need to add/change is the %akey parameter at start...
I make an explanation video why is structured as this and for use cases soon
Can anyone help by suggesting, How to find which type of message received in whatsapp? Example: Text/pic/voice/video/files
Any suggestions is highly appreciated.
A way to translate strings with Tasker + APK Editor
I'm sorry, but it's not in English and I did it for my audience and I didn't adapt the code to have translations
Decoding Mode = Decide it at decoding
Decoding Directory = /sdcard/ApkEditor/ (opcional)
To decode the app select the app and select the decode mode
Wait for the files to load
Play in TP - .Main or TP - .Menu
Click in 'Tradução Automática'
Select the language to be translated
Select the translation language
Select the arrays/strings to be translated (opcional)
Wait until the translation is finished
Build the app
NOTE: many apps have protection against modification so it may not always work
If you have errors with the strings try to modify the errors by correcting the variables [ %1d,%2d > %1$d,%2$d ]
Click in 'Editor de Strings'
Select the translation language (bug)
Select the values folder to translate
Click on an element to edit 4.1. Button 'Voltar' (Back) 4.2. Button 'Restaurar' (Restore) 4.3. Button 'Salvar' (Save)
Add strings that are in layouts with the name translate_plugin%num
Click in 'Corrigir Strings'
Wait until the string correction is finished
'Idioma:' Default Language
'Diretório Padrão:' Decoding Directory
Removes all notifications and turns off the Tasker
This option is useful only as an application
I would like to add colored events to a calendar depending on the event name. I got it working with CalendarTask, but this app is facing a memory issue when I deal with too many events in a single task (the developer don't know why). It can even eventuelly crash Tasker.
That's why I would like to do it without CalendarTask. I know there is a calendar insert action in Tasker, but it don't handle colors.
Is there Java/JavaScript command or other plugins that could do that?
What I mean is, when you ask Google Assistant to "do something with Tasker", and that triggers the task named "something", is there a way to know that it was triggered by the Google Assistant instead of another profile for example?
i have achieved peak laziness. i no longer have to press my light switch possibly ever again.
tasker should keep my room bright forever, adjusting my smart light's brightness as the overall brightness of the room changes. (well, hopefully... just started running this script, it's working well so far)
ingredients:
tasker
philips hue impulse purchase you both regret and not
autohue
old phone you no longer use that has a light sensor
boredom
klwp (manual override buttons just in case)
i have a (sanitized manually outside tasker, probably broken) XML here if you want to try it out for yourself: https://ebc.li/Uq0.txt (rename to Light.prj.xml
after download) (licensed CC0/Public Domain. go nuts, except if any personal info is left. then don't)
there are three variables that matter in project settings:
thresholdmin
%LIGHT levels less than this will up the brightness
thresholdmax
%LIGHT levels greater than this will lower the brightness
thresholdfinal
%LIGHT levels greater than this will turn the light off
max
is unused but would be 255 if it were to be used
and there are three tasks that matter (in turkish because i originally put widget shortcuts before going klwp):
Otomatik
toggles the automatic mode this entire post is about
Isik Yak
turns the light ON (override)
Isik Sondur
turns the light OFF (override)
For specific reason i have to simulate a touch and hold on X,Y screen coordinate for 1-2 minutes.
So not only a single touch.
Is it possible with tasker+autoinput? Or other plugin?
I'm on rooted Android 7.
thanks
Hi ,
This is an addition to my other shared project
Uses AutoTools
Just send device name %dev , and state %state to the device where u run this. (Got multiple devices and I'm not changing in the config anything so this is just an import and use stuff To communicate between devices)
(After boot ot shutdown or whatever)
Addition:
Base project:
u/joaomgcd , hi Joao could u please clarify why "enabling" structured output breaks json write in this profile/task? (First share(store local state))
S if i enable SO somewhere the state var aint changes in the json file
Hello, attached is the taskernet link of the profile I am using. It is not done by me, I imported it from a post in this sub before this. It used to work fine, but lately, it will fail to say (using Say Wavenet) to say the songs.
I have tried to run the particular action, Action number 8 in the task, but it fails after some time. The error screenshot are in this link.
The weird thing is, it does not fail all the time, but lately I can see that it does not say for most of the time. Sometimes it will say normally, then for the next X number of songs it will not say again. Usually I will hear the volume of the song lowered during the beginning, and the song resume again with normal volume, I think it is due to setting "Respect Audio Focus" in the Say Wavenet action.
From run log, I will see the task failed with ExitErr. Because the error is random, I am not sure if it is something wrong with my setup or maybe specific to my device.
I am running on Samsung A71, Android 11. No battery optimization for all tasker apps and plugin.