Here is what some are doing with Tasker and Augmented SmartWatch Pro

Assumptions

No knowledge of Tasker! Only that you have downloaded Tasker and Augmented SmartWatch Pro

Note please install Augmented AFTER you install Tasker or reinstall the Augmented app after installing Tasker

Info why @ http://tasker.dinglisch.net/invoketasks.html

Predefined Tasks Tasks and Profiles are provided – all you need to do is download and import into Tasker

When sending Intents to Augmented please note that the target has to be set to SERVICE

Predefined Tasker Tasks and Profiles to download to your Android

Take-Picture – Takes a picture using the front camera on your Android

VolumeUp – Increases the media volume up by one level.

VolumeDown – Decreases the media volume down by one level.

GoogleNow – Opens Google NOW – can then say “Google” and then “note to self ….” to auto-email a reminder to yourself. This task uses a hidden API into Augmented SmartWatch Pro to auto-turn on the Android phone (so Google NOW works properly for voice input). Note it doesn’t work if the phone is locked or cover is closed. Note with the Google Keep app a “note to self” can be stored in Google Keep and hence show up on the web in seconds all by simply touching one button on your Pebble and talking!

If Google NOW does not automatically start after importing the task, please open the Load App row and re-select the Google Search app (Tasker sometimes has an issue in importing app names)

Also you may want to select a new notification sound as the one in the Task may not be on your phone

Silence-Phone – Silences the android phone

RejectCall – To reject an incoming phone call

TakeCall – To answer an incoming phone call in speakerphone mode (does not work on some devices like HTC, tested on Sony Ultra Z)

Wait-Lunch-Microwave – Useful for starting a 3 minute timer to know when the microwave is done heating your lunch. This task also contains an example “Send Intent” action to communicate and send a message to Augmented SmartWatch Pro which will send it to your Pebble watch

SetASPSilent – Task to change a button on Pebble to the Silence-Phone task programatically – a great way to configure your Pebble buttons from Tasker depending on time/location/context. For example, at work during lunch hours I want one Pebble button in a menu to be the Wait-Lunch-Microwave task, all other times I want the exact same button/menu to be Silence-Phone. This task shows how to do this – to enable this to be fully-automated!

Note if using multiple change button intent calls to Augmented from Tasker, please provide a guard time of 2 seconds between the calls (use the tasker wait command), otherwise the 2nd call will be ignored.

Set-TaskerASP – Task to change a button on Pebble to the Wait-Lunch-Microwave task. This task uses another API to dynamically change the Tasker task assigned to a specific button in the menu on the Pebble! (Tasker1..Tasker4 are valid). Hence the buttons on your Pebble can change dynamically depending on context all controlled via Tasker. In Version 4.5 two more buttons are settable TaskerA (top button in the first menu) and TaskerB (bottom button in first menu).

Sirius – Task to toggle starting Sirius and stopping Sirius. Sirius auto-plays the last station when opened. So from the Pebble one button press can start playing audio from your last Sirius channel and the same button press will stop playing the audio – press again to resume playing.

If Sirius does not automatically start after importing the task, please open the Load App row and re-select the Sirius app (Tasker sometimes has an issue in importing app names) – note also this one needs root (to kill the sirius task)

Pandora, Sirius and Google Music – Tasks to automatically start Pandora, Sirius or Google Music respectively. Note these all use a special intent call to augmented that turns on the phone display automatically (this is required when the android display is off). Google Music uses the “next” command to automatically play music as it is the only reliable way I can figure out to play music automatically.

Setlunchoptionwatch – Profile to automatically change the top button on the Pebble (menu 2) to the Wait-Lunch-Microware task during lunch time hours and to the Silence-Phone task during all other times

Gentle Alarm Support (for Sony Smart Watch 2)

Profile to use Gentle Alarm plug-in upon alarm trigger



Alarm Task to trigger when the Profile conditions are met



If enabled then the user will have the option to snooze or dismiss the alarm directly from their Sony SmartWatch 2 (using Augmented) – no settings need to be set in Augmented other than Quiet Time (if enabled there is a clock alarm override that must be enabled). Note Augmented will also vibrate continuously until the user does something (it will eventually time out)

Silent notifications to Canvas WatchFace – Task example to do a silent notification to the Canvas augmented plug-in (%T %M parameters). This uses the vibrate controls to turn off the vibrate (and normal pebble notification). This will update the augmented plug-in on the Canvas watchface that uses the %T %M parameters).

There is a special Intent to allow the %I Canvas plug-in to show a user-defined string (from tasker, for example):

Service Control Intent API (can be used from Tasker or any 3rd party app):

Intent: com.alk.k9.action.add

Parameters:

canvasinfo:user string to show in the %I plug-in on the canvas watchface

canvasinfo:reset

can be used to go back to prior default behaviour for the %I plug-in

More Canvas-specific Intents:

Intent: com.alk.k9.action.add

canvaswatchface:WatchFace Name in Canvas (case sensitive)

Purpose; Triggers a change to the specified watchface (watchface must exist in Canvas)

Controlling a PC – These tasks are used with Unified Remote Full to control Chromecast and powerpoint on a PC:

UpdatedAugmented – suggest assigning to TaskerB (bottom button on Pebble). This is a great example of how to toggle/update buttons on the Pebble – this switches between controlling powerpoint, slides in Chrome and normal settings

next slide chromecast – uses Unified Remote

prev slide chromecast – uses Unified Remote

next slide powerpoint – uses Unified Remote

prev slide powerpoint – uses Unified Remote

Android Wear Optimized

