Tasker/TasGear samples

Search This thread

tkjeeper

Senior Member
Jan 24, 2011
3,716
1,513
Correct

TasGear allows 2 way communication between tasker on watch and tasker on phone. Also allows for launching phone tasks from watch
The # things are the variables that zooper uses. Match them up and you'll see that it goes tasker variable intent phone from watch (temp) -> tasker variable on phone (permanent) -> zooper readable variable


GEAR_BATT:%BATT = set GEAR_BATT to system battery level
%G_BATT to %gear_batt = Set system variable to input from intent
#Tg_battery# = User tasker variable in format of #Tvariable#

I hear ya, but this is what I'm left with, not sure what's up, everything looks right to me.

Sent from my SM-N900W8 using xda app-developers app
 

Attachments

  • uploadfromtaptalk1398559253297.jpg
    uploadfromtaptalk1398559253297.jpg
    40.5 KB · Views: 303
  • Like
Reactions: John_wba

kashortiexda

Senior Member
Jan 12, 2011
1,431
893
@David_cole
On host (phone) Tasker. ..
Profile, intent received. .
nu8a8yva.jpg


associated task
u8y7y7u4.jpg


Task 2 ( plugin for UCCW)

a3y4epep.jpg

uzequ4ut.jpg


UCCW widget for phone (uzip)
https://www.dropbox.com/s/pyv28yo25k37akr/Gear Battery.uzip

Sent from my GT-N7100 using Tapatalk

---------- Post added at 05:46 AM ---------- Previous post was at 05:15 AM ----------

I can confirm I have the same problem mate, can you let me know how you get it working :)

Sent from my SM-G900H using XDA Premium 4 mobile app
@tkjeeper @John_wba

Also from your screenshot, try move the suffix (trailing) % with a space
ie Put a space after %gear_batt before you add the descriptive-only percentage suffix
%gear_batt %


Sent from my GT-N7100 using Tapatalk
 
Last edited:
  • Like
Reactions: tkjeeper

Enigma Hall

Member
Nov 4, 2012
27
2
I have a instalation question.

I have the tasker and unknow sources ok. But i cant install tasgear. It shows a package analize error. The galaxy manager is needed? Wren i try install a manager version comes the same error.

Im using a null rom and the device is the galaxy s2
 

tkjeeper

Senior Member
Jan 24, 2011
3,716
1,513
@David_cole
On host (phone) Tasker. ..
Profile, intent received. .
nu8a8yva.jpg


associated task
u8y7y7u4.jpg


Task 2 ( plugin for UCCW)

a3y4epep.jpg

uzequ4ut.jpg


UCCW widget for phone (uzip)
https://www.dropbox.com/s/pyv28yo25k37akr/Gear Battery.uzip

Sent from my GT-N7100 using Tapatalk

---------- Post added at 05:46 AM ---------- Previous post was at 05:15 AM ----------


@tkjeeper @John_wba

Also from your screenshot, try move the suffix (trailing) % with a space
ie Put a space after %gear_batt before you add the descriptive-only percentage suffix
%gear_batt %


Sent from my GT-N7100 using Tapatalk

Its gotta be a problem on the watch side. This is what I get with your method Kash. Bottom right.

Sent from my SM-N900W8 using xda app-developers app
 

Attachments

  • uploadfromtaptalk1398589278859.jpg
    uploadfromtaptalk1398589278859.jpg
    46 KB · Views: 255
  • Like
Reactions: John_wba

Brendo

Senior Member
So, I've not tested this, but in theory, phone battery on gear should look like this:

Phone:
- Add new Profile
- Event -> Display -> Display On
- Add new Task
- Misc -> Send Intent
Action: com.orbonis.gear.tasker.MESSAGE_GEAR
Extra: PHONE_BATT:%BATT


Watch:
- Add new Profile
- Event -> System -> Intent Received
Action: com.orbonis.gear.tasker.consumer.MESSAGE_RECEIVED
- Add new Task
A1) Variable Set
%P_BATT to %phone_batt
A2) Plugin, Zooper, configuration
ZW Variable p_battery
ZW Text %P_BATT
Save

Widget:
Layout -> Rich Text
Edit text manually
#Tp_battery#

This is how it works:
%BATT = 98%
PHONE_BATT = %BATT
%P_BATT = %phone_batt
p_battery = %P_BATT


EDIT: I've tested this and to make it work, you need to select the VAR section of tasker on watch and enter a value into %P_BATT. For some reason a tasker variable will only be set into this variable if there is previous data to overwrite (looks to be Tasker issue). You may also have to exit all the way out of tasker after setting up task on watch
 
Last edited:

