[Samsung Gear 2] Medox2:
Media volume control with Tasker & Gear 2

This tutorial is for those who want to control the media volume on Android through their Gear 2. It can also be used without the Gear 2 part, if you are only interested in the tasks themselves.

First, make sure you were successful in getting Tasker to work with the Gear 2 (see first post).

(I recommend getting that example app to run before continuing)

If you just want Volume Profiles to be triggered by Tasker, go to the bottom of this post!

If you want two separate buttons to increase/decrease the volume, follow these steps:

A task/app for increasing the media volume

:

Open Tasker and press the 3-dotted button on the top-right and select Preferences.

Uncheck the Beginner Mode (or you won’t be able to set the level variables at step 6.)

Create a new task and name it: Media Volume Increase.

Press + and select Variables, then Variable set.

Name: %mediaVolume

To: %VOLM + 3 (volume increases by 3, e.g. 0/15, 3/15, 6/15. you can change this if you want)

If: %VOLM < 15​

Back.

Press + and select Audio, then Media Volume.

Level: %mediaVolume

(do not check Display or Sound unless you really want to, for a test)​

Back.

Press + and select Alert, then Notify

Title: Volume increased to %VOLM/15

If: %VOLM < 15​

Press + and select Alert, then Notify

Title: Volume at maximum! (%VOLM/15)

If: %VOLM eq 15​

Back.

Press + and select Alert, then Notify Cancel (to automatically remove the notifications on the phone so they don't pile up)

don't change anything, unless you want to​

Back.

Result

Add the application icon (for the Gear 2) by using the button on the bottom-right.

Back (you should be at the task list now).

Press the 3-dotted button on the top-right and select Preferences.

Check the Beginner Mode (or not, if you know how to export apps without).

Back (to the task list).

Press & hold Media Volume Increase -> 3-dotted button on the top-right -> Export.

(make sure you have installed Tasker App Factory first or you won’t be able to export)​

After the export is done, press the Android robot icon on the bottom-right of the popup.

Install the application.

Open Gear Manager -> Notifications -> select Media Volume Increase.

(make sure you turn on notifications in the manager for this to work. please see below)

Gear Manager -> Samsung Apps -> Find and install LaunchGear.

Open LaunchGear on the phone and add Media Volume Increase.

Open LaunchGear on the Gear 2 and test out your new app.

If everything works fine, we can create the second app for the Gear 2:

A task/app for decreasing the media volume

:

Open Tasker and press the 3-dotted button on the top-right and select Preferences.

Uncheck the Beginner Mode (or you won’t be able to set the level variables at step 6.)

Create a new task and name it: Media Volume Decrease.

Press + and select Variables, then Variable set.

Name: %mediaVolume

To: %VOLM - 3 (volume decreases by 3, e.g. 6/15, 3/15, 0/15. you can change this if you want)

If: %VOLM > 0​

Back.

Press + and select Audio, then Media Volume.

Level: %mediaVolume

(do not check Display or Sound unless you really want to, for a test)​

Back.

Press + and select Alert, then Notify

Title: Volume decreased to %VOLM/15

If: %VOLM < 15

AND

If: %VOLM > 0​

Press + and select Alert, then Notify

Title: Volume at minimum! (%VOLM/15)

If: %VOLM eq 0​

Back.

Press + and select Alert, then Notify Cancel (to automatically remove the notifications on the phone so they don't pile up)

don't change anything, unless you want to​

Back.

Result

Add the application icon (for the Gear 2) by using the button on the bottom-right.

Back (you should be at the task list now).

Press the 3-dotted button on the top-right and select Preferences.

Check the Beginner Mode (or not, if you know how to export apps without).

Back (to the task list).

Press & hold Media Volume Decrease -> 3-dotted button on the top-right -> Export.

(make sure you have installed Tasker App Factory first or you won’t be able to export)​

After the export is done, press the Android robot icon on the bottom-right of the popup.

Install the application.

Open Gear Manager -> Notifications -> select Media Volume Decrease.

(make sure you turn on notifications in the manager for this to work. please see below)

Gear Manager -> Samsung Apps -> Find and install LaunchGear.

Open LaunchGear on the phone and add Media Volume Decrease.

Open LaunchGear on the Gear 2 and test out your new app.

How to turn on notifications on the Gear 2

:

Open “Notifications” in Gear Manager

Uncheck “Limit Notifications”

Press on “0) More Notifications”

Press “Turn On”

Check the box next to “Gear Manager”

Return to “Notifications” in Gear Manager

Scroll down and check the boxes you want to receive notifications from

Check the [Guide] How to set up Galaxy Gear 2 for non Samsung devices for errors.

Volume profiles for the Gear 2

:

Install Volume Profile for tasker and create a profile called Outdoor (as an example).

Edit the Settings of Volume Profile to disable vibration and sound on profile change.

Open Tasker and create a new task and name it: Set outdoor volume profile.

Press + and select Plugin, then Volume Profile -> Configuration: Outdoor.

Back.

Press + and select Alert, then Notify

Title: Outdoor profile set!​

Back.

Press + and select Alert, then Notify Cancel

(to automatically remove the notifications on the phone so they don't pile up)​

Back.

Add the application icon (for the Gear 2) by using the button on the bottom-right.

Back (you should be at the task list now).

Press & hold Set outdoor volume profile -> 3-dotted button on the top-right -> Export.

After the export is done, press the Android robot icon on the bottom-right of the popup.

Install the application.

Open Gear Manager -> Notifications -> select Set outdoor volume profile.

(make sure you turn on notifications in the manager for this to work. please see above)

Gear Manager -> Samsung Apps -> Find and install LaunchGear.

Open LaunchGear on the phone and add Set outdoor volume profile.

Open LaunchGear on the Gear 2 and test out your new volume profile.

Yes, lots of steps but once you create 2-3 apps, everything will seem easier :) Now enjoy your new apps for controlling your phone with your Gear 2 while going for a run!

Similar apps can now be easily created, for example: increasing/decreasing any other type of volumes on the phone (ringer, alarm, notifications, etc.) but the media volume should be the most useful. For complex alarm/ringer settings, use Volume profiles.

Source: my new blog post

UPDATES:

23.07.2014: Added a way to remove the generated notifications on the phone with Tasker (step 11 for the first two apps. step 8 for the last one), so they don't pile up. Thanks [MENTION=1979434]stanguay[/MENTION].