Support for dynamic images in alerts (perhaps for security camera motion triggers – can be sent from Tasker/Intent based API into Augmented sender: “show alk image” (without quotes) subject: URL of image##text to show (e.g. http://www.mto.gov.on.ca/english/traveller/compass/camera/pictures/loc50.jpg##Younge&401) Example Tasker Task here



Android Wear – Added “show closest camera” (sender) Intent action (for Tasker/3rd party) to show the closest traffic camera on the Android Wear! (Toronto, Boston, SFO supported). Must also enable option in augmented-android wear settings. Example Tasker Task here for Android Wear (optimized)

Augmented Wear

A stand-alone and free Augmented Wear app is available to use via Intents/Tasker Tasks to show customized alerts on the Wear:

This task will show a message in the 2d Star-ware scrolling effect.

This task will show an image followed by a message as shown in the animation below.

Advanced Features

Can optionally allow Update Tasker commands to provide a display name to show on the Pebble Button (that could be different than the Tasker Task name). Format is Update Tasker1:myTask1##Name to show i.e. use ## to optionally specify a name to show on Pebble (if it is provided otherwise revert back to original taskname)

In the above example Name to Show will be shown on the Pebble and the task invoked would be myTask1. If the ## is not provided, then the Tasker task name is shown on the Pebble (prior behaviour)

How to Import a Tasks and Profiles into Tasker

Open Tasker and at the top long press on the “Tasks” tab, click on “import” find the task you just downloaded to your android

Open Tasker and at the top long press on the “Profiles” tab, click on “import” find the profile you just downloaded to you android

Ideally you should store under the sdcard/tasker/tasks directory (for tasks) and sdcard/Tasker/profiles for the profile

Enable Permissions in Tasker to Allow Augmented SmartWatch Pro to invoke a Task

Hit the menu button, click on preferences and then select the “Misc” tab – ensure “Allow External Access” is enabled

Configuring Augmented SmartWatch Pro

In the Pebble Android app, go to settings->Preferred Music App and select Augmented SmartWatch pro (this will send the Pebble button commands to the Augmented App)

Open the Augmented app on the Android, go to settings, Pebble and scroll down and ensure the following are enabled:

Override Music App

Expanded Menu

Now Click on Tasker Menu Option 1 and type in the exact name of the Tasker Task – spelling and case are very important

Set the other Tasker Menu options as you wish

Testing

Go to the music app on your pebble, click the middle button and you should see something like the following – click the top or bottom button and the corresponding tasker task should be invoked on the phone! Check for toast messages on the Android for any error messages otherwise the task should be executed properly!

Trouble-Shooting

Note at times the Pebble buttons may appear unresponsive, in fact it appears the Android Pebble app gets into a confused state. To resolve:

1) Toggle Bluetooth on and off on the Android;

2) Shutdown and restart the Pebble + reconnect via the Pebble app.

3) Change the preferred music app in the Android Pebble app to another music app – make sure the buttons work in the music app

4) Switch the preferred music app in the Android Pebble app to Augmented SmartWatch Pro – things should now be working properly again

Other Ways to Control Augmented SmartWatch Pro using Tasker (or other 3rd Party APIs)

Augmented SmartWatch provides for an open and very simple API to allow any 3rd party entity (like Tasker or other Android app) to send a notification to the Pebble at any time. The interface is very simple as follows:

Android Intent – com.alk.k9.action.add

Parameters: 1) sender 2) subject

Service Control Intent API (can be used from Tasker or any 3rd party app):

Intent: com.alk.k9.action.add

Parameters:

service:turnoff (pauses notifications from being shown on SmartWatch)

service:turnon (resumes notifications to being shown on SmartWatch)

service:toggle (toggle state) – link to Tasker Task to Toggle this state

service:alwayssendoff (pauses notifications from being shown on SmartWatch if the android phone screen is on)

service:alwayssendon (resumes notifications to being shown on SmartWatch) even if android phone screen is on)

service:alwayssendtoggle (toggle state – fow showing notifications depending on android phone screen state)



*** note for all alwayssend* options please disable the always send notifications under augmented settings (otherwise that setting will override if set on). Default state is alwayssendon.

Vibrate Control Intent API (can be used from Tasker or any 3rd party app):

Intent: com.alk.k9.action.add

Parameters:

vibrate:turnon (uses vibration mode in showing notification on the Pebble)

vibrate:turnoff (uses non-vibration mode in showing notifications on the Pebble – shows in the music app screen)

vibrate:toggle (toggle state)

Note this command must be sent separately from the sender/subject ones.

Can control Google Glass

Intent: com.alk.k9.action.add

Parameters:

sender:Google Glass (if auto-timeout is enabled, then this triggers sending notifications to the Augmented Glass app for the period of time configured via auto-timeout. Also send the closest traffic camera to Augmented Glass – if enabled). works nicely as a task configured on your Sony SW2 or Pebble.

Can select default Preferred Music App via Tasker – (Update Music: package name of music app) – note None is supported to support no preferred music app (hence no action on double tap of middle button on Pebble wa

Added Intent API option sender: restart pebble (Useful for when killing Pebble Android app and restarting it from Tasker (or 3rd party app))

Intent parameter sender:SCREENS_ON_PHONE (to turn on) and sender:SCREENS_OFF (to turn off) – to show notification on the Android

Ability to send any image to a Sony SmartWatch (new in Version 4.9.9d) – in the example below the URL of the image is the parameter for subject (note that no syntax checking is done on the URL): sender:sender alk image subject:http://www.mto.gov.on.ca/english/traveller/compass/camera/pictures/loc50.jpg

Even more commands: sender:trigger alarm (to allow your custom alarm clock – this will trigger the special mode as if the clock alarm was triggered – allows using on phones where clock alarm does not play nicely) sender: update weather (to force a weather update)



Advertisements