This app was mentioned in 164 comments, with an average of 2.08 upvotes
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.
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.
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.
It will be available in Task B in the variable name you assign in the "Return" Field of the original Perform Task Action.
Example:
TASK B: A1. Variable Set: %pet Value: dog
A2. Variable Set: %fruit Value: apple
A3. Perform Task Name: "Task A" par1: %pet par2: %fruit Return Variable: %message
A4. Flash: %message
TASK A: 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 :)
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.
[Raises Hand]
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.
> 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.
OR
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 :)
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.
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.
You can do one of two things there. You can setup any words, numbers, or phrases you'd like, and then use those after the Snackbar Action to determine what was pressed and what to do.
So right now if you specified spotify,facebook
in the Commands field - after an item is pressed %bs_command would contain the value of spotify
or facebook
. And you could do something like:
If %bs_command ~ spotify
Open Application "Spotify"
Else If %bs_command ~ facebook
Open Application "Facebook"
End if
The other option is instead of deciding in that Task what to do with the value - is to setup a Profile to pickup the Event of that Command being set. To do so just download/install the AutoApps hub.
Once you've got that you'd make a Profile:
Event>AutoApps>Snackbar>Command "facebook"
And then anytime any instance of the Snackbar plugin returns the value "facebook" the Task linked to the above Event will run. This just makes it easier to change what happens when the command is run rather than having to constantly go back into the Task that originally shows the Snackbar List and changing the logic there.
~~I don't think Android has curl included. Seems like a thing you'd need busybox for.~~
You can make web API calls. If you use AutoApps, you can get beta access to AutoWeb, which is made just for this. (And to be clear, in case you aren't familiar, these are plugins for tasker, so you do still need tasker.)
You might also be able to do this with tasker's built-in HTTP Post action.
Edit:
I stand corrected. I just fired up a terminal emulator, and curl is actually available, no root.
There's probably several solutions to check for connectivity, and I'm sure the ideas will be presented here. But as it was such a requested feature for some time, it is now included in the AutoTools plugin, from the AutoApps Suite of plugins.
And is what I use lately in any Task/Profile where I need to check for connectivity.
/u/broomlad /u/nickm_27 You can use the Pocket API along with with the new AutoWeb alpha plugin in the AutoApps Suite of plugins to integrate with Pocket's API to see at any time if there's any unread items.
All that is needed is a Profile based on Day/Time for whenever it needs to be checked. As far as creating a reminder from that information, just basically take your pick of any of the vast variety of notification types available from within Tasker and its plugins, such as AutoNotification, etc.
Haha yeah actually :D Thank you very much!
​
Download the AutoApps app, open the Donation tab and donate whichever amount you want :) Thank you very much for your support!
You can use the plugin AutoAlarm from the AutoApps Suite of plugins to do this.
You would leave the Profile trigger the same "Alarm done" and then at the start of the linked Task use AutoAlarm (which will retrieve the time of the very next alarm time to sound, even if it's a snoozed alarm) and have Tasker compare the variable(s) it generates - %minutes
or %minutesc
to your Alarm's standard snooze time.
Let's assume your Snooze is set in your Alarm app at 5 minutes. If the variable returns a value greater than 0 and less than 5 then the alarm has been snoozed, and Tasker would just stop the Task. Otherwise Tasker will proceed with the rest of the Task.
Would look like:
PROFILE: Event > Alarm Done
TASK: A1. Plugin > AutoAlarm
A2. Stop If [%minutesc > 0 AND %minutesc < 5 ]
A3. <all the rest of your Task>
Since a value of 0 means there are no future alarms set or waiting to sound, so it's "done". And a value of 5 or greater means that there is a future alarm set, but, it is beyond your snooze time, meaning the current alarm you've just snoozed is "done".
Do you have the AutoApps Hub installed?
That's the best way to manage all the AutoApps plugins. Anyways to use any of the beta you first "Sign Up" for beta testing (need a Google+ that way you can provide feedback in the beta Google+).
Once you've signed up for beta testing, the download link/button should work within an hour or two. It's just a server thing to do with the Play Store or whatever.
Welcome to Tasker!
For this yes, in most cases it's quite easy for Tasker to do this. Setting it up however can be 'not quite so easy' if you're relative new to Tasker ;)
Getting the app to open is simple though, just use the action "Launch App". Once it's open the plugin AutoInput from the AutoApps Suite of plugins can auto-click on just about anything anywhere.
It does have an 'Easy Setup' mode, so you might find it quite intuitive and have it up and running right away though.
Also if you're new to Tasker, it is great to watch all the videos in the Tasker 101 series on Youtube, watch a couple a day, in a couple weeks you'll be well versed in Tasker.
Also if you look to the right in the sidebar of this subreddit --> you'll see a whole bunch of Learning Resource Guide links as well for getting started.
> but I would rather eat a jar of nails than fall into the clutches of Java.
LOL. I hear ya. There actually is a two simple ways to do this. The first is just use Tasker's Action Display > Test Display > Resolution
and it returns to you the resolution.
If for some reason that doesn't give you the results you desire, a couple of the AutoApps Plugins: AutoInput, and AutoPhoto can return it as well.
You would use AutoInput's new Screenshot feature to capture the screen, then point AutoPhoto to that image file's path, and it will return the width and height :)
Can use the Java but as an additional option there the new AutoWeb plugin if you're subscribed to the AutoApps Suite of plugins.
It has the "Imgur API" built-in. When you set it up you login with your Imgur account and any images you upload thru Tasker using AutoWeb go right to your Imgur account.
The setup in a Task is very simple, and it returns to Tasker the direct link to the image along with a bunch of other info.
This is great!! Nice job creating this. It would be great if you can post a link to the XML for folks to download.
Also, if you have any screenshots of what it looks like when the Dialog pops up asking you for fingerprint that would be super cool.
For anyone interested in using the AutoTools alpha plugin - just download and subscribe to the AutoApps Suite of plugins to access it.
There's a few options existing for that. One would be to have Profile that uses a simple HTTP Get Action to once a day (likely at midnight) go to any web page that has that data for your area and pull that data into Tasker.
Also, in the AutoApps Suite of plugins, there's AutoWeather alpha, as well as AutoWeb API which can communicate with just about any web service with an API, like Weather Underground, etc.
So with any of them you'd just have a Profile once a day be grabbing that info, and you'd have two Time Profiles setup - one each for Sunrise and Sunset that uses variables generated by any of the above methods as your Trigger Times.
Link those to your home automation and lighting Tasks and you're set ;)
The new AutoTools alpha from the AutoApps Suite of plugins has a USB Event Profile, that can detect exactly what is connected, and return a bunch of info about that device, which is then passed to the Task whereby you can then do as you wish based on what has connected via USB.
The only question would be if it would detect your specific PC and/or if it would return details about it that differentiate it from anything else connected via USB. Only way is to try it basically.
As an example of its use, I have a specific OTG mini-usb stick that when connected AutoTools>USB detects it and then Tasker does an auto-backup of many things. Now you might be saying that Tasker already has "USB Connected >Mass Storage" but basic Tasker doesn't tell you which mass storage.
AutoTools USB returns the following info:
%atclass Device Class
%atid Device Id
%atmanufacturer Device Manufacturer
%atname Device Name
%atproductid Device Product Id
%atprotocol Device Protocol
%atserialnumber Device Serial Number
%atsubclass Device Subclass
%atvendorid Device Vendor Id
Interestingly, this is the main function of the plugin AutoPhoto, which is an alpha plugin in the AutoApps Suite.
When given an image, here is a list of variables it returns in regards to colors in the picture:
%appalettedarkmuted Palette Dark Muted Color
%appalettedarkmutedtextbody Palette Dark Muted Body Text Color
%appalettedarkmutedtexttitle Palette Dark Muted Title Text Color
%appalettedarkvibrant Palette Dark Vibrant Color
%appalettedarkvibranttextbody Palette Dark Vibrant Body Text Color
%appalettedarkvibranttexttitle Palette Dark Vibrant Title Text Color
%appalettelighmuted Palette Light Muted Color
%appalettelightmutedtextbody Palette Light Muted Body Text Color
%appalettelightmutedtexttitle Palette Light Muted Title Text Color
%appalettelightvibrant Palette Light Vibrant Color
%appalettelightvibranttextbody Palette Light Vibrant Body Text Color
%appalettelightvibranttexttitle Palette Light Vibrant Title Text Color
%appalettemuted Palette Muted Color
%appalettemutedtextbody Palette Muted Body Text Color
%appalettemutedtexttitle Palette Muted Title Text Color
%appalettevibrant Palette Vibrant Color
%appalettevibranttextbody Palette Vibrant Body Text Color
%appalettevibranttexttitle Palette Vibrant Title Text Color
%appixelcolor Color at Pixel
And a lot more variables such as height/width, GPS data, etc.
The plugin "AutoContacts" from the AutoApps Suite of plugins, can query your Contacts and return to Tasker just about whatever information you'd like about that specific contact, then text it back to you.
So your Profile would look like:
Event > Received Text <add any constrains/filters here>
LINK TO TASK: A1. Variable Set: %sender_num To: %SMSRN
A2. Variable: %incoming_msg To :%SMSRB
A3. <Do whatever here to get the contact name to query, etc. from %incoming_msg and return it to %contact_name>
A4. Plugin > AutoContact > Name: %contact_name
A5. Send SMS: %sender_num Message: <variables returned by AutoContacts>
As far as A3, it will depend on what format you want the message to be in order to trigger this Profile and how you're going to put the contact's name in the original text message, etc and in A3 likely use a 'Variable Split' or 'Variable Search/Match/Replace' to get the info out of that incoming text.
Yes, as long as you have the <strong>AutoApps</strong> hub installed, in Tasker you'll see an Event for plugin "AutoApps", and it should accept all AutoApps plugins commands.
Unless there's something very unique to one of the other Event plugins, this should cover it all. It also contains some neat new features regarding variable naming and a bunch of stuff.
Yet another cool feature is it adds a Tasker Action to send an AutoApps Command. So rather than have to use a "Perform Task" and deal with %par1/%par2 for something you already have functioning via an AutoApps Profile - just send the command!
Because AutoTools is one of many many AutoApps, they're all managed now via the <strong>AutoApps Hub</strong>. That's a completely free download that lets you install/purchase/etc any of the AutoApps, and shows them to you organized by category, etc.
Secure Settings is basically 'abandondware' at this point. Last update to it was January 2015. You may find some usefulness in it though, but with each version of Android it has become more outdated.
AutoTools is an excellent add-on to Tasker and I recommend it highly. All of it's system/secure related functions are up to date, and you can even see some additional details here
You can accomplish all this with the screen off/locked by using AutoSpotify which is one of the alpha app from the JoaoApps series.
As it is an alpha app you'll need the monthly subscription to access it. (it's like $1/month) and you can see it listed in the alpha section of the <strong>AutoApps Hub</strong>
The Tasker plugin AutoSpotify can do this very easily in Tasker. As it's an alpha app, you can get it if you're subscribed to the AutoApps Suite of plugins. It works very well.
As far as in native Tasker, there may be an Intent somewhere to add a song to a playlist, perhaps someone can chime in with more information on that.
Joaomgd please correct me if you see something wrong.
Im going to take a stab at answering the "why do you have to buy so many apps" question.
If you had been following tasker since the beginning I think it makes more sense.
It started with tasker and kind of grew from there. The amount of work that went into this is not small. As it was growing it felt like there was so many ways for it to go, some things some people wanted, some things others would use. Most of this, you can do with only tasker, BUT the work it would take to do so is a TON more.
So as the ecosystem was growing its hard to some up with a fair way to get paid for your work and not over charge or charge for things people wont use. There is a subscription based "autoapps" so you can try all of them out. https://play.google.com/store/apps/details?id=com.joaomgcd.autoappshub
They work REALLY well, and you also get AMAZING response from the developer. Typically when I ask a question I end up getting a response from him within a short amount of time. By then normally others have helped me nail it down, but that kind of response is hard to find. If you buy every app he has done, I think its up to about $50 now, but at the same time, these arent just games, though they are just as fun to play with.
I understand for those that havent been following autoapps the entire time how it looks, but I promise he isnt just trying to separate and sell as many seperate apps as he can. Any questions Ill happily answer the best I can. I am not affiliated with joao in any way, just trying to help answer where I can.
Also as an addendum to my other reply - you can now use the main <strong>AutoApps Hub</strong> plugin's Profile to handle any incoming AutoApps messages, including from AutoRemote, AutoNotification, etc.
It's free to download if you don't have it, and it is what's referred to in the Guide I linked to. There is an improved syntax you can now use on both the IFTTT side and on the Tasker side:
Using this image as an example of the 'older way' things were done, the newer way would be to have IFTTT send the message:
message=IFTTT_WeatherUpdate=:={{CurentTempFahrenheit}}=:={{Humidity}}=:={{SunsetAt}}
As you can see - all data/information (that will each become individual variables in Tasker) can now be separated by the three characters =:=
And the Profile that would be used now instead of previously Event > Plugin > AutoRemote
you can now use:
Event > Plugin > AutoApps Message Filter: IFTTT_WeatherUpdate Variables: temperature,humidity,sunset_time
And in the linked Task you will immediately have variables named %temperature
as well as %humidity
and %sunset_time
. Note that in the Profile configuration you do not include the %
percent symbol. Just the text names of the variables you want, and the plugin/Tasker will add the percentage prefixes for you.
Then just use your variables in your Task!!
There may be a way to do this using the AutoWeb alpha plugin, as it has integration for the Gmail API. (AutoWeb is part of the <strong>AutoApps</strong> set of plugins).
In looking at the existing set of listed Actions there for the Gmail API currently don't see a 'mark as read', but perhaps /u/joaomgcd can shed some more light on if that's an available API action :)
This is a great Intent, since the minimum "Repeat" setting in a Profile is 2 minutes. Alternatively a Task could be looped with a Wait Action of 1 minutes (or even 30 seconds or less) to update the time.
For a Scene /u/hensleyj6 you would use a Text Element to display the time, and in the Task linked to the Profile described above (or a looping Task) you would use the Scene > Element Text
Action to update the text in the Text Element with the new time.
As %TIME contains the time in 24hr format with a period hh.mm
you may want to have some additional Actions that get the current time in a different format, including using AM/PM etc.
There's a few ways to do this. The easiest ones being <strong>this Task</strong> from the Tasker Wiki, or - use the plugin AutoTools beta and its "Time" Action from the <strong>AutoApps Suite</strong> of plugins.
General Profile/Task outline would look like:
PROFILE: Event > Intent Received: android.intent.action.TIME_TICK
LINK TO TASK: A1. AutoTools Plugin > Time > Format Date
A2. Variable Set: %newtime To: %atformatteddate
A3. Scene > Element Text Element: <your text element ID> Value: %newtime
AutoMail from the AutoApps Suite of plugins works very well with Gmail.
Also you can use the Tasker / AutoRemote combination with IFTTT to have IFTTT do the sending for you. And that will support as many different mail severs/services as exist in IFTTT.
May want to make further what you mean by "Bubbles". Do you mean static Bubbles? Or draggable/moveable Bubbles? Do you have any examples/screenshots you can point to?
The plugin *AutoBubbles that is in alpha an part of the AutoApps Suite of plugins, can create as many floating/moveable Bubbles as you'd like.
The Material Design plugin can create multiple FAB buttons, but at the moment they are configurable as left/right sides of the screen, however at differing heights. Will ask Nick about adding an 'x' offset though.
Yes, in fact a plugin exists for this very purpose. It is AutoLaunch from the AutoApps Suite of plugins, and it does exactly this - launch an app based on its name or package name, that is either manually input or in a Tasker Variable, etc.
Actually this would be possible. To take it step by step:
1. For the phone to recognize it's being prompted to fill out credit card fields on a website, you'd need to use a plugin such as AutoInput to recognize certain text on the screen when the web browser is the active application.
2. This would be easy as Tasker has lots of options for simple yes/no, including built-in as well as in plugins, such as Snackbar or AutoTools.
3. For the fingerprint the plugin AutoTools just mentioned above has fingerprint integration for Tasker for devices running Android M. To get AutoTools you just need to be subscribed to the AutoApps Suite of plugins. Also the encryption feature in AutoTools will protect all your credit card info.
4. As far as "auto-filling" the fields, that is where it get tricky, as Tasker itself and plugins like AutoInput don't integrate well with most mobile browsers due to security features of the browsers. Chrome being the worst. What you can do is use Tasker to set the clipboard to those values and you can paste them in, or have AutoInput paste them in with a sequence, etc.
To download the "AutoApps Command System" just install the AutoApps Hub.
Then when you create a Tasker Event Profile you'll see "AutoApps" as one of the options under "Plugins". There you can enter the command you want the Profile to 'watch' for, and you'd enter that same command during your FAB creation, so that when you press the FAB it sends out the command, and the Profile receives it.
More details about the entire "AutoApps Command System" can be found here. To make an easy example though, setup your FAB with a command of "testing".
Then in the AutoApps Event Profile enter "testing" in the Command field and check on Regex. Link it to any Task you want. Then when the FAB is showing and you press it, your Task should run.
Yes. First - once you have the image path/name, you have to get it's actual dimensions, which you can do with the AutoPhoto plugin from the AutoApps Suite of plugins.
There's also a way to get it using Java in Tasker I think, you may have to search here in /r/Tasker to find that method.
Anyways you'd then scale those numbers to a size that will fit how you want it in the Scene, and then use the action Scene > Element Size
to resize the image element you're loading it into.
So if the image in your folder is say 600w x 800h and you know in your Scene you don't want it to be any wider than 200w across, you'd do something like:
A1. Variable Set: %imagepath To: /path/to/image.jpeg
A2. Plugin > AutoPhoto > Image: %imagepath
A3. Variable Set: %ratio To: 200/%apimagewidth Do Maths: On
A4. Variable Set: %width To: round(%apimagewidth * %ratio) Do Maths: On
A5. Variable Set: %height To: round(%apimageheight * %ratio) Do Maths: On
A6. Scene Element Size: <image element id> Width: %width Height: %height
A7. Scene Element Image: <image element id> Image: %imagepath
Note you'd run these Action after the Scene has been created or is showing, since you can change element parameters in a Scene that doesn't yet exist ;)
Well the simplest way would be to use the plugin AutoWeb if you're subscribed to the AutoApps Suite of plugins, which is well worth it.
AutoWeb has built-in API integration for Imgur, so it uploads the file and returns to you Tasker the link. You can then have Tasker take the link and using Join's plugin inside Tasker - push the link out to whatever device(s) you want.
The second easiest way would be to use the actual Imgur app or Opengur app along with the AutoInput plugin to simulate the clicks you'd need in those apps to get the image uploaded, and then use AutoNotification to grab the link from the notification that is generated when the upload completes, and then send it through Join.
This was the main method before AutoWeb was released. Here is an outline/tutorial of this method.
Lastly you can try and use Java(script) to integrate directly with the Imgur API. There's some threads here in /r/Tasker on this if you search, and folks have had varying results with it doing it that way.
Very welcome. In implementing it note that - it returns the results in an array.
Do have an AutoTools installed (from the AutoApps Suite of plugins)?
If so it can make naming out all the variables much easier and all in one action (i.e. if you have 8 input fields and want 8 individually named variables) it's a time/action saver.
What type of hash? And by what Tasker Action(s) would you have Tasker then "un-hash" it? The point of hash is that it can't be unhashed lol. Unless we're talking about encryption with a key.
Speaking of which - the AutoTools plugin from the AutoApps Suite of plugins has an Encrypt and De-Crypt function in its Text Action. I would suggest using this to store the passwords encrypted.
If you're familiar with working with API's and their related requirements (access Tokens, etc.) he AutoWeb plugin from the AutoApps Suite of plugins is designed specifically to integrate Tasker with API's.
Since they're two totally separate types of triggers, that would be an "OR" type situation, it's better to just have them in two Profiles with two simple Tasks.
Because if you wanted to put all the logic in one Task, you'd still need more than one Task connected to two Profiles to track the status of each type of connection, as there's no default variable/query in a Task action to find if the headphones are plugged in, or which BT device is connected.
Exception being with the plugin AutoTools from the AutoApps Suite of plugins, where it can query for any Bluetooth devices paired/connected.
There are of course Java(Script) methods to do this, but there's an entire plugin dedicated to Reading (and Writing) JSON so that it is incredible simple to specify which JSON fields to grab, as well as to grab an entire array or single value, filter values, sort values, etc.
And that plugin is AutoTools, if you're subscribed to the AutoApps Suite of plugins, with it's "JSON Read" Action.
You could input the URL to some JSON (or a local variable that contains JSON) and have it retrieve say only fields that end in "first_name", "last_name", and "age" where "age" is greater than 20.
And you'd get arrays %first_name(), last_name(), and age(). Pretty amazing how simple it makes it. And as long as those field names are unique in the JSON, you don't even need to know the paths. (or if you want to use the full paths you can as well). It can also find for you all the paths to a specific field name.
Check it out!
> If a post has 30 comments or more, send a push notification
Send a push notification to...where? You mean just create a regular notification in the Status Bar?
> Keep in mind I have no computer science knowledge, let along Javascript knowledge so.
Well what you're talking about doing definitely requires some knowledget of data structure and data handling, but might not be too difficult if you use the AutoTools plugin from the AutoApps Suite of plugins.
It has a JSON Read feature which makes it real easy to pull data from any site that generates json, which reddit does for every subreddit and even individual posts.
Using that it would be fairly straightforward to make a Profile that checks every hour in a subreddit for any threads with 30+ comments.
If there is one, Tasker creates a notification for it, and also logs that thread's ID in a Global Variable or Text File, so that the next time it checks, it only creates a new notification if the number of comments has changed.
So if you're willing to use AutoTools along with also AutoNotification, could probably make the Task in less than 8-10 Actions. (Basically just subscribe the AutoApps Suite and you get every AutoApps plugin, including those.)
Do you use Spotify? You can go directly to any playlist with Tasker's "Send Intent" Action:
Send Intent
Action android.intent.action.VIEW
Data spotify:user:<your username>:playlist:<playlist uri>
Target: Activity
And the just replace the items in brackets with your username and the playlist uri (which you can get from using the browser based version of Spotify, it appears at the end of the URL).
So an example would be:
spotify:user:bobjames77:playlist:1kiUQj2SZq4OvVeEeC4RGr
That will open the playlist, then you can use plugin AutoInput to start playing from the first song, or start Spotify in shuffle play.
Another option with Spotify is to use the AutoSpotify alpha plugin from the AutoApps Suite of plugins, as it has a ton of direct controls for Spotify through its API, and Spotify doesn't even need to be open.
I think the AutoApps Hub, along with its command system, is a free download.
From the Hub of course you can of course install all kinds of AutoApps plugins, but I'm fairly certain just installing the hub will show you the AutoApps plugin for setting up Tasker Profiles.
Also, if you're looking for really advanced array handling functions that are just incredible, the AutoTools alpha plugin from AutoApps Suite has an "Arrays" function section that covers every base, from Sort to Merge and beyond.
SOLUTION
Firstly is definitely not a noob quesiton, is something that one would think would be easy but the solution is kind of a crafty workaround.
So answer to #1 - Use the plugin AutoInput from the AutoApps Suite of plugins, and run AutoInput>UI Query. It will return a bunch of variables, one of which is %aiapp
that contains the name of the app in the foreground. Use that to check if it's the app you want.
Answer to #2 - Once you've gotten the result above, to check if it's running in the background use the KC Tasker Process Running plugin. It will return a variable of true/false whether the app you want is running in the background.
Answer to #3 - You can use Tasker's "Launch App" Action, or the plugin AutoLaunch to launch it.
And that should do it!
(Note: If you want to use a Tasker variable that contains the name of the app, that may constantly change, you can do so for all steps except #2, since it looks like the KC plugin doesn't accept a variable for it's query of whether that app name is running).
The best way to do this, as it involves enabling sharing on the file after it's upload and returning the link to you/Tasker, is to use the new AutoWeb alpha plugin from the AutoApps Suite.
It has API integration for both Google Drive and Dropbox. I use the Dropbox one constantly. Basically it allows Tasker to choose a file, (or you can choose it manually) and then it can automatically upload the file to Dropbox, enable sharing it, and then return to you the link.
I haven't fully tested the Drive API yet but I'm fairly certain it will do the same thing. When the link gets returned to Tasker, you can use Tasker's "Send SMS" Action to send the file link to whomever you'd like.
You'll just need to know where your camera puts the files, and have Tasker designate that filename as the one to upload.
Here's an example video of how insanely fast the Dropbox API works :) in that video the Dropbox file link displayed at the end of the process is with sharing already enabled, placed into the Clipboard by Tasker, ready to paste anywhere, or send in an SMS or email etc.
Also if you're using the Task itself to set the vol to max just do this:
Media Volume Set > 15
Wait: 2 Seconds
If %VOLM !~ 15
AutoInput > Click > Text: OK
End If
Just need the plugin AutoInput from the AutoApps Suite of plugins.
Yeah. The Tasker app itself hasn't gained much functionality lately, but the void has been filled by a number of great plugins.
Check out AutoApps for some great plugins by /u/joaomgcd. He created both plugins that I had previously linked you to.
There is actually a great new solution for this, contained in the AutoTools alpha plugin from the AutoApps Suite of plugins.
It contains the AutoTools > SSH [pic] Action, and all the fields will accept Tasker variables including the Command field.
The best deal with the AutoApps is to just subscribe to the AutoApps Suite for about a dollar a month.
You get like 3 dozen plugins including all the full versions, plus anything that's in alpha, which are pretty extensive.
Will have to look into the Profile aspect..
If you're using the AutoApps, and are subscribed to the AutoApps Suite of plugins, the new AutoWeb API alpha plugin has integration already setup for Google Sheets.
The HTTP Get method described in this thread by /u/the_merchant96 is also a quick and easy method it looks like.
Yes there's two options. The new AutoTools alpha plugin from AutoApps has the ability to query nearby networks and returned very detailed information about each, then choose which to connect to.
The other one is plugin WiFi Connect For Tasker.
Well then that could indeed be an issue ;)
A suggestion that could work well, if you're subscribed to the AutoApps Suite of plugins, the AutoTools alpha has an Event Profile trigger for USB connect, and returns a list of variables containing every bit of info about what is connected, including "device class" etc. that can be utilized in the linked Task.
The information is readily available in pure text JSON format by adding /.json
after the subreddit name. So the link in this case would be:
https://www.reddit.com/r/jokes/.json
And then you just need a method to read the specific fields/data to Tasker.
You can go the hardest route and use Variable Splits and Search/Match/Replace Actions, or the easier route and use the new AutoTools alpha plugin from the AutoApps Suite of plugins that has a simple JSON Read Action.
Along the same lines, you can run a JavaScriptlet Action to parse the values out you need from the /r/jokes JSON. A Google Search for "Javascript JSON parse" will give you some details on the Javascript to use.
Ahh, that could indeed be a limitation in the lite version.
If you're subscribed to the AutoApps Suite of plugins, you can get every plugin (including alphas and beta) for about a dollar a month. It's like 3 dozen plugins. Well worth it :)
Media Utilities works well with some media apps/players, and less so with others, especially as newer versions of Android OS and the player apps update. Tasker's own %MTRACK
has many limitations as well, which are listed in the variables page.
Rather than going into that, to deal specifically with the issue of Spotify, the new AutoSpotify alpha plugin from the AutoApps Suite of plugins has this functionality and dozens of times more functionality of Spotify's own app.
YES This can easily be done with plugin AutoInput from the AutoApps Suite of plugins.
It will be easiest if your folder is named, but even if it isn't named you can use its x/y coordinates on the screen. Basically AutoInput can 'click' anywhere on the screen (in most cases) just as you would manually.
So assuming your folder is named "Stuff" it's just a one Action Task:
A1. Plugin > AutoInput > Click > Text "Stuff"
<OR>
A1. Plugin > AutoInput > Click > Point > X/Y Coord: 450,250
Whereby of course in the second option you'd adjust those numbers to the actual coordinates of the folder on your homescreen.
The only other part besides creating the Task is once it's created, go into Zooper and in the "Action On Tap" choose Tasker, and select that Task.
Also if you're new to Tasker, it is great to watch all the videos in the Tasker 101 series on Youtube, watch a couple a day, in a couple weeks you'll be well versed in Tasker.
Also if you look to the right in the sidebar of this subreddit --> you'll see a whole bunch of Learning Resource Guide links as well for getting started.
It's still in Alpha stages but if you want to give it a try get the AutoApps app and check the "Alpha" tab in the app. Keep in mind that alpha apps are perks for my subscribers and are not available for everyone. More info here
I think most replies here explain them, and you can download the <strong>"AutoApps Hub"</strong> to basically manage them all in once place.
The Hub offers a subscription option (monthly/yearly) to get access to ALL the AutoApps on that basis, and it definitely makes it more affordable, and supports Joao (the developer) as well.
AutoInput is a plugin for Tasker. It is a paid plugin available either on its own, or by getting an annual AutoApps subscription which includes access to all Tasker "AutoApps" plugins, which include plugins such as "AutoTools", "AutoInput", "AutoNotification", etc.
Go to "AutoApps" on the Play Store and you'll find that this is the 'Hub' application from which you can manage all your AutoApps plugins, as well as purchase any of those plugins either individually or by subscription.
To buy the AutoApp suite of plug-ins, install AutoApps Hub, it's where João makes it easier to access all his plugins and purchase them. AutoApps also acts as the unlocker app for IAP's.
AutoTools is a plugin for Tasker. It is a paid plugin available either on its own, or by getting an annual AutoApps subscription which includes access to all Tasker plugins.
Go to "AutoApps" on the Play Store and you'll find that this is the 'Hub' application from which you can manage all your plugins, as well as purchase any plugins either individually or by subscription.
I actually almost did that but then I realized that on Google Play it would say "Contains in-app purchases" which would give the idea that the app was incomplete and that you would have to unlock more stuff inside it to use it.
That wouldn't look very good unfortunately.... :(
You can always get AutoApps though and use the donation options there!
/u/Chamarazan
You need the free AutoApps Hub plug-in. This gives you both an event to react to AutoApps commands and an action to send them from any task.
The <strong>AutoApps Hub</strong> is the main way to acquire/purchase the AutoApps now. Can you download/install that? If so you should be able to then download AutoTools. I think anyhow ;)
Download AutoApps and start from there. They're a select bunch of plug-ins created by u/joaomgcd who has taken the reins as Tasker developer. He's a great dude and the AutoApps plug-ins have been solid forever, I use the ones that are colored in. I also use Secure Settings. Do a little research, there's great developers out there.
Where does it shorten the names of Tasks?
Once/after you've paid to unlock it, for example through the AutoApps Hub, it's the exact same app as if it said just "AutoRemote".
What's wrong with creating a listener Profile? Just put the Task name you want in the Command assigned to the tile. So you have a Task named "My Test Task":
TILE ON CLICK COMMAND:
LaunchTask=:=My Test Task
Then create the Profile to process anything that starts with "LaunchTask":
LISTENER PROFILE:
Event > AutoApps > Command Command Filter: LaunchTask=:=
LINKED TASK: A1. Perform Task > Task Name: %aacomm
And that's it! Just make sure you have the main <strong>AutoApps Hub</strong> installed to process commands. (it's a free download).
Here is a simple example:
FlashMessage=:=Hello World
then Save/Exit the Task. You will run this Task later to create the Bubble.
Event > Plugin > AutoApps Command
and in the Command Filter put FlashMessage=:=
then Save/Exit the configure screen. Also make sure you are using (and have installed) the <strong>AutoApps Hub</strong> since it has the latest version of the Command System included as part of it.
A1. Flash: %aacomm
So in regards to those steps, or how to adapt them - which part is confusing you?
As a general note about the above - in the Command Profile - the %aacomm variable always contains whatever text is after the =:=
in the received command.
I'm not sure it's gettable or broadcast anywhere. An exception is if you wanna use the plugin "AutoSpotify". It's one of the Alpha app in the AutoApps Suite of plugins.
As it's an alpha you'll need the subscription. If you currently have one - definitely download it, it covers pretty much everything Spotify related.
For the beta apps, if the plugin has yet to be released in a full version for sale, you can download it for free. The only thing you have to do is join the G+ group so you can give feedback on the beta, if you want.
Also as of about a month or so ago - you can now own the full version of any of the AutoApps completely for free, if you watch an advertisement at some interval. Basically an ad revenue supported way of owning each plugin. (or to try one out for an extended period the current full versions of the ones you're sort of thinking about owning/buying).
So with these options you have a ton of choices of ways to get all the AutoApps:
Buy each individually, or just certain ones.
Subscribe to the AutoApps suite (you get all the plugins, and alpha versions access too)
Download any of the beta versions for free if they're new plugins.
Own each individually for free by utilizing the ad-supported feature.
I think with all those options anyone can mix and match to meet their needs!
There is a plugin from the AutoApps suite named "AutoPhoto". It's main purpose is to return metadata from an image. Here is a list of all the variables/data it gives you from a specified photo. Seems like many!
Note as it is an alpha app, you'll need to be subscribed to the <strong>AutoApps</strong> Suite of plugins. For like $1 a month you get all the AutoApps plugins, including alpha versions like AutoPhoto.
I don't know about Automate, but I know Tasker has a plugin called Autoapps which has an AutoSpotify plugin. You could use that to at the very least save the track to a playlist and later save the tracks yourself. You may be able to just save the track straightaway though.
Checked it out and yes it's coming back empty. Tried a few other things like %uri etc but still doesn't return anything.
Also since %id
isn't a valid Tasker varname (as it's only got 2 letters instead of 3) usually Tasker will prefix %var_
to it, but trying to use %var_id
doesn't work either.
What does work is using the plugin AutoSpotify from the AutoApps Suite of plugins. As AutoSpotify is an alpha app you've got to be subscribed to the Suite to access it. (well worth the $1/mo since you get every single AutoApps plugin included).
Anyways when using the AutoSpotify > PlayerState
Action, it returns the URI correctly in %astrackuri
.
Hmm...you may have to open the link from the Play Store on your device. As it's a beta app it's free but you gotta just gotta sign up for the beta.
You can find all the links / info etc in the main AutoApps Hub as well.
AutoSpotify is still there, and works great. It's an alpha app in the <strong>AutoApps</strong> Suite of plugins though.
You've got to be a subscriber to access the alpha apps. (It's like a dollar month) for access to the full versions of every AutoApps plugin along with the alpha's.
> waits 2 seconds, then starts playing..
Starts playing....how exactly? Are you using an Intent, or AutoInput, or something else?
The method will determine if the action will run correctly with screen off or locked.
Also, you should take a look into the AutoSpotify alpha plugin from the AutoApps Suite of plugins, since it interfaces directly with the Spotify API and doesn't depend on the official Spotify app to be running or not
Download the AutoApps app. Then go to the alpha section and it should be there. You need to be subscribed though to access it.
There's a long list of Actions under the "Scene" category, of which I'm sure you've seen "Element Image", etc. and is likely what you're using to set the images? Along with actions for element sizing etc.
To get the dimensions of the image into Tasker before/after you load it into the Scene/Element to adjust the element's size or ratio - you'll need to use a plugin like AutoPhoto (alpha) from the AutoApps Suite of plugins. (I think there's also a method using Java that was posted on here a while back as well.)
It will return height/width/etc and you can use that in Tasker variables in those Scene actions to properly adjust the image element. There will likely be some maths involved if you're going to be dealing with ratio's, and while Tasker is easily capable of doing it, you'll need to have or figure out the equations to do what you want.
Actually not exactly, because Tasker can use encryption/decryption, such as that included with AutoTools Text from the AutoApps Suite of plugins.
So the credit card info would never be stored in plain text anywhere on the device. The password would, but Tasker would need to be opened and run and a Task setup just to decode it, and since Tasker can be password protected, it'd be fairly secure overall.
I think I may have a potential solution. It'll cost you a dollar to try it though, but you'll also get a month's worth of awesome plugins :)
Are you currently subscribed to the AutoApps Suite of plugins? You basically get them all for about a dollar a month, including the alpha plugins..
One of which is AutoTools that has its "Regex" action. That action takes a URL as it's input and also has a "use javascript" checkbox so it could potentially grab the proper page code, as well as return the name of that image, all in one Action!
Basically it happens to always keep the text input field in focus / in view. There's some other options to take input using plugins, such as the AutoTools plugin from the AutoApps Suite, as well as the <strong>SnackBar</strong> plugin with its Bottom Sheet feature that can take input.
There's a bunch of plugins that are only available when you subscribe to the AutoApps Suite of plugins. If you download/install the hub at that link, you'll see the additional plugins listed in the alpha section.
As far as signing in to Imgur, you have to have some type of Imgur account for it to work, even if you create one solely for using with AutoWeb. The plugin itself takes care of the 'signing in' part.
Very welcome! That should do the trick, and for even more advanced regex searches (where you can prename variables in capturing groups, etc.) there is also the plugin AutoTools with it's Regex action from the AutoApps Suite of plugins.
Yes, the plugin AutoInput from the AutoApps Suite of plugins, has features to detect screen content from specific apps, through both its "UI Query" Task Action as well as its "UI Update" and "UI Action" Profile Events.
There are many here who can guide (or try and guide) you to retrieving the information using Javascript etc for parsing the JSON, but there is a plugin named AutoTools from the AutoApps Suite of plugins, and that's the only thing I've been using these days for reading JSON into Tasker.
Just give it the url, the names of the fields you want it to return in Tasker variables (often don't even need to know the full path to the fields) and AutoTools populates all the Tasker variables for you :)
That's not an Intent in the sense you'd be using Tasker's "Send Intent" Action.
What you linked to is part of the actual Spotify API. So you'd be best off using AutoSpotify, or AutoWeb which has the Spotify API integration. Both are part of the AutoApps Suite of plugins.
The slickest and most current tool for doing this with Tasker is the AutoTools plugin from the AutoApps Suite of plugins. It has a JSON parser that also accepts XML as the input.
The setup is as simple as just specifying the field names you want to pull out and the data gets put right into Tasker variables.
Another solution is to use a Javascriptlet Action and use Javascript to parse it.
Of course there's the ole' Variable Split along with Variable Search to pull the parts of the data you need and then split them up, etc.
Yes, one of two ways:
Also if you're new to Tasker, it is great to watch all the videos in the Tasker 101 series on Youtube, watch a couple a day, in a couple weeks you'll be well versed in Tasker.
Also if you look to the right in the sidebar of this subreddit --> you'll see a whole bunch of Learning Resource Guide links as well for getting started.
The First Method - You can make a separate Profile that triggers whenever the car stereo connects via Bluetooth, and set a variable the other Profile will look for:
PROFILE State > BT Connected (you car stereo)
ENTER TASK: A1. Variable Set: %CarConnect To: 1
EXIT TASK A1. Variable Set: %CarConnect To: 0
The you'd just add that variable as a condition/context to the Phone Ringing Profile. So that Profile would become:
Event > Phone Ringing + State > Variable Value: %CarConnect = 1
The Second Method - Is to use the AutoTools alpha plugin from the AutoApps Suite of plugins, as it contains an Action to run inside a Task that can Query the device for what bluetooth device(s) are connected. In which case you wouldn't need any of the new/modified Profiles above, you would just add this Bluetooth Query at the start of the Task and only proceed if the car stereo is connected.
Yes!
The plugin AutoBubbles alpha from the AutoApps Suite of plugins does exactly this.
Basically you choose your icon/image for the bubble, the size you'd like it to be, as well as commands for Tap, Double Tap, and Long Tap. It can be placed and moved around on the display anywhere you'd like it. I have at least one that's always somewhere :)
If you're subscribed to the AutoApps Suite of plugins, you have access to all the full versions of every AutoApps plugin, along with all those in alpha development. Access to like 36 plugins, well worth it :)
Well referencing Spotify specifically, the "AutoSpotify" alpha plugin from the AutoApps Suite of plugins, can get any piece of info about anything going on in Spotify - and put it straight into Tasker :)
The AutoApps Calendar plugin makes this a snap, but it's still in alpha, so you have to pay money for it at this time.
Here's an example for 2 hours before work, which is how I do it:
Profile: Work Alarm (17) Time: 00:00 Enter: Anon (18) A1: AutoCalendar Query Events [ Configuration:Search: work Number Of Days: 1 Package:com.joaomgcd.autocalendar Name:AutoCalendar Query Events Timeout (Seconds):20 ] A2: Set Alarm [ Hours:%aceventhour-2 Minutes:%aceventminute Message:time for work Confirm:On ]
If you're subscribed to the AutoApps Suite of plugins, you can use the new AutoTools API to interface with just about any API, as well as AutoTools JSON Read and Write to easily work with JSON.
There are a whole bunch of API's already setup to import and use in Tasker, with more being added daily/weekly. They can also be shared among users. Here's a pic of the import screen.
Scenes can't overlay the notification bar, on a stock device anyways.
The only thing I've seen from Tasker that can block the Status Bar is the 'Gestures Mode' overlay in AutoInput plugin. That just places an invisible cover over the screen to accept swipe gestures, and it blocks access to everything, including the status bar.
Doesn't enable Scenes to do anything up there though, but worth noting ;)
EDIT: Waiitt a second :) You want something that will block the screen / status bar from allowing you to dismiss your alarm?? Then the above AutoInput solution WILL do it. It will block access to the entire screen (status bar, power dialog menu, everything) and then you can go scan your NFC tag ;))
I'm not sure if you are planning on using your PC for Home Automation but if so, I would say don't and instead reserve Tasker for portable automation and use Node-Red on your Rasberry Pi for automation in the home
On a side note and regarding Tasker in the early days, I would say Tasker really starts to open up with the use of plugins so if anyone has yet to do so, they may like to explore some of the project examples in this subs sidebar and upon finding something that they would like to try, grab the relevant required plugin - which invariably is often from the same developer as Tasker in his life-changing suite called AutoApps. Regarding those, I would look at some projects you can follow here which will give you a tiny tiny flavour as to what one can do with Tasker.
Also, they may find this list of plug-in links useful or even the original one from Taskers wiki found here.
Regarding Home Automation, there's a few things to bear in mind. When it comes to purchasing smart devices, it's important to ideally only stick to things with an open API (or that are big enough that they will always have relationships with services like IFTTT or Google Home) - neither of which I use as prefer to stick to anything that doesn't require a cloud so as to minimise outages and data miss-use. You could then use a local MQTT like Mosquitto which I find preferable.
Stuff to explore:
Xiaomi/Yeelight devices are popular.
For light switches, I would recommend the Shelley relays
You can also flash Tasmota onto most of the cheap Chinese WiFi devices that use a ESP8266 such as Sonoff, allowing for MQTT support.
The TP-Link HS100 smart plug was a popular choice.
(If anyone ever ends up down the easier but less preferable route of IFTTT/Google Home route, then I would look for any products that are capable of using the Tuya/Smart Life as they are behind the standard. You can then link Tasker to IFTTT using something like AutoRemote, Join by joaoapps or cUrl.)
For those that haven't seen it, there's a handy guide for AutoRemote here or even better, one for Join. here Or, amongst others such as HTTP, you could go down the direct cURL route. There's some help about setting this up over here.
There's a lovely chap on here called Mat who has very similar taste to me so it would definitely be a good idea to check out some of his guides on his site NotEnoughTech.
Worth noting, if you are going to start building a smart home and as mentioned above, you may want to instead use Node-Red (or Home Assistant) on a SBC like a Raspberry Pi and then save your device for non home automation tasks and save your PC for heavy operations via Eventghost. (I remember the days of AutoHotKey which I still even use.)
To conclude, I would aim to use Node-Red for home automation and Tasker for other stuff then work your way down their respective routes. You'll then have a Node-Red for your curtains, cctv, kettle, movement sensing, power control, coffee machine, room detection, doorbell, temperature/humidity, soil management, oven, fire detection, voice assistant, lighting, AV control plus a zillion other uses. Once you have everything running from Node-Red, you may find less need for EventGhost apart from occasion tab/data management, voice controlling your PC and updating your RainMeter, etc.
Feel free to mention a daily thing you do in the sub and I'm sure we can come up with ideas if there are no solutions already online. Come to think of it, that's probably a good idea for a subreddit or megathread or something!
Hope that helps dude.
Looks cool!
Did you use a plugin to create that, like AutoTools > Dialog? Or did you create that in the standard Tasker Scene editor?
The Scene Editor can be a little finicky at times to work with, so if you're into creating UI elements such as this, there's some really great plugins around lately:
Definitely worth checking 'em out :)
Absolutely possible. However if you're a novice with Tasker you'll need to learn a whole bunch of fundamentals first.
One way would be to use the plugin AutoRemote with IFTTT to access your spreadsheet. More info here.
Another way would be to use the Google Sheets API through the new AutoTools alpha in the AutoApps Suite of plugins.
For the widget display, you'd likely use Zooper Widget (there are other options as well but since I've used Zooper the most I mention it first) and here's some general info on that.
Lastly, you may just be able to use IFTTT's app to get the data, but that would bypass using any of Tasker's capabilities.
If you're new to Tasker, it is great to watch all the videos in the Tasker 101 series on Youtube, watch a couple a day, in a couple weeks you'll be well versed in Tasker.
Also if you look to the right in the sidebar of this subreddit --> you'll see a whole bunch of Learning Resource Guide links as well for getting started.
The plugin AutoSpotify from the <strong>AutoApps Suite</strong> of plugins can access just about every single feature of the Spotify API in a Tasker plugin format.
As it's one of the AutoApps alpha apps, you need to have an AutoApps subscription, but for like a dollar a month you get the full version of every plugin made there.
There's a long list of overall Actions in the Autospotify plugin, along with many detailed configuration options within each one. Also the amount of data and information it returns to Tasker is epic.
Not much else to ask for as it covers all the bases. So if that's what you want should definitely check out AutoSpotify.
When the sheets are persistent (and specifically the Bottom Sheet in this case) you configure "Commands" for each item that are broadcast out into Tasker, and you then create Profile(s) that "listen for" your commands, and then Perform the Task/Actions you want.
This system in general is named "The AutoApps Command System" and is used by all the AutoApps plugins along with Snackbar and Material Design and a few others. Here is a guide/tutorial that explains in detail how it works.
Basically though just download the <strong>AutoApps Hub</strong> which will make the Command System available in Tasker. Then as a test attach a command to one of your persistent Bottom Sheet items like Say Hello
Create a new Profile > Event > Plugin > AutoApps
and in the "Command Filter" simply enter Say Hello
and check the "Use Regex" box so it will find that phrase anywhere in the command. Link the Profile to a simple Task that just Flashes "Hello". Now when you open your Bottom Sheet and click that item, Tasker will flash "Hello". (make sure to exit Tasker after creating the Profile to save the changes and activate the Profile).
It sounds more complicated than it really is. Once you do it once it will all make sense.
EDIT: Make sure as you exit configuring your Bottom Sheet action you set the Timeout to "None" by putting that slider all the way to left. That lets the Task proceed immediately allowing the commands to be sent. You can put a Stop action right after the Bottom Sheet action it if you want.
For Spotify I'm using AutoSpotify.. it's an Alpha Plugin from AutoApps.. To use Alpha Apps you have to Subscribe to Auto Apps.. 99ct per Month.. for over 20 Tasker Plugins (AutoInput, AutoNotification, AutoTools (this one gets many and huge updates atm).. for me, totally worth)
For the Weather there are some ways.. I used WeatherAce but yesterday I changed it.. Now I'm using forecast.io and it's API + AutoTools for the JSON Data you will get.. Here is an Example of the JSON Data you might get from ONE Call (Weather Alarm is only there, if there is a Weather Alarm in your location.. this is not my location btw :P It's Alcatraz).. you have to sign up for it but its basically free.. 1.000 Calls PER DAY are free.. so you can check every 3 Minutes and still don't have to pay.. and if you don't add billing info you can use it 1.000 times and if you want to call it the 1.001st time, there will be no answer.. so yea.. it's free... I use this because it has way more information.. better and more detailed summary, better temperature (like 3.16°C.. useless but fun to me :>), get Weather from 01.01.1970 up to current date + 10 Years(useless as well.. but it's just funny lol... let's just check how the weather in Los Angelos on 07.03.1983 was) and has weather alarm values.. You can set Units, language etc....With AutoTools (another AutoApps Alpha) you can get the JSON format easily and set Variables for your desired Information.. You can use the JSON Data without AutoTools but it's really painful and not fun to play with.. But you can totally use WeatherAce, WeatherAce Tasker Plugin.. I used it for several Months and it's a really great App.. + you don't need AutoTools or any Alpha App from AutoApps
To clarify, AutoSpotify (or AutoMusic) is one of the new alpha app Tasker plugins from JoaoApps / AutoApps (AutoInput, AutoNotification, etc.)
In order to be part of the alpha program and use the alpha versions of these latest plugins - I'm fairly certain you should be subscribed to the AutoApps Suite.
And the plugins are almost all configured for folks that don't have root. The alpha plugins are often works in progress, although some like AutoTools are so fully functioning that interesting they're still in alpha.
Will be checking out AutoSpotify today.
Checked out AutoSpotify, here are some details:
At its basic, as you'd assume, it has basic "Media Controls". In addition to those obvious options here are the more detailed controls.
And then it has "Play Media" which based on any Spotify URI (which can easily be queried, more on that in a minute) the media you'd like to play (track, album, playlist) can be played immediately, or added to the playback Queue, or even specify a place/time/index in the track to begin playing. So setup Tasker/Spotify to jump to your favorite Van Halen guitar solo in any Van Halen track!
There's AutoSpotify>"Artists", which can query and/or act upon certain Artists by simply providing their name (or uri), and give you options to Follow, Get Top Tracks, Get Albunms, Get Related Artists, and more.
Spotify Playlist Management using Tasker is now an easy Task. You can specify a playlist by name or URI, and add a song to it by Song Name or URI.
And lastly, but not leastly ;) is the AutoSpotify > Search Action. The Search can search by type (artsist, album, playlist, tracks) based on the terms you supply. A powerful feature of this Action is the Filters Field.
As you can see, just a TON of options to do just about anything with Spotify using Tasker.
AUTO SPOTIFY UPDATE
After a great response and feedback - within literally a day the following new features have been added to the AutoSpotify plugin:
Player State Event for use in a Profile to detect anytime the player changes tracks/starts/pauses. As well as a new Player State Query Action to return all info about the currently playing track.
Player Notification Customization from the Main App AND from a Tasker action. (This lets you customize the buttons that appear in the status bar player, both for default buttons AND/OR dynamically within an Task. So you can have custom Spotify controls based on any criteria i.e. what track/artist/album is playing. Example 1 and Example 2.
Track Details Action
Album Details Action
New variable names (Note: If you are upgrading from yesterday's alpha release check your var names as some of them have changed for better clarification).
As you can see from those images, the sheer amount of data that can be queried for / returned / utilized is almost mind boggling. Some of never even realized could be queried for, such as the original 'release date' of an album.
There's an AutoApp for bar codes and QR codes.
You may prefer instead to explore some of the project examples in this subs sidebar and upon finding something that you would like to try, at that point install the relevant required plugin - which invariably is often from the same developer as Tasker in his life-changing suite called AutoApps.
Also, you may find this list of plug-in links useful or even the original one from Taskers wiki found here.
The commands sent in persistent mode require the <strong>AutoApps</strong> hub, which is free.
Here is a tutorial/details about the AutoApps Command System.
In regards to further configuration of the Snackbar plugin / Grid Sheet, make sure as you exit the Config that you set the timeout slider to "None". This allows the Task to 'release' the Grid Sheet from that Task so that the Grid Sheet functions as it's own app/entity independent of the Task that created it. This allows it to be persistent and constantly issue the commands as you press your buttons.
There's 3 plugins that immediately come to mind that alleviate much of the difficulty in dealing with Scenes for many of the things you mention (such as easily aligning things in a grid or make a calendar etc):
1. The AutoTools plugin from the AutoApps Suite of plugins, contains many kinds of dialogs/grid/inputs/calendars/etc - some more info in this thread.
2. The Snackbar Plugin from Nick Nack Development contains many kinds of sheets/grids/layouts for all these kinds of things. Many many possibilities.
3. The Material Plugin also from Nick Nack Development also contains many kinds of sheets/grids/layouts/menus/sidebars for all these kinds of things, focusing a bit more on fullscreen 'Activity' style layouts.
Yes, can be done very easily with the plugin AutoPhoto alpha from the AutoApps Suite of plugins.
Simply give it the path to the image and AutoPhoto will return the date and time in the variable %apdatetime
in the general format you specified.
You would then use Tasker's ~~builtin Copy File action~~ Run Shell Command mv
to rename it. No root needed for this one.
For the Profile's Trigger you would use "Event >File Modified" but specify the directory where your images appear. Anytime a new file appears in that folder it will run the Task, and you can get the pathname of that newest file via this Task method.
Whole thing would look like:
PROFILE: Event > File Modified: path/to/your/images/
LINK TO TASK:
A1. Perform Task: "Find Newest File" <see link above to import that Task> Return: %orig_filepath
A2. Plugin > AutoPhoto Path: %orig_filepath <returns %apdatetime>
A3. Variable Set: %new_filepath To: path/to/your/images/%apdatetime.jpg
<rename> A4. Run Shell Command: mv %orig_filepath %new_filepath
A5. Wait 3 Seconds <prevent Profile from re-triggering from the rename>
And that'll do it!
The only thing you may want/need to do is just prior to A3 do a Search/Replace action to get the filename punctuation characters exactly how you want them, once you see the format AutoPhoto returns.
NOTE: You'll may to set the Profile itself to have "Cooldown Time" of a few seconds so that it doesn't loop if you're renaming the file back into its original folder. Or - some logic in a Stop Action in A1, or maybe just the "Wait" Action at the end of the Task will suffice on its own.
A1 through A5 is exactly how it should work. See the Task in my post above.
Using Tasker's Variable Convert is fine, or - if you want the return in a very very specific format with an easy way to specify the format, say as an example by using:
Variable Set: %my_format To: mmmm yyyy, ddd HH:nn:ss
TO RETURN:
November 2015, Wed 14:22:00
You can use this cool little Task/Subroutine on the Tasker Wiki, and/or use the new "Time" function in the AutoTools alpha plugin if you're subscribed to the AutoApps Suite of plugins.
To correct the issue of the error when an alarm isn't set, just check the checkbox for "Continue Task After Error" in A3, then immediately following that Action add a Flash "No Alarm Set!" and a Stop Action both using an IF %time !Set
.
It would make sense to do the detection in the Task, however that is one of the things in Tasker that is not really available in a Task - and that is knowing exactly which BT device your phone is currently connected to. (unless you use the AutoTools plugin from the AutoApps Suite which can do it inside a Task).
So for your current setup, what you need to do is ADD a context to your existing Profile. So as of now your main Profile trigger/context is just "Charging". Long click on that context while in the Profiles Tab, and a menu will popup asking if you'd like to add a context. Click Add.
Then add State > Net > BT Connected
specifying the Name of your device in the top field of the config screen (use the magnifying glass icon to help you by selecting your Bluetooth device from a menu of paired devices). Then click the INVERT checkbox at the bottom.
Back out of the Profile to save it, and that's it. Basically what the Profile 'says' now is "Trigger the linked Task only when charging and NOT connected to (your car / BT device)".
If you don't check the Invert box, it would make the Profile require charging AND the phone be connected to your car to become active.
Also if you're new to Tasker, it is great to watch all the videos in the Tasker 101 series on Youtube, watch a couple a day, in a couple weeks you'll be well versed in Tasker.
Also if you look to the right in the sidebar of this subreddit --> you'll see a whole bunch of Learning Resource Guide links as well for getting started.
It's pretty basic, although depending on what the restrictions are in the AutoInput trial, you may or may not be able to get it functioning without the full version. IIRC, the AutoInput trial is limited to a certain number of characters to be able to click on or something?
Anyways it just takes two Actions:
A1. Send Intent: Action: android.intent.action.VIEW Cat: Default Data: spotify:user:<username>:playlist:<playlisturi> Target: Activity
A2. AutoInput > Click > Text: Shuffle
And that will load the playlist into Spotify. Just replace <username>
with your username (without the brackets), and likewise for the playlist URI. To find the URI for your desired playlist - if you open the web browser version of Spotify, you'll see it at the end of the url at the end of the link in that playlist's browser window. So the Data Field for example would end up looking like:
spotify:user:superdude44:playlist:1kiQXj2TZq3OvVeEeC4RGE
Then A2 will have it begin in Shuffle. May have to add a Wait Action in between the two in order to give it time to load the Spotfy app to that playlist.
To have it start playing from the first song in the playlist, you'll have to do an AutoInput Easy Setup to find the Field ID of that fiest field (it's differerent based on what vers of Spotify you're running) and then instead of shuffle use AutoInput>Click>ID: field_id
Now with that said - regarding the AutoApps, if you're using the trial versions, you may as well subscribe to the AutoApps Suite of plugins, it's about a dollar a month.
And you get like 3 dozen plugins, including some cutting edge alpha's like AutoSpotify. It uses Spotify's API to give access to about 10x the amount of data/features as Spotify's native app (which is just a front end for the API anyhow). So you'd be able to get that plus the full versions of all the AutoApps plugins, etc.
My Tasker knowledge isn't top notch, but I believe you'll be needing the plugin Autovoice (available through AutoApps).
Yes :) The AutoApps plugins all utilize the AutoApps Command System (tutorial here).
So when you create the Tile, in the "Command" field - you put the command that you would like the Tile to 'broadcast' when clicked. You can choose any words you want for the command. For example let's use RunTask
as the Command, and assume you want to run a Task named "Say Hello".
You would put the following in the Command Field of the "AutoNotification Tiles" action:
RunTask=:=Say Hello
Now all you have to do is create a new AutoApps Event Profile to 'listen' for that command to be broadcast. To make sure you have the latest command system - install or update the AutoApps Hub - (it is a free download, and helps you manage all your AutoApps too :).
When the Tile broadcasts the command - the Task you link to this Profile will in turn run the Task named to the right of the =:=
which in this case is "Say Hello". Also once setup - you can use this Profile to run any Task name from any AutoApp. Example of the 'listener' Profile you will create:
PROFILE: Event > Plugin > AutoApps Command Filter: RunTask=:=
LINK TO TASK: A1. Perform Task > Name: %aacomm
And that's pretty much it! Here is a pic of AutoApps Event Summary screen. Now from any AutoApp (like an AutoNotification notification, or a Tile, etc.) if you issue the command RunTask=:=TaskName
that Task you name to the right of the =:=
will be run.
Note that the %aacomm
variable in the A1 action of the Task above is automatically generated by the AutoApps profile to reference whatever is to the right of the =:=
so if a command shows up of RunTask=:=Hello World
the variable %aacomm will have the value of Hello World
.
Great you got it solved. Sometimes something to look for is in your AN Action that creates the notification - to make sure in the Command field there's not an extra space character lingering around somewhere, either in the middle of the command, or at the end (as some device keyboards can add a space on their own).
For future reference, you'll likely have a better experience using the newer <strong>AutoApps Hub</strong>, as it contains the most recent Command System for receiving commands, which it can do from any AutoApp that sends them. (plus it helps you keep track of all AutoApps you have installed ;)
It has a newer UI with a bit more options and things, and an easy way to set variable names right in the Profile that will then appear in the linked Task.
So if you have CarInfo=:=1984=:=Pontiac=:=red
you could just put year,model,color
in the "Variable Names" field and you'd get %year %model %color
immediately available in the Task.
There's a general tutorial for doing this with the new AutoApps hub as well.
Can absolutely recommend the <strong>AutoApps</strong> as well as <strong>Snackbar Plugin</strong> and <strong>Material Design</strong> plugin.
Yes, in the action that creates the AutoNotification, there is a section for "Actions". Within that section is a field for "Command On Touch"
That field is where you'd put your command to have Tasker run the Task with your AutoTools pop-dialog. The command itself can be anything you want. You would then make a Profile that watches/listens for this command, linked to your pop-dialog Task. For details/instructions on commands see this AutoApps Command Tutorial.
In a nutshell lets say you input your Command On Touch as OpenLyrics
- you would make your listening Profile like this:
PROFILE: Event > Plugin > AutoApps > Command: OpenLyrics
LINK TO TASK: A1. <all your actions to launch the AutoTools popup dialog
A2. etc. etc.
Alternatively (if you don't have the AutoApps Hub installed, you could use this Profile as well:
Event > Plugin > AutoNotification > Autonotification Command Filter: OpenLyrics
Use the "Application" Profile Context. Select all the apps you want the FAB to appear in from the list in the Profile config.
Then link the Profile to an Enter Task that shows the FAB, and yes show it in Persistent Mode (more on setting that up in a minute)
Also then link an Exit Task to the Profile (by long clicking the Enter Task and choosing "Add Exit Task") and in that Exit Task just use the Material Design "Dismiss" Action to dismiss/clear the FAB.
The result of this is anytime one of those apps is in the foreground - the FAB appears. When the app is no longer in the foreground - the FAB disappears.
Now to handle the command linking part, the plugin uses the AutoApps Command System. This system (and more specifically the FAB) "broadcasts" out the command you create, and you then create a separate Profile to specifically "listen" for that command, and link it to a Task that does whatever it is you want.
So if you specify a command in the FAB of "FlashMessage" when you're setting up the FAB, then create a listener Profile of:
PROFILE: Event > Plugin > AutoApps > Command Filter: FlashMessage
LINK TO TASK: A1. Flash "Hello World!"
As long as the FAB is persistent on the screen - every time you click it - Tasker will Flash "Hello World!". Of course you can make up any command name(s) you want, as long you match it in the "Command Filter pic" of the listener Profile.
Note to create the command listening Profiles you'll need to download the <strong>AutoApps</strong> Command Hub.
These videos are done very well, and also easy to understand. You should get in touch with /u/joaomgcd to discuss cool ideas for videos featuring the <strong>AutoApps</strong> plugins. I know Joao has been making an effort himself to put out more instructional content (especially videos) and I'm sure he's even got a list of topics that he's looking to be covered.
Also - another set of plugins that would be awesome to make videos for is the line from /u/nickm_27 including the <strong>Snackbar Tasker Plugin</strong> and <strong>Material Design</strong> plugins. They are now massively full of features, and I know Nick would be very happy to coordinate with you on some video topics and resources.
Very welcome! Glad you got it working ;)
And for the text file you'd basically be using Read File to pull in the data, and Write File to write it back if anything is changed. After reading it in, you'd basically be creating a slight different array setup, whereby instead of having 3 Global arrays, you'd have 1 local array, with three pieces of data in it, and then you'd perform data operations on that.
So for example your text file could have a data format of appname--count--time
using the --
chars as the separator. You can of course pick any separator. And an actual example would be:
Facebook--12--2450 Twitter--6--1200 Play Store--2--300 etc
Then at the start of the Task you'd File Read the whole thing in, which goes to a local variable (not array) which you'd split at the newline character. So if you read the text file into %data
you'd have the following values for example:
%data1 Facebook--12--2450 %data2 Twitter--6--1200 %data3 Play Store--2--300 %data4 etc
So instead of using Action A5 to look for the app's name in the Global Appname array, you make an A5 like:
A5: Variable Set [ Name:%array To:%data(#?%aiapp--+) Do Maths:Off Append:Off ]
And the code %app--+
means - find the array element that starts with the appname %app
, followed by chars --
, followed by some more data (represented by the using +
sign).
So if the appname was "Twitter" %array would return 2
in Action A5 since %data2 starts with "Twitter--".
Then this is where it gets into more Actions since you'd split %data2 at --
to get the three separate parts of the appname, count, and time. And operate on those individually. I think you see where it's going from there.
This is where Tasker's built-in array/data handling tools fall a bit short and you end up needing a bunch of Actions and variable name assigns to operate on the data, re-assemble it, etc. etc. If these are the types of Tasks you often like to assemble (And you certainly have the knowledge/understanding of data and arrays) - I would highly recommend using the AutoTools plugin from the AutoApps Suite of plugins.
AutoTools has a massive pile of array, data, text, handling tools, including the ability to read and write JSON (which is far better format than the text file outlined above). In a nutshell AutoTools can do in 2-3 Actions what would take 10 Actions without it.
For AutoApps you can simply download AutoApps and unlock the apps there :) No recurring payment is necessary.
Install AutoApps; https://play.google.com/store/apps/details?id=com.joaomgcd.autoappshub this also acts as the licensing/unlocker for IAP's
No. Just be sure AutoApps is also installed, as this acts as the license checker for it.
https://play.google.com/store/apps/details?id=com.joaomgcd.autoappshub it's in the description
Whilst Tasker is pretty much priceless but I would say the AutoApps are worth their weight in gold, moreso if you take advantage of the AutoApps Command System. They pay for themselves many times over in ease of use, efficiency and saved time in trying to code it all yourself. Many start with just some core ones like AutoVoice, AutoTools, AutoNotification, AutoWeb and AutoInput. Fortunately, they have been kept separate so you can pick and choose what's useful to you.
Regarding those and for inspiration, you could checkout some projects you can follow which will give you a tiny tiny flavour as to what one can do with Tasker, which probably makes up less than 0.001% of what's possible. Your imagination is your only limit as you get your Tasker Neo.
Also, you may find this list of 250+ plug-in links useful or even the original one from Taskers Wiki..
I would say the AutoApps. are worth their weight in gold, moreso if you take advantage of the AutoApps Command System. They pay for themselves many times over in ease of use, efficiency and saved time in trying to code it all yourself. Many start with just some core ones like AutoVoice, AutoTools, AutoNotification, AutoWeb and AutoInput. Fortunately, they have been kept separate so you can pick and choose what's useful to you.
Regarding those and for inspiration, you could checkout some projects you can follow here which will give you a tiny tiny flavour as to what one can do with Tasker, which probably makes up less than 0.001% of what's possible. Your imagination is your only limit.
Also, you may find this list of plug-in links useful or even the original one from Taskers wiki found here.
Anytime data is going to be sent out of an AutoApps plugin, it makes use of the AutoApps Command System (a tutorial is at that link).
In the "Reply Action" field in the config, whatever you put in there will be the command sent to an AutoApps Profile you need to create to "listen" for it. The reply action will be the text to the left of the =:=
characters, while the actual reply text itself will appear to the right of the =:=
as detailed in that tutorial link.
It's a lot easier to understand seeing it in Action so do this - In your existing action that creates the AutoNotification - set the "Reply Action" to test_reply
.
Next make sure you have the AutoApps Hub installed (it's free and contains the newest command processor). Now create a new Profile that is:
PROFILE: Event > Plugin > AutoApps Command Filter: test_reply=:= Variable Names: actual_text
TASK: A1. Flash: %actual_text
Save all your changes/updates. And now when you put some text into the AutoNotification you created and send it, that Profile will pick it up and Flash the text. Of course you'll want to do something else with it in real use. Note that the raw command sent by AutoNotification will look something like:
test_reply=:=Whatever text you entered for your reply
So for the Command Filter you would use tvpower
as that is the static part, and then the first variable after it is likely "on" or "off" so in the "Variables" field you can just enter something like status
Then in the Task you link to the Profile, the variable %status
will be available and contain the value "on" or "off". Again you want to likely install and use the <strong>AutoApps</strong> main plugin, since it is easier to deal with setting up variables.
So using that example the AutoApps Profile would look like this. After you have entered the data into the Command Filter, and then into the Variables Field.
As a final note, do not enter anything in the two top fields in the AutoApps plugin config. They're actually for integrating with 3rd party plugins like Snackbar, etc. Go directly to the "Command Filter" below that.
Yes, buy the full version or subscribe to the AutoApps Suite of plugins, where you get all the plugins JoaoApps makes.
There is a plugin named AutoSpotify from the AutoApps Suite of plugins, that lets Tasker do anything in the Spotify app and even more (and that's possible because the Spotify API has way more functionaility than what's in the Spotify app itself).
<strong>SEE THIS THREAD</strong> for more info on AutoSpotify.
Regarding the code you posted, there's not really much that can be gleaned from just looking at the XML. Some easy formatting tools for posting Tasker code to reddit can be found here and you can use those to easily display your Task in the formats you see in many of the threads.
There's a Date and Time Picker in the "Dialog" section of the Tasker plugin AutoTools from the AutoApps Suite of plugins (AutoTools is an alpha plugin so you need to subsribe to the AutoApps).
After picking your data/time it returns all the info into Tasker in whatever format you need it.
Here's a pic of the actual calendar it shows, colors customizable.
The AutoTools plugin from the AutoApps Suite of plugins can do this fairly easily with the Time Span option.
You can basically get the output in all these formats just be checking those boxes ;)
Definitely seems to be random. I did a quick test with 4 queries back-to-back and they seemed to work fine, using the main built-in Scene format for the display.
I would make two recommendations for alternative (and more visually pleasing ;) methods to get input. One is AutoTools from the AutoApps Suite of plugins, with Dialogs action. The input Field type has all these formats, and you can customize it with background/text colors, icons, buttons and html etc.
The other is the Snackbar Plugin, it has sheets that slide up from the bottom of the display with the same types of options for visual customizations, and of course an input field :)
Very welcome. And for the 'power user' there's a plugin named AutoTools from the AutoApps Suite of plugins, that contains a lot of advanced text/array/data handling functions.
Here's a bunch of threads about it, to give you an idea of what's in it.
https://www.reddit.com/r/tasker/comments/3ayxqf/new_autoapps_plugin_autotools_advanced_regex_and/
https://www.reddit.com/r/tasker/comments/3qnrpx/new_autotools_dialogs_make_scenes_and_tasks_with/
https://www.reddit.com/r/tasker/comments/3gqmkb/autotools_plugin_update_aug_2015_bluetooth_device/
https://www.reddit.com/r/tasker/comments/3ezn94/a_couple_cool_updates_to_the_new_autotools_plugin/
The new AutoTools alpha from the AutoApps Suite of plugins contains a full API Tasker integration feature.
You can either create the API integration from its tools, or choose from one of many preset ones being updated almost daily. Taking a look at Facebook's API and the data it needs/returns, it should be fairly straightforward to set it up.
Here's some AutoTools API images: Image 1, Image 2, Image 3, Image 4
EDIT: Facebook API setup has now been added to AutoTools
Interesting and creative setup/solution =)
Regarding:
> for example I would like access to all tasks due today via tasker, so I can display them how I want
Looks like you're in luck ;) Seems Todoist updated/enhanced their API a few months ago, and if you're subscribed to the AutoApps Suite of plugins, you can use the new AutoWeb API tool to integrate with just about any API out there, with more integrations constantly being added.
In looking at the Todoist API docs looks like it uses Oauth2 which AutoWeb API has full support for, and in also looking at the data that needs to be sent/returned for say a Todoist Item - seems very straightforward. If you look on the right in that section you'll see the field due_date_utc
and that's the ticket to filtering for tasks due today :))
So you could probably literally create this aspect of your project today. In fact many API's for AutoWeb get shared to a central database, and although Todoist isn't there yet, it will be when you create it ;) and/or someone will likely soon create and share it.
As an additional option to all the very good ones already listed, if you're subscribed to the AutoApps Suite of plugins, the AutoTools alpha has a one-action URL shortener that uses goo.gl API and as long you have any Google account/email you don't need register for a key.
Just the long url, and it returns the shortened one. Example Screen
Tasker can integrate with IFTTT via AutoRemote. This may be the most direct way to to get the info to Evernote, and do it in the background with whatever foreground Actions you want to see created by Tasker.
Of course the data you send to IFTTT's Evernote channel from Tasker can come from whatever you speak into Tasker through AutoVoice.
The other way is that the new AutoTools alpha plugin, part of the AutoApps Suite of plugins, has a new API feature that lets Tasker integrate with just about any API that has OAuth2 integration.
I'm not sure if Evernote utiliizes OAuth2, so the first solution may be the one to start with.
If you're familiar with AutoVoice you should have this up and running quick. You can define a keyword that the Chrome ext listens for to start the recognize. It's really cool.
Anyways, what you do is download the AutoApps Suite hub for all the AutoApps. Then under left pull-out menu you'll see options for alpha/beta apps. Goto beta and choose the AutoVoice beta.
Click on and it prompts you to sign up for beta testing which is nothing more than simply clicking 'ok' or whatever. Following that it can take an hour or two for it process, and then go back into that main AutoApps Suite app, click AutoVoice beta again, and you should see a link for 'download'. I suggest opening the link in Chrome/browser if you have issues with getting it from the Play Store app.
If in trying the download it says "Doesn't Exist / Retry" it just means your beta sign-up hasn't been process yet by their server, and just try again in an hour, etc.
Also the beta includes full offline Voice Recognition, so even in Airplane Mode it will recognize commands. Lots of cool stuff!
That's what I was thinking. Typically in Tasker for time differences you'd be using %TIMES which is time in seconds (which is an absolute time from sometime in 1970 or whatever someone came up with).
So you Flash %TIMES you'll see it's a big number represent current total seconds. You can use Action>Variable Convert to convert from a readable date/time to seconds, and then again back from seconds to date/time.
To use Variable Convert you can reference the Tasker Actions page which states: _
Date Time to Seconds
* date and time must be separated by whitespace e.g. 20110304 11.32
* date can be in YYYYMMDD format or xx-yy-zz, in which case the positions of day, month and year are determined by Android preferences
* if time is ommitted it is assumed to be 00:00
* time must be in 24hr format
* individual components of date and time can also be separated by a colon, slash etc.
_
Now, there is a completely much simpler and straightforward way to go about this. If you're subscribed to the AutoApps Suite of plugins, there's a new plugin named AutoTools that has easy Date/Time span capabilities.
Basically you just select a Start Date/Time, and an End Date/Time. For the start there's a checkbox for "Now" so if checked - every time the Action runs - it always starts calculating from that moment.
Then there's a ton of options for setting the End Time, and it returns a massive amount of variables/data for the time span for use in any way you'd like. Whether you're trying to figure out time until end of class or between now and Christmas, it's the way to go for simplicity.
Search "AutoTools" here in this subreddit for info on its abilities.
You can use the AutoApps plugin AutoGmail to search through your Gmail. It uses the standard Gmail Search syntax.
I've got an even better idea ;)
Rather than a few dollars, just spend one dollar to subscribe to the AutoApps suite of plugins, and you get every one of them, including alpha and beta versions, its almost like 36 plugins total. Best dollar I spend every month.
> I want to do it all automatic and not have to click send.
Automatic = AutoApps plugins
You can get all the AutoApps plugins for $1/month and that includes alpha/beta versions as well, so you're talking dozens. With them you can accomplish many things like this, and sometimes, (especially if you're not rooted) there is simply no way to accomplish things without plugins (and those ones specifically).
In this case you'll need to use AutoInput plugin. I routinely keep test Tasks setup as templates for things like this, and as far as getting the recipients into the field, you'll need AutoInput to paste them, and then to click send for you.
Multiple ways:
Tasker's built-in Event Context has UI -> Notification, where you can then put details in about the specific notifications you want it to act on.
Another way is to use AutoNotification, which is everything I said above and more, but it is a freemium plugin. See: AutoApps
Then there's also WhatsTasker which also allows you to intercept WhatsApp notifications.
\\\
I should note though, if you're going to write over files (as per my original response to you), you'll need ROOT.
You could try AutoCalendar :) It's still in Alpha though. You can get it in AutoApps. Hope this helps
okay so this is a bit complicated...
if you DON'T want to go through the headache of parsing the XML directly in Tasker, which will take a BUNCH of steps or Javascript...
Are you familiar with all the Auto* Apps? Like AutoRemote and AutoVoice, etc etc? http://joaoapps.com/
These are some GREAT plugins for Tasker that have their own little logic, if you're familiar with them then the answer is MOMENTS AWAY but has some $$$ concerns. If you're not familiar with them, I may not be much help...
So if you download the AutoApps...app:
https://play.google.com/store/apps/details?id=com.joaomgcd.autoappshub&hl=en
you can, through a MONTHLY SUBSCRIPTION OF $1.35 A MONTH get access to 10 other apps this guy has written but has BARELY covered on his website...
...one of them is....AutoRSS!
Now, I'm not paying the $1.35 a month for access, so I don't know the ins and outs of AutoRSS but if it's made by this guy it's probably pretty darn great.
...so that's ONE way...
As it's setup in Gmail, it would be very easy with the AutoMail plugin (pic) from the <strong>AutoApps Suite</strong> of plugins. As it's an alpha app you do need to be subscribed to the suite.
Also as mentioned elsewhere here - to process the input - you can create a Tasker Scene, or use a plugin such as <strong>AutoTools</strong> with its "Dialog" actions, or the <strong>Material Design Plugin</strong> with its "Input Activity".
There's likely some other apps that can send Gmail's via Tasker, as well as workaround methods like using IFTTT with Tasker.
I used to use a Javascriptlet to do this, and would hammer through it trying to find paths to JSON values/objects/arrays and load them into the same in Tasker, etc. and it simply wasn't fun.
Then the new AutoTools plugin came out from the from the AutoApps Suite of plugins, and it has a JSON Read action that works awesome.
In simple mode don't even need the path to field names no matter how deep they're nested in the JSON (as long as the field name is unique), and of course it will also take full paths. It will return single values, arrays, objects, filter before returning, supports Regex, is awesome.
For example here is an AutoTools JSON Read I just created to grab info from \/r\/Tasker for a few things that runs throughout the day. As you can see it doesn't even need an HTTP Get, it takes care of that part too.
Check it out, and if you want to stick with the Javacriptlet I'm sure there's folks here who can assist with that as well.
The best alternative is to subscribe to all the AutoApps in the AutoApps Suite, it's like a dollar a month. You get like 3 dozen plugins, some of which are alpha and beta but do some amazing things, and/or give you features not yet available in the full release plugins.