ngandjui

Senior Member
Aug 18, 2009
73
13
need help

hi everyone. i am having an issue thatnis ruining my experience with the gear
I am a new owner of a galaxy gear and i have been experiencing some weird issues related to music controls.
the play/pause, volumes up and down butoons works just fine
but the next track and previous track are actually controlling the volume also.
i cant fast rewind when holding the prevous track button and when holding the next track it just pauses the song.
i uploaded a 40 seconds videos to show the behaviour

https://www.youtube.com/watch?v=JmBAzSSV_dk&feature=youtu.be

I am using a samsung galaxy note 3. I dont thing root is the issue coz it was doing the same when it came out of the box. i even factory reset my phone to check if the root on the phone side was the problem but no.

I was wondering if the combination of tasker/taskgear could solve my issue so that when i press the next/previous button on the watch it send the actual command to the phone. i have no experience whatsoever with tasker and i have been trying for days to do that.

PLEASE HELP
 

John_wba

Senior Member
Jul 20, 2013
1,297
1,001
Birmingham
www.pornhub.com
Its gotta be a problem on the watch side. This is what I get with your method Kash. Bottom right.

Sent from my SM-N900W8 using xda app-developers app

I managed to get it working mate the error was not putting a space between GEAR_BATT: %BATT on the watch tasker. Hopefully the instructions can now be updated to help anybody else who got it wrong :)

Sent from my SM-G900H using XDA Premium 4 mobile app
 

John_wba

Senior Member
Jul 20, 2013
1,297
1,001
Birmingham
www.pornhub.com
Manged to make my own widget, but I'd like the white area to match my wallpaper, but I've tries everything and no go :(

Sent from my SM-G900H using XDA Premium 4 mobile app
 

Attachments

  • 1398616731251.jpg
    1398616731251.jpg
    49.2 KB · Views: 213
  • Like
Reactions: David_cole

tkjeeper

Senior Member
Jan 24, 2011
3,716
1,513
I managed to get it working mate the error was not putting a space between GEAR_BATT: %BATT on the watch tasker. Hopefully the instructions can now be updated to help anybody else who got it wrong :)

Sent from my SM-G900H using XDA Premium 4 mobile app

Ok, progress for you then. I'm probably going to start over. I've got combos now of kashortiexda, and Brendo. So to be clear, you used the screen shots on the previous page of this thread? Or the first page? Good work, and thanks. And are you using uccw or zooper? More info the better.
 
Last edited:
  • Like
Reactions: David_cole

John_wba

Senior Member
Jul 20, 2013
1,297
1,001
Birmingham
www.pornhub.com
After some testing the whole purpose of sending the gear battery to the phone is doubtful, as it only updates to the new % when you turn on the watch screen, thus defeating the point of having it shown on the phone as it's displaying old values.

Sent from my SM-G900H using XDA Premium 4 mobile app
 

lazer9

Senior Member
Oct 17, 2007
2,509
856
57
Hermitage, PA
Samsung Galaxy S22 Ultra
So, I've not tested this, but in theory, phone battery on gear should look like this:

Phone:
- Add new Profile
- Event -> Display -> Display On
- Add new Task
- Misc -> Send Intent
Action: com.orbonis.gear.tasker.MESSAGE_GEAR
Extra: PHONE_BATT:%BATT

ny8k8p.png



Watch:
- Add new Profile
- Event -> System -> Intent Received
Action: com.orbonis.gear.tasker.consumer.MESSAGE_RECEIVED
- Add new Task
A1) Variable Set
%P_BATT to %phone_batt
A2) Plugin, Zooper, configuration
ZW Variable p_battery
ZW Text %P_BATT
Save

20ucosj.png


Widget:
Layout -> Rich Text
Edit text manually
#Tp_battery#

amxwsm.png


This is how it works:
%BATT = 98%
PHONE_BATT = %BATT
%P_BATT = %phone_batt
p_battery = %P_BATT

Thanks! But I'm not getting this to show on the widget other than my % sign I threw in there. The numerical readout is blanked? I've inserted screenshots of my setup respectively. Any idea where I might be going wrong?

10zmdyb.png
 

John_wba

Senior Member
Jul 20, 2013
1,297
1,001
Birmingham
www.pornhub.com
Ok, progress for you then. I'm probably going to start over. I've got combos now of kashortiexda, and Brendo. So to be clear, you used the screen shots on the previous page of this thread? Or the first page? Good work, and thanks. And are you using uccw or zooper? More info the better.

Previous page, but that isn't where your issues lie I don't think mate. You need to change the wording on gear side from GEAR_BATT:%BATT to GEAR_BATT: %BATT (add the space) :D

