Response from Pent: Google have removed it, as far as I can see mistakenly since they are complaining about something being in the manifest which is simply not there.
In a couple of days, after I've got a few thousand complaint emails, they may have gotten round to reading the appeal.
It depends on your needs.
Some of my more commonly used ones:
When I leave the house, turn off wifi. When I get into the car and the phone connects to the cars Bluetooth, Waze is automatically launched along with Google Play Music (though this starts up itself anyway if the car is set to Bluetooth input).
When I leave the car, Waze is shut down.
When I get to work, wifi turns on, and ringtone and notification volumes are turned down a little.
When at work, if I have an appointment in my calendar which is marked as "busy", my phone goes into silent/vibrate mode, with exceptions for appointments with specific keywords. And only when I'm at work.
Also, when I'm at work, the Chrome shortcut on my navbar launches my work ticketing system homepage. When I'm not at work, it launches Google.
When I leave work, Wifi off, volume back to full etc.
Location is all done with "cell near". it uses no battery, is still accurate enough for location based profiles.
When I dismiss my alarm in the morning, airplane mode is turned off, wifi is turned on. The phone then downloads a weather forecast xml file from a weather website, it parses a small forecast description, and max temp from that xml file, stores those in variables, and then reads those back to me using a Scottish accent I downloaded from the Play store.
I use Gentle Alarm, it has Tasker integration, plus it's a fantastic alarm app: https://play.google.com/store/apps/details?id=com.mobitobi.android.gentlealarm
At night I charge my phone every night beside my bed. I have Tasker disable the notification LED and AOD, so that it doesn't light up the room, so that I don't have to change those settings myself every night.
I use Tasker to add 2 new quick toggles to my Galaxy S8+ to toggle between different display modes (AMOLED Basic and Adaptive). You can add any Tasker task as a quick toggle in Tasker settings. Up to 3 can be done this way.
Those are just some of my most commonly used ones.
Team? It's just Pent. He has been posting recently in Tasker - Developers, so he's probably not quite finished.
Actually it's much simpler than that. Taken from the Waze forums:
On your exit task for whatever launched Waze, add a "Send Intent" task, with Action=Eliran_Close_Intent, Target=Broadcast Receiver.
That is all.
I know that you were asking for a way to do this using Tasker, but if you don't find a solution, I use Sleep as Android everyday. I absolutely love it.
You don't have to, but you can also set your phone on your bed at night. The app will wake you up when you are in your lightest sleep phase (by monitoring the accelerometers).
For example: set alarm for 6AM. It'll wake you up between 5:15 (or whatever time period you choose) and 6AM. I have mine to only go of when I scan an NFC tag that's next to my shower in the bathroom.
Skip Tasker altogether and use Muzei with the Reddit plugin. By far the best solution, Muzei allows for image blur, dim and desaturation, and you can configure it to cycle every x hours/days.
I recommend waiting until Pent confirms it's his.
You wouldn't want to use an inauthentic version.
I must say that one that soothes my ears almost daily is having Tasker reduce media volume during Pandora advertisements and brings it back up when the music starts again. The Tasker subreddit community here helped me with that one immensely. Requires AutoNotification.
Well this sounds like a job for the excellent new plugin "SMS Search For Tasker" developed by /r/Tasker's own resident Java guru /u/Plepleus.
You can use the plugin to query the SMS/Messages database for that specific contact, choose type "sent", and return the last date/time you sent a text to that person.
Just have a Tasker Profile check daily at whatever time you'd like, and as soon as Tasker detects there's been over 7 days since the last sent message to that person, it will send a new message.
(As the plugin returns the time of a message in universal seconds/ms you won't even need to use Date Time > Seconds conversion in Tasker. Just use the fact that there's 604800 seconds in one week.)
Setup using this plugin would be extremely simple, since you only need the one most recent message sent to that person.
So in the plugin you'd use settings:
Type: SMS Only
Query: Name (or phone number)
Inbox/Sent: Sent Only
Max Results: 1
Then it would return %smsdatems1 as the UTC time of the last message sent to that person.
The Profile/Task would be simple:
PROFILE: Daily + Time
LINK TO TASK:
A1. Plugin > SMS Search > (setup as above)
A2. IF %TIMES-(%smsdatems1/1000) > 604800
A3. Send SMS etc.
A4. END IF
I've tried using Eventghost on my PC to set things up with AutoRemote, etc, but I otherwise much prefer using AutoHotkey. It's a simple scripting language, and extremely useful for automating tasks, setting up macros or generally increasing productivity when using the computer.
Profile: Enable VPN On Unsafe WiFiState: Wifi Connected [ SSID:* MAC:* IP:* Active:AnyState: Not Wifi Connected [ SSID:YourWiFiName MAC:* IP:* Active:Any ]
Entry Task: OpenVPN ConnectA1: Send Intent [ Action:net.openvpn.openvpn.CONNECT Cat:None Mime Type: Data: Extra:net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:PC YOURVPNNAME Extra:net.openvpn.openvpn.AUTOCONNECT:true Extra:net.openvpn.openvpn.APP_SECTION:PCPackage:net.openvpn.openvpn Class:net.openvpn.unified.MainActivity Target:Activity ]
Exit Task: OpenVPN DisconnectA1: Send Intent [ Action:net.openvpn.openvpn.DISCONNECT Cat:None Mime Type: Data: Extra:net.openvpn.openvpn.STOP:true Extra: Extra: Package:net.openvpn.openvpn Class:net.openvpn.unified.MainActivity Target:Activity ]
Edit: This is only for the OpenVPN Connect app
Google's Voice Access app maybe? It's not related to tasker but was made for situations such as this so it might work.
I found these on Google Play a year or so ago. They are well done and made with Tasker.
Also related is his answer in this thread re. problems with Wi-Fi Scanning. Apparently, in Marshmallow, "Wi-Fi Near" scans will return an empty AP list unless GPS is enabled, and according to the Google devs this is not a bug but is "working as per the design".
This means, presumably, that the Wi-Fi "scanning always available" feature won't work unless you have Location (as in GPS) enabled as well. To me it sounds rather like a fishy way to force users to ping their location to Google every minute. I guess we'll see if they'll reconsider.
If you use Openvpn you can use openvpn tasker plugin to add connecting/disconnecting in tasks. I use it to automatically connect when I have certain apps open.
The one great thing about Tasker is that it is becoming more of a 'hub' for all the plugins and add-ons, rather than trying to be the spokes and the wheel all together. What this does is guarantee (almost) infinite future development, as long as the core of Tasker remains intact/updated.
Don't get me wrong, Tasker is plenty powerful on its own, but as you mention for certain things (like toggling GPS or reading NFC tags) you need some extensions/plugins. Thankfully many of these are free, or if there's paid versions, sometimes you'll find the free version suits your needs.
The one thing i typically recommend is a subscription to the AutoApps Suite of plugins, for like a dollar a month you get dozens of plugins that do some really amazing things.
You'll also find that more and more developers are posting here every month with newly created plugins for Tasker, and/or apps that are now offering Tasker integration (again expanding on the "hub" concept - as more and more 3rd party app developers add Tasker control to their apps).
I would recommend doing a Google Search for "Tasker plugins" as well as a search here for "[DEV]" tagged posts, which usually contain the latest plugins or apps integrating with Tasker.
Sure it would, but I like to micromanage. This way I have complete control over when and how it polls for data, and I can integrate the task in several other contexts as well, as for example when I have it send weather information to my text widgets in Kustom. Plus, the Tasker way is more fun!
The SL4A action has been there for a long tnme, and it seems SL4A is mostly dead. I'd recommend an app called Termux, which is a bash implementation on Android. Termux will run Python scripts, and there is a Tasker plugin for Termux as well. The Termux app itself is free on Google Play, but there are quite a few plugins, and most of them cost a dollar or two (including the Tasker one). However, Termux and its plugins are open source, and the author has realeased it for free on F-Droid if you'd rather not pay for them.
Not without using something heavy-handed like the App Settings Xposed module, which gets in there and "physically" removes calls to Java functions that would produce audio. Android simply doesn't permit background and foreground volume levels to differ. 😔
I believe this is because of the "Use Reliable Alarms" setting. See this page.
Tasker has native support for SL4A, but that's a moribund project these days. The new hotness is Termux:Task. Install that (and Termux, of course), then pkg install python, and you're on your way. The massive benefit of going this route is the general-purposeness of it: almost any utility designed "for Linux" can be incorporated into your Tasks.
pkg install python
No specific delay depending on priority, but starting new tasks have overhead compared to running actions in same task. Check scheduling https://tasker.joaoapps.com/userguide/en/tasks.html#task-scheduling
Global read/write is at least twice as slow as local.
If you want to make a "company wide" profile, all the employees has to have Android (obviously). Everyone doesn't need to have <strong>Tasker</strong> though since if you only use actions built in, you can use App Factory to export the task as a seperate app.
I'll think about this though :-}
You would use an app named Drive AutoSync to link your local folder to a folder on Google Drive. You can set it up so that the data only moves in one direction, and only updates when manually triggered to do so (which Tasker can do because that app has Tasker integration).
So basically you'd have a Profile in Tasker that triggers when the local folder on the device updates, then links to a Task that runs the sync by have Tasker tell DriveSync to do its thing.
Then you'd use Tasker's Delete File action to delete whichever file(s) locally. As long as you have the options set up properly in DriveSync it shouldn't delete anything there. You may have to pay for the full version of DriveSync though depending on how they currently have the trial version (think it was/is limited to a certain number of MB per sync).
There's a couple of Java Actions you can use to query if music playing (or anything through the audio stream) whenever you'd like to check it. Here is link to download the XML. Just use those Actions in your Task an it returns true/false.
Another option is the AutoTools alpha plugin, if you're subscribed to the AutoApps Suite of plugins. It contains 'Check System State' options.
Sounds like a job custom made for the new app - "Join".
Just set up Join on both devices, and you'll be set. Some info about Join here.
And as it's still in beta, but a highly advanced beta - you just need to register/download it through the Join beta page.
>However, it has lost much of its original functionality due to changes in newer versions of Android
What are you talking about? Examples?
I've 2 devices Android 10 and Android 8. The only difference that I can see is the clipboard event, that works on both Android versions but for 10 with an efficient 'workaround'.
>the current developer (Joaoapps) has opted to release paid plug-ins to re-add that functionality rather than update the core program
Again....What are you talking about? Examples?
Joao is doing the opposite of what you wrote. He added a ton of new functionalities in tasker and integrated some that before required plugins. For example the functionalities of AutoShortcut that now are part of tasker itself.
May I suggest you to read some Tasker release notes? You will see, added added added
AutoWeb has a prebuilt Google Tasks API.
You could call the API directly from Tasker and there are other tasks where people have used the API, but it's still the harder option.
Join (by the developer of Tasker but not using Tasker) lets you share notifications between devices. Not just vibration, but the message content too.
Yeah I will throw the necessary files in a Google drive folder and share a link tomorrow. It's 1 scene, 1 task, 2 html files for the graphs, and the gsheet. I'll try to put a basic walk-through of how to set it up.
You will need this Google Spreadsheet plugin
I think you want the Material Design Plugin I haven't used it though so I'm not sure. Definitely worth looking in to though.
With web screens you can use the Floating Bubble preset and turn off movement, then just place it wherever you want. If you want to do something more complex than that you'll need to go on your PC to create new web screens.
> Ideally every night it would only sync files that changed
There is certainly a way to do this with Tasker, but based on anyone's specific use and specifications - it would have to account for a lot of variable scenarios. It wouldn't exactly be the easiest thing to write/create solely in Tasker.
There is an app called Drivesync/Foldersync that is quite powerful and you can create any backup/mirror scenario you could possibly think of, and trigger the sync via Tasker because the app has Tasker integration built-in.
You'll find this app mentioned many times in this subreddit since it's quick and easy to setup and does its job quite well. Not to discourage you or anyone from writing a whole custom solution using Tasker, but Drivesync works really well :)
AutoInput plugin can do that. I'm using it on my GS9 and it seems to work pretty good. There is a free version, but you have to watch ads to get it to function.
Not sure if it can be done with Tasker alone, but take a look at the Light Flow app (Pro) to control the notification LED.
Yes, with the plugin <strong>AutoInput</strong> you can use the Key Supress action to first remap/disable the volume button(s). Then use an AutoInput Key Press Profile to detect the key press, and link it to a Task that does the Track skip.
Start it again automatically based on...what criteria? A certain time of day? Something else occuring? What would be the 'trigger' to enable it?
Regarding being able to do it from a technical standpoint - it can be done.
Basically just make a Task like this:
A1. Launch App: Tasker
A2. AutoInput UI Query > Wait for Text: More options
A3. AutoInput > Action > Long Click > Coordinates: (x,y of your Tasker icon)
Advanced - Is Tasker Action: Yes
Then take that Task and export it as its own app using Tasker App Factory. If you include a Profile in it that sets a criteria like a certain time(s) of day or whatever, it will do it automatically.
Could also run this at startup by designating it to do so either on the device or by using an app like Startup Manager (Free) to do it.
(Note: If Tasker doesn't want to launch itself in that first Action once exported, change that first Action to use AutoLaunch, shell command, or via Java/script, etc.)
Get AutoLocation and set up a profile that triggers when cycling and pops up a notification with this picture
My app Kolorette:
Extract material design palette colors from wallpaper, muzei, album artwork or any image and use them in Tasker.
Also native integration to use colors in Zooper, Kustom so that you can create wallpaper contextual material stuff.
I don't think there is a free version of tasker. I think it goes into a 30 day trial or something.
This is tasker. If this is not what you got, you did not get tasker:
Apparently Pent is working on an update.
> I'm actually (very) slowly plugging away on a new version.
> When the release Marshmallow hits my N5, apparently soon, I'll take a look.
A1: Variable Set [
Max Rounding Digits: 3 ]
A2: Variable Set [
Max Rounding Digits: 3 ]
A3: Variable Set [
Max Rounding Digits: 3
Structure Output (JSON, etc): On ]
A4: Variable Search Replace [
Replace Matches: On
Replace With: ; ]
A5: Flash [
Long: On ]
%csv.name() == Jack,Lindsey,Eddie
%csv.address() == London,New York,Lisbon
%csv.tel() == 123,456,789
Reference: CSV Reading
You can also use intent received event with "android.intent.action.PACKAGE_ADDED" and access the info within the %intent_data variable.
For more information on how to receive/intercept intents in Tasker (in case if you don't know) you can see the userguide: https://tasker.joaoapps.com/userguide/en/intents.html
I use home assistant with Tasker. There is a home assistant Tasker plugin that I use and it's working really good for me. I control my home via my Android Wear watch using Tasker + Auto wear + home assistant.
I find apps like Sharedr are faster for me as I usually run close to 2000 apps which can take a while to load in the native share menu without that ability of hiding many. CustomShare from my other post is even faster as it uses Xposed to hook in at a lower level.
Not a Tasker solution, but AMdroid is an alarm app with built in calendar integration that will do exactly what you are looking for. https://play.google.com/store/apps/details?id=com.amdroidalarmclock.amdroid
If you don't desperately don't need to use this app Sweech, there is a much better ideal app by the same developer of Tasker called Join.
Agree with using <strong>AutoInput</strong> to automate the click sequence. You may want to have it happen at a time when you can observe it, or have the phone alert you when it's doing it, to make sure all is well.
Since if your banking app updates and the screens become different - you may end up with some un-intended results, like transferring all your money to /u/Spoghead haha.
<strong>Join</strong> is one of the most awesome apps/plugins for connecting all of your Android mobile devices to each other, along with integrating them with systems like IFTTT and Google Home, etc.
As you have the GS7 - does it generate a notification up in the notification tray that says "Fast Charging" or something to that effect?
If so - you can use that with <strong>AutoNotification</strong> (or perhaps even Tasker's newest notification profiles/actions) to easily discern between when the device is fast charging vs. regular charging :)
This app will let you manage torrents on your desktop client from your phone. You simply open the torrent in transdrone and it will start downloading in your desktop client just like you opened it there. The desktop client should have options for remote connections so you'll be configuring the client and the app. It should be pretty self explanatory.
If you want to be able to use it off of the same local network you'll need to set up your router to forward whatever port your using to your computer. And then have transdrone connect to your outside IP.
This security policy "feature" rolled out earlier this year and seems to have been the cause of considerable frustration among people who like to streamline their device usage. As best I can tell, there's just no way to get around it when the display has been locked by a device administrator (this being how Tasker's System Lock Action does its work).
If you're rooted, you can simply use the Code/Run Shell Action to execute input keyevent 26; for all intents and purposes, this works exactly as if you'd locked via the power button.
input keyevent 26
You can send that event programmatically, but the INJECT_EVENTS permission can only be granted to system packages, so that ended up being a no-go in my tinkering.
As a last resort, you can minimize your screen timeout instead of explicitly locking; the effect is much the same without disabling fingerprint unlock.
If you don't want or need any of the bells and whistles that come with that app (and you're willing to get your hands a little dirty), you can just set the screen_off_timeout system setting to 0 instead of using System Lock, but you'll then need to restore its old value with, say, a Display On Event.
Absolutely! Take a look at the Material Design plugin
It may not be the best option, but it's fairly easy if you can get it working the way you want it to
Basically - yes. Variable value(s) can be shuttled back and forth between Tasks as local variables using the following methods:
In the Task B with that "Perform Task" Action - you'll see two fields in that Action labelled %par1 and %par2 - these are for sending variable values over to Task A.
Inside "Task A" you can automatically access those values by literally using those two varnames %par1 and %par2. Then at the end of Task A (or really anywhere in Task A) you can use the Task > Return Action to send something back to Task B.
Task > Return
It will be available in Task B in the variable name you assign in the "Return" Field of the original Perform Task Action.
A1. Variable Set: %pet Value: dog
A2. Variable Set: %fruit Value: apple
A3. Perform Task
Name: "Task A"
Return Variable: %message
A4. Flash: %message
A1. Flash: "Data sent over to Task A is %par1 and %par2"
A2. Variable Set: %msg To: "This info sent back to Task B"
A3. Task > Return: %msg
By creating those two Tasks you'll see how data is sent between Tasks. Now of course it seems somewhat limited with just two fields for %par1 and %par2. However if you use the plugin AutoTools beta from the AutoApps Suite of plugins, you can send unlimited variable names and values in those two fields.
Once all of the above makes stuff sense I can then explain how to use AutoTools to do so. Try setting up those test Tasks so you can see how it all works :)
Use Xbox Smartglass, if the console is on the same network as your phone, you can turn it on with the app
AutoInput just simulates the touches in Smartglass for me
Aside from various AutoApps, I use Join for texting from my desktop, mirroring notifications, pushing links, files, and clipboard contents across devices, executing any Tasker task remotely, receiving IFTTT alerts—and so on.
Material Design has a companion plugin named "Snackbar Plugin" and that deals more with bottom sheets, etc.
That Snackbar Plugin currently does have a "Switch Sheet" which does (and is laid out) exactly how you want it in the pic, for the most part. Here is a Switch Sheet I created for switching certain Tasker profiles on and off. You'll notice it also supports a FAB button and an input field if desired.
/u/nickm_27 is the dev, and to Nick - perhaps a "Switch Activity" in the Material Design plugin would be cool, along with the ability to have the spinner, etc.
Regular Tasker Scenes can't be clicked and dragged.
There is a plugin from the AutoApps Suite of plugins named AutoBubbles that lets you create floating icons/buttons/images that can be assigned actions for on click or long-click etc.
Sounds like this is what you're looking for ;)
HTTP Get can retrieve any text information from anyplace on the web. You could link it to a text file, a web page, a data source such as XML or JSON, such as the JSON for this subreddit - https://www.reddit.com/r/Tasker/.json
Extracting the data all depends on the format of the source. If you want to parse data from a web page, you'll likely need to use some Variable Split actions along with Variable Search actions.
If you want to parse JSON data you'll likely need to use Java(srcipt)(let) actions and/or a plugin like AutoTools JSON Read, etc.
Yes, dis possibru. AutoVoice.
Commandr might meet your needs too.
Heck yeah, AutoTools API plugin a game changer IMO for Tasker as a whole. For anyone who isn't familiar with this, it basically lets Tasker integrate with just about any app / web service that has an API. More options are constantly being added to enable integration with more types of API's. But the most awesome part about it is that anytime an API integration is created by anyone, it gets uploaded to a central server, where anybody else with AutoTools can import it.
So there's no need to re-invent the wheel so to speak if 200 people want Dropbox API integration, it only takes one person to create it, and some others to add functionality to it, and everyone can access it (as well as make any tweaks to personal taste after importing it, without having do the 'heavy lifting' of the initial API setup).
In summary it's basically a Tasker "Create Your Own Plugin For Any API" with a group-think open-source model.
For those interested the AutoTools API alpha plugin is part of the the AutoApps Suite of plugins.
I believe FolderSync can initiate a sync when a file changes (don't use that particular feature), but you might need the pay version (worth it tho!).
Lite version can be found here.
Worst case, you create a permanent notification with a 'sync' button, which shows up whenever you are running certain software. Link that button to the FolderSync task, and you are good to go.
One thing you might be able to do is have your profile respond to "Ok Google, play <artist> in the <room>" and then connect to <room>'s speakers, and then send another statement back to Google Now which actually starts your music.
So it would be like:
"Ok Google, play Daft Punk in the bedroom"
Connect to bedroom speakers
Use Tasker to make Google Now believe you said "Ok Google, play Daft Punk"
and then it would start your music (hopefully).
I was looking into how to automatically send things to Google Now, and this thread sort of worked, but it looks like using AutoShare would be the better way to do it. You could even use the regular Google Play Music Search And Play intent that AutoShare has instead of going through Google Now.
A1: Variable Set [ Name:%path To:/storage/emulated/0/Zedge Max Rounding Digits:3 ]
A2: List Files [ Directory:%path Match:.zip Sort Select:Alphabetic Variable Array:%files ]
A3: For [ Variable:%file Items:%files() ]
A4: Variable Set [ Name:%destination To:%file Max Rounding Digits:3 ]
A5: Variable Search Replace [ Variable:%destination Search:.[^.]$ Replace Matches:On Replace With:.dat ]
A6: Move [ From:%file To:%destination ]
A7: End For
Link the above Task to a "Time" context Profile, that fires at 9 am.
If you set up separate profiles for each of those individual contexts, you can then setup your multi context profile separately but only containing State -> Variable Value
Within there, you can then use multiple IF/AND/OR to finally tune your requirements which in your case will be multiple And statements.
You then populate each If statement with:
If %PACTIVE !R profile name
(!R is matches regex)
There is more information about this in the Variables Userguide.
>it possible to have tasker disconnect from a specific network or connect to a specific network when a condition is met?
Yes, It is. Using Java or AutoTools Plug-in.
There are threads out the related to your needs. There are some tricky approaches...but in my opinion best solutions are 2:
1 - (The easy way). Using AutoTools plugin.
2 - (The not so easy way). If you have some Java skills, You can achieve the same result of AutoTools but "natively".
Not that I know off sorry, but for what it's worth the AutoNotification plugin is really worth it, you can do other things with it such as
Edit: also if you haven't seen it already check out my Frequently Used Apps project ;)
Edit: by custom icons do you mean the status bar icon?
I'm sure "Join" also by the Tasker Dev can do that. https://play.google.com/store/apps/details?id=com.joaomgcd.join
Edit: Just checked Join settings and there is an option there to automatically send clipboard to a set device.
Not really Tasker related, but I've used 'IP Webcam' :
Hi, I know this is a Tasker Subreddit, but I feel that sometimes its easier to use an app that was created for one distinct purpose and I use Folder Sync (pro) for a similar task, I use it to sync up my local music folder with one saved on my NAS (amongst other things.
It's a secure setting. In order to change secure settings you need to follow the instructions in Tasker to grant the write secure settings permission via ADB on a computer.
Once you have granted Tasker the necessary permission create a profile that triggers when your app of choice is opened (+/application/select your app of choice).
For the corresponding task you'll need +/Setting/Custom setting, set type to "Secure", name to "accessibility_display_inversion_enabled", and value to 1. Note that this exact name may vary from device to device so you may need to do a search for a similar name. I'm on a Galaxy S8.
Finally you'll want to create an exit task that sets the value of the above setting to zero.
Here's an example that triggers when Reddit is in the foreground. Import this as a profile into Tasker:
Otherwise this app allows you to put a quick-setting toggle that toggles that setting when clicked:
Should be pretty easy to do with AutoHue. As for toggling on or off, AutoHue can query the current state and then you could toggle the state.
Mi Band 2 (fitness tracker)
With Mi Band Tools it's great, custom notifications and vibrations, clicking on button can trigger Tasker tasks.
On my S7, there's a system setting called double_tab_launch_component that was originally set to com.sec.android.app.camera/com.sec.android.app.camera.Camera to provide the feature of being able to double-tap the Home button to launch the camera. I played around with setting it to other components to see whether it was actually configurable, and that did indeed turn out to be the case. I had a look through all my system settings (adb shell settings list system), but didn't find anything that looked like it might make it possible to do the same for a hold of the Power button. I don't have a Pixel XL to hand to explore much further, but maybe my little spiel will help get you in the right direction. Failing that, give Button Mapper a shot.
adb shell settings list system
Best way to get 12-hour is to use the "Variable Convert" action, specifying %TIMES as the input (time in absolute seconds) and choosing "Seconds to Long Date Time".
Then extract the time using the Variable Search action. Other options would include using a Javascrptlet to do it, or if you have <strong>AutoTools</strong> plugin there are options to get any time format you'd like.
Using just Tasker it would look like:
A1. Variable Convert: %TIMES
Function: Seconds To Long Date Time
Store Result In: %output
A2. Variable Search: %output
Store Result In: %final_time
A3. Flash: %final_time(1)
And using that method you'll get the 12-hour time along with the AM/PM suffix in the variable %final_time(1)
It just may need the screen to be woken, so try starting your Task with an Alert > Popup Action, with a 1 second timeout so it then immediately moves on with the rest of the Task.
Alert > Popup
Or try a first action using the plugin <strong>AutoInput</strong>'s "Wake/Unlock Screen" action.
The plugin <strong>AutoShare</strong> can help you set up these kinds of Tasks/solutions.
It even has a new "Text Processor" action that looks like it is very good for your application.
Starting with non-native - the plugin <strong>AutoTools</strong> Arrays action has everything you could ever want in array processing, including filtering, even by Regex, and even across multiple arrays to keep them all in sync.
Now getting back to native Tasker - there is an array search syntax that returns the numerical indexes of what you're looking for that matches in the array. The syntax is %array(#?search terms) and it supports pattern matching. So if you're looking for only array elements that have the word "apple" in them anywhere - you'd use %array(#?*apple*).
New for Tasker 5.0 is the ability to use a Regex in there as well, so you could use something like %array(#?~R[1-5][0-9]+)
The problem that comes in after that is that it only returns the numerical indexes (in the format a comma-separated string assigned to a variable, returning just 0 if nothing matches), so you'd have to loop through them and create a new array with your filtered values:
A1. Array Set: %things Values: apple pie,bananas,the big apple,grapes,apple cider Splitter: ,
A2. Variable Set: %indexes Value: %things(#?apple)
A3. Variable Split: %indexes Splitter: ,
A4. For: %num Items: %indexes()
A5. Array Push: %output Value: %things(%num) Pos: 1
A6. End For
Your %output() array will consist of: apple pie,the big apple,apple cider since they all have the word "apple" in them somewhere. And that's the general scoop with all that. If you're going to get into a lot of data processing I definitely recommend going the AutoTools route.
apple pie,the big apple,apple cider
EDIT: Made better example array initial values.
That's right, that's the tasker-only way. As an option, you can use the AutoNotification or Notification Listener plugin, too.
Yes, there's an easy solution actually. The plugin <strong>AutoTools</strong> has its "Connectivity" Action which will return all info about all nearby networks, regardless of if you're connected to one at the moment or not.
It returns in JSON format the following info for each network:
Well the easiest thing would be to use AutoNotification.
Action 1: Create the notification
Action 2: Wait "certain time"
Action 3: AutoNotification Query to check if the notification still exists.
Action 4: Perform action IF notification still exists.
If it generates a notification that contains the person's name or email address in the notification itself - then yes.
Two different ways:
1. Tasker's Notification Event Profile - this is in the newest version of Tasker under Event > UI > Notification and you can pre-specify the fields in the Profile, or, look inside the %evtprm() array in the Task to look at the sender's name/email, and play a certain sound.
Event > UI > Notification
2. You can use the plugin <strong>AutoNotification</strong> with it's "Intercept" Profile, configure it to detect only the email notifications you want, then in the linked Task play the corresponding sound.
Try <strong>Web Alert</strong>. It will run very slowly when there's so many actions but it should work.
The free version can only be set to a time trigger but the paid <strong>Web Alert XP</strong> has full Tasker integration with conditions, actions and variables :-}
When you say get text from web address, do you mean html? Minimalist Text is a good widget maker if you want to just display text.
You can try a dedicated app like swifi from the play store. It does exactly what you want and doesn't hit the battery.
BTW I'm not connected the developer in any way.
Web Alert seems really neat (along with its Tasker integration), might be another alternative to consider.
I use Sleep as Android (Play Store link). It has several failsafe settings like math puzzles and such, extensive snooze settings and the option to try to wake you up while in light sleep (within a given timeframe).
I tried integrating it with Tasker using intents a good while back, but eventually reverted back to manual operation. Haven't tested recently, but I think I read it actually has official Tasker support now!
Yes it can, using the plugin <strong>AutoInput</strong> with it's "Key Event" Profile.
There's a long list of keys it can detect that you'll find in there, and if you goto the log in the main AutoInput app (From the App Drawer) and press keys on your keyboard, it will show in the log what AutoInput sees them as.
Based on the description, this new feature will likely use the same network blocking method as Netguard, so if you can deny the connection with that app, it'll probably work with Tasker as well.
This new app was posted in the pogo sub wtihin the past day or so. I haven't tried it myself, but in theory if it works you could use the notification from that app to trigger a task.
> My work also lets me login to email via webmail so I would much rather do that but I really need notifications when an email comes in so I can then login to webmail.
So this is really the key part of what you want to do yes? Basically at the very least get your email notifications.
Two Main Options:
1. If you install Tasker on both devices, the use the plugins AutoNotification and AutoRemote from the AutoApps Suite of plugins, you can basically forward those specific email notifications from one device to the other.
2. The second option, and perhaps even better, is the new app <strong>Join</strong> which basically mirrors notifiations from one device to another, and you can configure it any way you want to, so that notifications only go from the AirWatch device to your main device. Join is likely the easier of the two solutions to implement, and you can run it on your Windows PC as well as your devices :)
You would use the Plugin <strong>AutoInput</strong> with it's Key Suppress Action, to disable the volume up/down buttons when YouTube is open, and re-enable them when YouTube is not open.
At the same time you'll have an AutoInput Profile for "Key Event" that intercepts the volume up/down key presses and link the Profile to a Task that simply sets media volume up and down. You would also add the YouTube app context to this Profile.
Will look pretty much like this:
App > YouTube
A1. Plugin > AutoInput > Modes > Key Suppress: Enable
Keys: Volume Up + Volume Down
A1. Plugin > AutoInput > Modes > Key Suppress: Disable
Keys: Volume Up + Volume Down
That takes care of disabling the default function of the keys when YouTube is open. Then this will remap them:
Event > AutoInput > Key
Keys: Select - Volume Up + Volume Down
Key Action: Key Down
App > YouTube
LINK TO TASK:
A1. If %aikeycodename ~ Volume Up
A2. Set Media Volume > Level: %VOLM+1
A3. Else If %aikeycodename ~ Volume Down
A4. Set Media Volume > Level: %VOLM-1
A5. End If
And that should do it. Note that in the second Profile the actions to set the media volumes will indeed accept the +1 or -1 directly, without using any additional Variable Set actions.
I know you're already using Tasker for this, but Habitica seems to do something similar - though I think it's more geared towards doing positive things, than subbing yourself for doing negative things.
EDIT: Which is actually probably a better way of doing things, if you're looking to reinforce behaviour. I realise that you're looking to gamify your habits, but your point modifiers should be focused on positive reinforcement, considering you already have the potential negative outcome of not getting a high/target score for the day/week/month: Don't sub points from yourself for eating a burger, give yourself points for eating a healthy alternative, or for avoiding snacks for the day, etc. If you still have the burger, you don't lose points, but you don't gain points either, and your final score will reflect that.
Guilting yourself with point subtractions is more likely to have a negative outcome on your self-esteem (and thus willpower to keep up the positive behaviours) than anything else. Depending on your personal viewpoint, you might find yourself focusing more on your failures than your successes.
As far as I know, Nova has no Tasker integration. Your best bet for this kind of automated theme switching would be Kustom; I use that in conjunction with Nova. There's a steep learning curve, though.
If you long-touch on any notification (Android L and above), it will show the app that produced it and a small (i) icon that you can tap and set to Never show.
I did that with Tasker, and it still works without any issues (note that I don't have too many profiles). The only downside is that it also hides Toast messages (but you can replace them with one of these or these)
AutoRSS is part of the AutoApps Suite subscription. It's in the alpha section.
Also the tutorial you're following is like 3 years old and is done using the worst possible method for parsing the data. I think the post starts out the OP saying how horrible his coding is. The chances that all that splitting etc. would still work with Google's formatting 3 years later is slim to none.
If you're rooted it can be done with the Secure Settings plug-in. The relevant Tasker action is then Plug-in > Secure Settings > System+ Actions > Wi-Fi Sleep Policy.
As for location, the easiest and most battery efficient way I think would be to use the "Wi-Fi Near" state as the profile trigger and specify your work network as the SSID in the options. The battery efficiency of this location method generally hinges on (1) keeping Wi-Fi off; (2) not enabling "Toggle Wi-Fi" in the Wi-Fi Near options; and (3) enabling the Wi-Fi "scanning always available" option in your system settings (wherever it might be tucked away in the menus on your particular device). This way Tasker can respond to Wi-Fi networks being near without ever having to enable Wi-Fi or perform scans of its own.
Note: If you're on Marshmallow, there's a ridiculous restriction in place where you have to enable Location for Tasker (or any app for that matter) to be able to take advantage of the Wi-Fi always scanning feature. A reasonable workaround for this is to make sure the location mode is set to "Device Only" in your system settings. Otherwise, if it's set to "Battery Saving" mode—an incredibly misleading designation—Google Play Services will constantly ping your location in the background and thus destroy your battery (disabling Google Now etc. makes no difference in this regard).
The plugin AutoSpotify from the AutoApps Suite of plugins can most likely accomplish this.
It can definitely do the search for the song and add the the result to any playlist directly. The only question is regarding the queue, as far as what happens after the song is added to the playlist, if it would also appear in the upcoming queue.
The parsing of the SMS message can easily be handled with Tasker just using some Search/Replace actions.
This plugin will simplify things considerably. It will trigger a profile at sunrise, then make the task do whatever you want for the alarm. https://play.google.com/store/apps/details?id=com.terdelle.twilight
I think you meant Unified Remote, right? Which works as a stand-alone app or as Tasker plugin. Here is a guide by the developer on how to use it with Tasker. To unlock all the features there is a paid version for 3.99$.