Tasker Integration

I've seen lots of threads about integrating Tasker with connect iq apps and after making the switch over from pebble I finally figured out how to call Tasker tasks without needing to use IFTTT or any web based service.

Inside your so or widget map the function Comm.openWebPage("http://taskName",{},{},); to button presses or any other type of interaction.

In Tasker, create a profile using the event autonotification notification intercept as a trigger, with the filter of notification text containing " wants to open http://". For the task that this triggers use variable spilt on %antext with a splitter of "http://". Add action perform task with the task name being %antext2. Finally, remove the notification from your phone with Autonotification cancel action, cancelling by I'd %anid.

You could probably do the same thing using the native Tasker notification intercept and cancel actions too.

If you need help understanding further feel free to message me and I hope to see more former pebble developers join me here to help grow the community and share knowledge.

  • Events triggered twice

    Thanks for this fantastic app! I can now control my home automation system from my Fenix 3HR, using Tasker, AutoRemote and EventGhost. The one minor issue is that when I press a button on the watch, the corresponding task is executed twice in Tasker. Not sure if this is due to the app or some problem with my config. Anyone else experience this?
  • It's starting to seem like posts in this thread should be in the Showcase Forum thread (an app specific support thread) and not in the main developer forum, as it's now user questions, and there's no reason for it to be bumped up on the thread list here when someone posts.
  • I've moved this over to the Showcase, but I left a redirect in the main forum that will stick around for a while. :)
  • Former Member
    Former Member over 7 years ago
    Hello,
    thank you for Tasker for Garmin, I imported your xml file but it does nothing. Could you please make some step by step guide how to configure tasker+autonotification app?

    Thanks
    Pavel




    I have also imported the profile/task in this thread, and verified that all parameters match as described in the original post. I set the same name of a task ("Pandora") to the "Enter" function in the watch app. Nothing happens.

    For reference, when I press the command on the watch, I get the notification "Tasker wants to open://Pandora". When I press the play button to test the Gramin Tasker task, there is an error at the Variable Split step stating "Variable Split: can't split unset value to set %antext"

    Any suggestions? Any help is greatly appreciated. It seems like it might be simple fix, but I can't get it.


    Thanks,

    Brandon
  • Could you please make step by step guide

    Hello,
    thank you for Tasker for Garmin, I imported your xml file but it does nothing. Could you please make some step by step guide how to configure tasker+autonotification app?

    Thanks
    Pavel


    +1 on this. Thanks.
  • Here is the latest version of the Tasker task i used with a lot of my custom stuff stripped out. Please let me know if this helps

    Profile creation:
    Create new profile with event trigger. Event type should be plugin->AutoNotification->Intercept
    Configuration of Notification intercept options:
    Action Type: Created
    Notificaiton App: Connect
    Notification Title: Connect IQ
    Notification text wants to open http:// (set the case insensitive field)
    Get All Fields: true

    Task Run by profile:
    Plugin->AutoNotificaiton->Cancel
    Configuration Id: %anid
    Variable Split: Name=%antext splitter = http://
    Perform Task: name= %antext2
  • Can I just check some basic understanding before I start spending money here!

    To get the Garmin Tasker app triggering things on my phone I need to do the following:-
    Install the Garmin Tasker app from the Connect IQ store (done that)
    Install Tasker on my phone (already done, in use already for some stuff)
    Install the autonotification plugin for Tasker (done that - but then its asking for payment. Do I need the paid for version of this?)
    Configure Tasker profiles and tasks on my phone:-
    - Profile as above - which effectively causes the phone to start responding once the watch has called for the task by listening to the autonotification intercept
    - Task as above - which parses the notification sent over from the phone to extract the task name required
    Configure the Tasker App on my watch using the Garmin Connect app on my phone by putting the name of the Tasker Task that you want to be run against the appropriate button / menu slot(NB NOT the task noted above, but the task that exists on your phone which you want triggering - e.g. to open an app, switch on a light, etc etc)

    Sorry for the "Noddy Goes to ToyTown" approach, but I just wanted to clarify stuff - especially the bit about needing to buy the autonotification plugin, which surprised me when it was a paid for app since it hadn't been mentioned in the thread anywhere that I could see!

    Thanks!
  • OK, in the absence of a reply thought I'd post myself - using the 7 day free trial, got this working by by following the clear instructions in post #17 above.

    Nice!
  • Ok, I'm new to tasker and I think I'm a fairly savvy user in general but getting this to work seems far from clear. I tried to enter exactly what I found in step 17 above but maybe I'm reading it a bit too literally. I was hoping maybe I could post my steps and then if anyone can correct them I'd really appreciate it. Thanks.

    Inital prep:
    - Installed tasker and the autonotification plugin (set up the 7 day trial)

    Create profile steps;
    1) Open Tasker
    2) Press the + icon
    3) Choose "Event", then "Plugin", then "AutoNotification", then "Intercept"
    4) Press the edit icon on the Configuration line
    5) Press "Action Type", then "Created"
    6) Press "Notification App", enter "Connect", press "OK"
    7) Press "Notification Title", enter "Connect IQ", press "OK"
    8) Press "Notification Text", enter "wants to open http://", press "OK"
    9) Check the box next to "Get All Fields"
    10) Press the check icon at the top to save
    11) Press the back arrow to return to the profiles menu. At this point a pop-up prompts me for a new task.

    Create task steps;
    1) Press "New Task"
    2) Press the check icon, leaving the optional name blank
    3) Press + icon
    4) Press "Plugin", press "AutoNotification", press "Cancel"
    5) Press the edit icon on the Configuration line
    7) Press "ID", enter "%anid", press "OK"

    ...now I'm lost.

    Where do I find "Variable Split: Name=%antext splitter = http://
    Perform Task: name= %antext2"

    Where do I set up the task that I want it to perform?

    When I open the Tasker app in the Connect app there are a number of options but I don't know what to enter. I get the general settings (about color and such) but what is it I should be entering in the "Select" box for example?

    I may be completely lost and if I am, I think a noob-style, step-by-step set of instructions would be helpful to lots of users.

    Thanks for any help you can give.
  • Hi guys, I had problems getting this going. Figured out Garmin changed the title of their notification and added a Tm symbol. If you change the notification title and as this to the end it will work again