Edit: I'm using UCCW as it has more options

Sent from my SM-G900H using XDA Premium 4 mobile app
 
Last edited:
  • Like
Reactions: David_cole

David_cole

Senior Member
Dec 23, 2013
149
56
Previous page, but that isn't where your issues lie I don't think mate. You need to change the wording on gear side from GEAR_BATT:%BATT to GEAR_BATT: %BATT (add the space) :D

Sent from my SM-G900H using XDA Premium 4 mobile app

Yes it's workin at long last thanks man it was startin to p1ss me off haha
 

tkjeeper

Senior Member
Jan 24, 2011
3,716
1,513
Holy CRAP! FInally! Thanks guys. Now to tweak the widget. Thanks so much guys. Not that big a deal but frustrating!! Thanks again.
 

tkjeeper

Senior Member
Jan 24, 2011
3,716
1,513
Mine really quick.

Sent from my SM-N900W8 using xda app-developers app
 

Attachments

  • uploadfromtaptalk1398622282369.jpg
    uploadfromtaptalk1398622282369.jpg
    42.6 KB · Views: 194

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Post your ideas and thoughts for others

    Required apps:
    TasGear: http://xdaforums.com/showthread.php?t=2707248
    Tasker (PAID): https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

    NOTE: Tasker is a very complex, yet rewarding app. I'd suggest reading up on tutorials (a few links in post 2) and playing around with profiles/tasks/variables before attempting examples below
    6
    A simple example is Gear Battery displayed on Phone
    I use ZooperWidget (there is a FREE version available too)
    Make sure you've enabled external access in Tasker preferences

    Widget.jpg

    Phone:
    - Add new Profile
    - Event -> System -> Intent Received
    Action:com.orbonis.gear.tasker.MESSAGE_RECEIVED
    - Add new Task
    P_Task.png
    A1) Variable Set
    %G_BATT to %gear_batt
    A2) Plugin, Zooper, configuration
    Z_Var.png
    ZW Variable g_battery
    ZW Text %G_BATT
    Save

    Watch:
    - Add new Profile
    - Event -> Display -> Display On
    - Add new Task
    - Misc -> Send Intent
    Action:com.orbonis.gear.tasker.consumer.MESSAGE_HOST
    Extra: GEAR_BATT:%BATT

    (Note: there is not meant to be a space between o and s of HOST)
    (Note: some users found that inserting a space between the : and % of the extra helps)

    Widget:
    Z.png
    Layout -> Rich Text
    Edit text manually
    #Tg_battery#

    Eg.
    Gear Battery: #Tg_battery#%
    This displays:
    Gear Battery: 54%
    5
    So, I've not tested this, but in theory, phone battery on gear should look like this:

    Phone:
    - Add new Profile
    - Event -> Display -> Display On
    - Add new Task
    - Misc -> Send Intent
    Action: com.orbonis.gear.tasker.MESSAGE_GEAR
    Extra: PHONE_BATT:%BATT


    Watch:
    - Add new Profile
    - Event -> System -> Intent Received
    Action: com.orbonis.gear.tasker.consumer.MESSAGE_RECEIVED
    - Add new Task
    A1) Variable Set
    %P_BATT to %phone_batt
    A2) Plugin, Zooper, configuration
    ZW Variable p_battery
    ZW Text %P_BATT
    Save

    Widget:
    Layout -> Rich Text
    Edit text manually
    #Tp_battery#

    This is how it works:
    %BATT = 98%
    PHONE_BATT = %BATT
    %P_BATT = %phone_batt
    p_battery = %P_BATT


    EDIT: I've tested this and to make it work, you need to select the VAR section of tasker on watch and enter a value into %P_BATT. For some reason a tasker variable will only be set into this variable if there is previous data to overwrite (looks to be Tasker issue). You may also have to exit all the way out of tasker after setting up task on watch
    5
    I have few that I use that are pretty basic but if you are interested I'll post how I did it.

    - Turn my pc on or off from my gear.
    - Silence my phone - sends me a notification letting me know if the phone is in fact in silent mode.
    - Phone battery - my gear speaks my phone battery level. I downloaded the hd British male voice so it sounds like jarvis. He says "my reserves are at 'blank'% sir" also if my battery is above 90% he'll say "very good sir" and if it's below 30% he'll say "I could do with a little more juice sir"
    - Take a picture with my phones front camera.
    - Then for a prank I can hide my phone and then have it play fart sounds controlled remotely from my gear. It makes for a good laugh. I've scared my wife with it a bunch.

    Sent from my SPH-L900 using XDA Premium 4 mobile app